Function at 0x4e8a90
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 0x574491
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10c0
call fcn.0050f7d0
mov eax, dword [0x5d2640]
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 - 0x107c], ecx
mov dword [ebp - 0x10a0], 0
lea ecx, [ebp - 0x1078]
call fcn.0041eac0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x4e8b02
mov eax, dword [ebp + 0xc]
push eax
call fcn.00533ad0
add esp, 4
test eax, eax
jne 0x4e8b1d
mov dword [ebp - 0x10a4], 0xe
push 0x5c6dc4
lea ecx, [ebp - 0x10a4]
push ecx
call fcn.0051db86
mov ecx, dword [ebp - 0x107c]
call fcn.004e8a20
push 0
push 0
push 0
push 0
push 0x5903dc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x107c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x107c]
cmp dword [eax + 0xc], 0
jne 0x4e8b6b
mov dword [ebp - 0x10a8], 1
push 0x5c6dc4
lea ecx, [ebp - 0x10a8]
push ecx
call fcn.0051db86
mov edx, 0x50
mov word [ebp - 0x1080], dx
lea ecx, [ebp - 0x1060]
call fcn.0041eac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1048]
call fcn.0041eac0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x1060]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e8420
add esp, 0x10
movzx ecx, word [ebp - 0x1080]
cmp ecx, 0x1bb
jne 0x4e8bcf
mov edx, dword [ebp - 0x107c]
mov byte [edx + 8], 1
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1060]
call fcn.004e9530
push eax
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x107c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x107c]
cmp dword [edx + 0x10], 0
jne 0x4e8c2d
mov dword [ebp - 0x10ac], 2
push 0x5c6dc4
lea eax, [ebp - 0x10ac]
push eax
call fcn.0051db86
mov dword [ebp - 0x108c], SysStringLen
mov ecx, dword [ebp - 0x107c]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x4e8c56
mov eax, dword [ebp - 0x108c]
or eax, 0x802000
mov dword [ebp - 0x108c], eax
cmp dword [ebp + 0x10], 0
jne 0x4e8c68
mov dword [ebp - 0x1090], 0x590404
jmp 0x4e8c72
mov dword [ebp - 0x1090], 0x590408
push 0
mov ecx, dword [ebp - 0x108c]
push ecx
push 0
push 0
push 0x5903f8
lea ecx, [ebp - 0x1048]
call fcn.004e9530
push eax
mov edx, dword [ebp - 0x1090]
push edx
mov eax, dword [ebp - 0x107c]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x107c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x107c]
cmp dword [eax + 0x14], 0
jne 0x4e8cd7
mov dword [ebp - 0x10b0], 1
push 0x5c6dc4
lea ecx, [ebp - 0x10b0]
push ecx
call fcn.0051db86
mov dword [ebp - 0x1084], 0
cmp dword [ebp + 0x18], 0
jne 0x4e8cf3
mov dword [ebp - 0x1094], 0
jmp 0x4e8d05
mov edx, dword [ebp + 0x18]
push edx
call fcn.00533ad0
add esp, 4
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp - 0x1094]
mov dword [ebp - 0x10b8], eax
cmp dword [ebp + 0x14], 0
jne 0x4e8d23
mov dword [ebp - 0x1098], 0
jmp 0x4e8d35
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00533ad0
add esp, 4
mov dword [ebp - 0x1098], eax
mov edx, dword [ebp - 0x1098]
mov dword [ebp - 0x10b4], edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x107c]
add ecx, 0x18
call fcn.004eeb20
mov dword [ebp - 0x10c8], eax
mov byte [ebp - 4], 4
push 0xa0000000
lea ecx, [ebp - 0x1030]
call fcn.004e95f0
push eax
lea ecx, [ebp - 0x1030]
call fcn.004e9530
push eax
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebp - 0x10b4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10b8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 0
jne 0x4e8ddd
mov dword [ebp - 0x10bc], 3
push 0x5c6dc4
lea eax, [ebp - 0x10bc]
push eax
call fcn.0051db86
mov ecx, dword [ebp - 0x107c]
call fcn.004e89a0
mov dword [ebp - 0x10c0], eax
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ebp - 0x10c0]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x107c]
cmp dword [eax + 4], 0x194
jne 0x4e8e27
mov dword [ebp - 0x10c4], 5
push 0x5c6dc4
lea ecx, [ebp - 0x10c4]
push ecx
call fcn.0051db86
push 0x1001
push 0
lea edx, [ebp - 0x1018]
push edx
call fcn.0051e6d0
add esp, 0xc
mov dword [ebp - 0x1088], 0x1000
mov eax, 1
test eax, eax
je 0x4e8edc
lea ecx, [ebp - 0x1088]
push ecx
push 0x1000
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 0x107c]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 0
je 0x4e8e8f
cmp dword [ebp - 0x1088], 0
jne 0x4e8e91
jmp 0x4e8edc
mov edx, dword [ebp - 0x1088]
mov dword [ebp - 0x109c], edx
cmp dword [ebp - 0x109c], 0x1001
jae 0x4e8eab
jmp 0x4e8eb0
call fcn.0050f5e9
mov eax, dword [ebp - 0x109c]
mov byte [ebp + eax - 0x1018], 0
mov ecx, dword [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x1018]
push edx
lea ecx, [ebp - 0x1078]
call fcn.0040f750
jmp 0x4e8e47
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1030]
call fcn.0040d060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1048]
call fcn.0040d060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1060]
call fcn.0040d060
jmp 0x4e8f2c
mov dword [ebp - 4], 0
jmp 0x4e8f3c
lea edx, [ebp - 0x1078]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040bee0
mov eax, dword [ebp - 0x10a0]
or eax, 1
mov dword [ebp - 0x10a0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1078]
call fcn.0040d060
mov eax, dword [ebp + 8]
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.0050f496
mov esp, ebp
pop ebp
ret 0x14