Function at 0x4c6532
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed598
push 0x489ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x2edc
call fcn.00486a70
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x2ef0], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2dd4], 0
mov dword [ebp - 0x2dd8], 0
mov byte [ebp - 0x2ccc], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2ccb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1f70], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1f6f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x2dd0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2dcf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x2bc8], 0
mov ecx, 0x315
xor eax, eax
lea edi, [ebp - 0x2bc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1e6c], 0
mov ecx, 0x793
xor eax, eax
lea edi, [ebp - 0x1e6b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x2ddc], 0
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax], 0
je 0x4c661a
cmp dword [ebp + 8], 0
jne 0x4c6621
xor eax, eax
jmp 0x4c6f35
mov dword [ebp - 4], 0
mov ecx, dword [0x5106a8]
cmp dword [ecx + 4], 0
jne 0x4c6650
mov dword [ebp - 0x2ef4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2ef4]
jmp 0x4c6f35
mov edx, dword [0x5106a8]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x848], 3
je 0x4c66eb
mov ecx, dword [ebp - 0x2ef0]
cmp dword [ecx + 0x848], 4
je 0x4c66eb
mov edx, dword [ebp - 0x2ef0]
add edx, 0x848
push edx
mov ecx, dword [ebp - 0x2ef0]
call fcn.004c83a2
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c66c1
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x848], 4
je 0x4c66c1
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x848], 3
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x848], 4
jne 0x4c66e1
mov ecx, dword [ebp - 0x2ef0]
call fcn.004c8b20
mov dword [ebp - 0x2dd4], eax
mov dword [ebp - 0x2dd4], 0
mov eax, dword [0x5106a8]
mov dword [eax + 4], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x73c], eax
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x73c], 0
jne 0x4c673b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd8], eax
mov dword [ebp - 0x2dd4], 0x2001c042
jmp 0x4c6e5d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x740], eax
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x740], 0
jne 0x4c677f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd8], eax
mov dword [ebp - 0x2dd4], 0x2001c042
jmp 0x4c6e5d
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x848], 4
je 0x4c68c6
push 1
lea ecx, [ebp - 0x2ddc]
push ecx
lea edx, [ebp - 0x1f70]
push edx
push str.z_La4_8D2A64lA_1HaD_y84_I.
call fcn.004cc2c9
test eax, eax
jne 0x4c67bf
mov dword [ebp - 0x2dd4], 0x2001c011
jmp 0x4c6e5d
push 1
lea eax, [ebp - 0x2ddc]
push eax
lea ecx, [ebp - 0x2dd0]
push ecx
push 0x509414
call fcn.004cc2c9
test eax, eax
jne 0x4c67ec
mov dword [ebp - 0x2dd4], 0x2001c011
jmp 0x4c6e5d
push 2
push 0x4000000
push 0
push 0
push 0
lea edx, [ebp - 0x1f70]
push edx
lea eax, [ebp - 0x2dd0]
push eax
mov ecx, dword [ebp - 0x2ef0]
mov edx, dword [ecx + 0x730]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x734], eax
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x734], 0
jne 0x4c6893
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0x3e5
je 0x4c6852
jmp 0x4c6e5d
push 0x3e8
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c6893
cmp dword [ebp - 0x2dd4], 0xffffffff
jne 0x4c688e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd4], eax
jmp 0x4c6e5d
lea edx, [ebp - 0x2bc8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2ef0]
call fcn.004ca4a0
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c68c1
jmp 0x4c6e5d
jmp 0x4c69f9
push 1
lea edx, [ebp - 0x2ddc]
push edx
lea eax, [ebp - 0x1f70]
push eax
push str.E_CAA1SAD6c_IaEE_c_KA__l2H__S8____lHaA__D_..
call fcn.004cc2c9
test eax, eax
jne 0x4c68f3
mov dword [ebp - 0x2dd4], 0x2001c011
jmp 0x4c6e5d
push 1
lea ecx, [ebp - 0x2ddc]
push ecx
lea edx, [ebp - 0x2dd0]
push edx
push 0x50945c
call fcn.004cc2c9
test eax, eax
jne 0x4c6920
mov dword [ebp - 0x2dd4], 0x2001c011
jmp 0x4c6e5d
push 2
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x1f70]
push eax
lea ecx, [ebp - 0x2dd0]
push ecx
mov edx, dword [ebp - 0x2ef0]
mov eax, dword [edx + 0x730]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x734], eax
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x734], 0
jne 0x4c69c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0x3e5
je 0x4c6986
jmp 0x4c6e5d
push 0x3e8
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c69c7
cmp dword [ebp - 0x2dd4], 0xffffffff
jne 0x4c69c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd4], eax
jmp 0x4c6e5d
lea edx, [ebp - 0x1e6c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2ef0]
call fcn.004caa50
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c69f9
jmp 0x4c6e5d
mov dword [ebp - 0x2de0], str.__H8__A8___c:Lt:_z_L8c_:_lHaA2vd2DD_5_DLad_E___A84_S_1:.
push 1
lea eax, [ebp - 0x2ddc]
push eax
lea ecx, [ebp - 0x2ccc]
push ecx
mov edx, dword [ebp - 0x2de0]
push edx
call fcn.004cc2c9
test eax, eax
jne 0x4c6a32
mov dword [ebp - 0x2dd4], 0x2001c020
jmp 0x4c6e5d
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x848], 4
je 0x4c6a94
mov dword [ebp - 0x2e84], 0
lea ecx, [ebp - 0x2bc8]
push ecx
call fcn.0048ded0
add esp, 4
mov dword [ebp - 0x2e84], eax
mov edx, dword [ebp - 0x2e84]
push edx
lea eax, [ebp - 0x2bc8]
push eax
mov ecx, dword [ebp - 0x2ddc]
push ecx
lea edx, [ebp - 0x2ccc]
push edx
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x734]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x1c], eax
jmp 0x4c6ae5
mov dword [ebp - 0x2e88], 0
lea edx, [ebp - 0x1e6c]
push edx
call fcn.0048ded0
add esp, 4
mov dword [ebp - 0x2e88], eax
mov eax, dword [ebp - 0x2e88]
push eax
lea ecx, [ebp - 0x1e6c]
push ecx
mov edx, dword [ebp - 0x2ddc]
push edx
lea eax, [ebp - 0x2ccc]
push eax
mov ecx, dword [ebp - 0x2ef0]
mov edx, dword [ecx + 0x734]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4c6b53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd8], eax
cmp dword [ebp - 0x2dd8], 0x3e5
je 0x4c6b12
mov dword [ebp - 0x2dd4], 0x2001c04c
jmp 0x4c6e5d
push 0x3e8
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x740]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2dd4], eax
cmp dword [ebp - 0x2dd4], 0
je 0x4c6b53
cmp dword [ebp - 0x2dd4], 0xffffffff
jne 0x4c6b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2dd4], eax
jmp 0x4c6e5d
mov dword [ebp - 0x2dd4], 0
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0xa64], 1
jne 0x4c6b7b
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x848], 4
je 0x4c6b80
jmp 0x4c6e5d
mov dword [ebp - 0x2e80], 0
mov dword [ebp - 0x2e10], 0
mov dword [ebp - 0x2e14], 4
push 0
lea ecx, [ebp - 0x2e14]
push ecx
lea edx, [ebp - 0x2e10]
push edx
push 0x20000013
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x734]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x4c6bea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2e80], eax
mov dword [ebp - 0x2dd4], 0x2001c048
jmp 0x4c6e5d
push 0x64
push 0
lea edx, [ebp - 0x2e7c]
push edx
call fcn.00486aa0
add esp, 0xc
mov dword [ebp - 0x2e14], 0x64
push 0
lea eax, [ebp - 0x2e14]
push eax
lea ecx, [ebp - 0x2e7c]
push ecx
push 0x14
mov edx, dword [ebp - 0x2ef0]
mov eax, dword [edx + 0x734]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x4c6c50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2e80], eax
mov dword [ebp - 0x2dd4], 0x2001c048
jmp 0x4c6e5d
mov dword [ebp - 0x2de4], 0
mov dword [ebp - 0x2e18], 0
push 0x28
push 0
lea ecx, [ebp - 0x2eb0]
push ecx
call fcn.00486aa0
add esp, 0xc
mov dword [ebp - 0x2eb0], 0x28
lea edx, [ebp - 0x2e0c]
mov dword [ebp - 0x2e9c], edx
mov dword [ebp - 0x2e98], 0x27
push 2
push 0
lea eax, [ebp - 0x2eb0]
push eax
mov ecx, dword [ebp - 0x2ef0]
mov edx, dword [ecx + 0x734]
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x4c6ce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4c6cdd
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x740]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4c6ce2
jmp 0x4c6e5d
mov edx, dword [ebp - 0x2e18]
add edx, 1
mov dword [ebp - 0x2e18], edx
cmp dword [ebp - 0x2e98], 0
jne 0x4c6dfb
mov dword [ebp - 0x2de4], 1
mov byte [ebp - 0x2ecc], 0
xor eax, eax
mov dword [ebp - 0x2ecb], eax
mov dword [ebp - 0x2ec7], eax
mov dword [ebp - 0x2ec3], eax
mov dword [ebp - 0x2ebf], eax
mov word [ebp - 0x2ebb], ax
mov byte [ebp - 0x2eb9], al
mov byte [ebp - 0x2ee0], 0
xor ecx, ecx
mov dword [ebp - 0x2edf], ecx
mov dword [ebp - 0x2edb], ecx
mov dword [ebp - 0x2ed7], ecx
mov dword [ebp - 0x2ed3], ecx
mov word [ebp - 0x2ecf], cx
mov byte [ebp - 0x2ecd], cl
mov byte [ebp - 0x2eb4], 0x7c
mov byte [ebp - 0x2eb3], 0
push 0x14
lea edx, [ebp - 0x2ee0]
push edx
push 0x14
lea eax, [ebp - 0x2ecc]
push eax
push 0x5094ac
lea ecx, [ebp - 0x2e0c]
push ecx
mov ecx, dword [ebp - 0x2ef0]
call fcn.004c82b7
mov dword [ebp - 0x2eb8], eax
cmp dword [ebp - 0x2eb8], 0
je 0x4c6db6
cmp dword [ebp - 0x2eb8], 0x2001c022
jne 0x4c6dfb
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0xa68], 0
jne 0x4c6de0
lea eax, [ebp - 0x2ecc]
push eax
call fcn.0048614b
add esp, 4
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0xa68], eax
lea edx, [ebp - 0x2ee0]
push edx
call fcn.0048614b
add esp, 4
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0xa6c], eax
mov edx, dword [ebp - 0x2e98]
mov byte [ebp + edx - 0x2e0c], 0
cmp dword [ebp - 0x2de4], 0
je 0x4c6c64
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0xa6c], 1
jne 0x4c6e5d
mov ecx, dword [ebp - 0x2ef0]
cmp dword [ecx + 0xa68], 0
je 0x4c6e5d
mov dword [ebp - 0x2ee8], 0
lea edx, [ebp - 0x2ee8]
push edx
lea eax, [ebp - 0x2e80]
push eax
mov ecx, dword [ebp - 0x2ef0]
call fcn.004c9f09
mov dword [ebp - 0x2ee4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4c6e99
mov edx, dword [ebp - 0x2ef0]
cmp dword [edx + 0x734], 0
je 0x4c6ecb
mov eax, dword [ebp - 0x2ef0]
mov ecx, dword [eax + 0x734]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x2ef0]
mov dword [edx + 0x734], 0
mov eax, dword [ebp - 0x2ef0]
cmp dword [eax + 0x73c], 0
je 0x4c6efd
mov ecx, dword [ebp - 0x2ef0]
mov edx, dword [ecx + 0x73c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2ef0]
mov dword [eax + 0x73c], 0
mov ecx, dword [ebp - 0x2ef0]
cmp dword [ecx + 0x740], 0
je 0x4c6f2f
mov edx, dword [ebp - 0x2ef0]
mov eax, dword [edx + 0x740]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2ef0]
mov dword [ecx + 0x740], 0
mov eax, dword [ebp - 0x2dd4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc