Function at 0x4e8b60
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575476
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x8ac
mov eax, dword [0x5d3640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x864], ecx
mov byte [ebp - 0x866], 0
mov dword [ebp - 0x874], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4e8bc6
mov eax, dword [ebp + 8]
push eax
call fcn.005349c5
add esp, 4
test eax, eax
jne 0x4e8be1
mov dword [ebp - 0x890], 6
push 0x5c7f44
lea ecx, [ebp - 0x890]
push ecx
call fcn.0051eb68
mov ecx, dword [ebp - 0x864]
call fcn.004e9780
push 0
push 0
push 0
push 0
push 0x5914a8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x864]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x864]
cmp dword [eax + 0xc], 0
jne 0x4e8c2f
mov dword [ebp - 0x894], 1
push 0x5c7f44
lea ecx, [ebp - 0x894]
push ecx
call fcn.0051eb68
mov edx, 0x50
mov word [ebp - 0x86c], dx
lea ecx, [ebp - 0x860]
call fcn.00418630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.00418630
mov byte [ebp - 4], 2
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x848]
push ecx
lea edx, [ebp - 0x860]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e9440
add esp, 0x10
movzx ecx, word [ebp - 0x86c]
cmp ecx, 0x1bb
jne 0x4e8c93
mov edx, dword [ebp - 0x864]
mov byte [edx + 8], 1
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x860]
call fcn.004ea2b0
push eax
mov ecx, dword [ebp - 0x864]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x864]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x864]
cmp dword [edx + 0x10], 0
jne 0x4e8cf1
mov dword [ebp - 0x898], 2
push 0x5c7f44
lea eax, [ebp - 0x898]
push eax
call fcn.0051eb68
mov dword [ebp - 0x884], VariantCopy
mov ecx, dword [ebp - 0x864]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x4e8d1a
mov eax, dword [ebp - 0x884]
or eax, 0x802000
mov dword [ebp - 0x884], eax
push 0
mov ecx, dword [ebp - 0x884]
push ecx
push 0
push 0
push 0x5914c4
lea ecx, [ebp - 0x848]
call fcn.004ea2b0
push eax
push 0x5914d8
mov edx, dword [ebp - 0x864]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x864]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x864]
cmp dword [edx + 0x14], 0
jne 0x4e8d7d
mov dword [ebp - 0x89c], 1
push 0x5c7f44
lea eax, [ebp - 0x89c]
push eax
call fcn.0051eb68
lea ecx, [ebp - 0x830]
push ecx
mov ecx, dword [ebp - 0x864]
add ecx, 0x18
call fcn.004ef880
mov dword [ebp - 0x8b8], eax
mov byte [ebp - 4], 3
push 0xa0000000
lea ecx, [ebp - 0x830]
call fcn.004ea350
push eax
lea ecx, [ebp - 0x830]
call fcn.004ea290
push eax
mov edx, dword [ebp - 0x864]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x864]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x878], 0
jne 0x4e8e0b
mov dword [ebp - 0x8a0], 3
push 0x5c7f44
lea eax, [ebp - 0x8a0]
push eax
call fcn.0051eb68
push 0x802
push 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.0051f6b0
add esp, 0xc
mov dword [ebp - 0x87c], 0x400
mov ecx, dword [ebp - 0x864]
call fcn.004e9700
mov dword [ebp - 0x8a4], eax
mov edx, dword [ebp - 0x864]
mov eax, dword [ebp - 0x8a4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x864]
cmp dword [ecx + 4], 0x194
jne 0x4e8e75
mov dword [ebp - 0x8a8], 5
push 0x5c7f44
lea edx, [ebp - 0x8a8]
push edx
call fcn.0051eb68
push 0
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x818]
push ecx
push 5
mov edx, dword [ebp - 0x864]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x878], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x2f76
je 0x4e8eb6
mov dword [ebp - 0x888], 1
jmp 0x4e8ec0
mov dword [ebp - 0x888], 0
mov cl, byte [ebp - 0x888]
mov byte [ebp - 0x865], cl
cmp dword [ebp - 0x878], 0
jne 0x4e8efb
movzx edx, byte [ebp - 0x865]
test edx, edx
je 0x4e8efb
mov dword [ebp - 0x8ac], 4
push 0x5c7f44
lea eax, [ebp - 0x8ac]
push eax
call fcn.0051eb68
mov dword [ebp - 0x870], 0
movzx ecx, byte [ebp - 0x865]
test ecx, ecx
je 0x4e8f88
mov edx, dword [ebp - 0x87c]
shl edx, 1
mov dword [ebp - 0x88c], edx
cmp dword [ebp - 0x88c], 0x802
jae 0x4e8f2c
jmp 0x4e8f31
call fcn.005105cc
xor eax, eax
mov ecx, dword [ebp - 0x88c]
mov word [ebp + ecx - 0x818], ax
lea edx, [ebp - 0x818]
push edx
call fcn.00537ec1
add esp, 4
mov dword [ebp - 0x870], eax
cmp dword [ebp - 0x870], 0x800000
jg 0x4e8f6b
cmp dword [ebp - 0x870], 0
jge 0x4e8f86
mov dword [ebp - 0x8b0], 0xc
push 0x5c7f44
lea eax, [ebp - 0x8b0]
push eax
call fcn.0051eb68
jmp 0x4e8f92
mov dword [ebp - 0x870], 0x800000
mov ecx, dword [ebp - 0x870]
push ecx
call fcn.00534202
add esp, 4
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x880], 0
mov edx, 1
test edx, edx
je 0x4e9013
lea eax, [ebp - 0x87c]
push eax
mov ecx, dword [ebp - 0x870]
push ecx
mov edx, dword [ebp - 0x874]
add edx, dword [ebp - 0x880]
push edx
mov eax, dword [ebp - 0x864]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x878], 0
je 0x4e8ffd
cmp dword [ebp - 0x87c], 0
jne 0x4e8fff
jmp 0x4e9013
mov edx, dword [ebp - 0x880]
add edx, dword [ebp - 0x87c]
mov dword [ebp - 0x880], edx
jmp 0x4e8fb1
movzx eax, byte [ebp - 0x865]
test eax, eax
je 0x4e9047
mov ecx, dword [ebp - 0x870]
cmp ecx, dword [ebp - 0x880]
je 0x4e9047
mov dword [ebp - 0x8b4], 8
push 0x5c7f44
lea edx, [ebp - 0x8b4]
push edx
call fcn.0051eb68
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x874]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x880]
mov dword [edx], eax
mov byte [ebp - 0x866], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x830]
call fcn.0040d060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.004046e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x860]
call fcn.004046e0
jmp 0x4e90ca
mov dword [ebp - 4], 0xffffffff
jmp 0x4e90da
mov al, byte [ebp - 0x866]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00510479
mov esp, ebp
pop ebp
ret 0xc