Function at 0x4eeea4
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 ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4eeead
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0040bb38
mov eax, dword [ebp + 0x1c]
call fcn.0040bb38
mov eax, dword [ebp + 0x18]
call fcn.0040bb38
mov eax, dword [ebp + 0x14]
call fcn.0040bb38
mov eax, dword [ebp + 0x10]
call fcn.0040bb38
mov eax, dword [ebp + 0xc]
call fcn.0040bb38
mov eax, dword [ebp + 8]
call fcn.0040bb38
xor eax, eax
push ebp
push 0x4ef4de
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp + 0x20]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x90]
xor eax, eax
call fcn.004076e4
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00424010
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x20]
mov ecx, 0
call fcn.0040c560
cmp dword [ebp + 0x14], 0
setne byte [ebp - 0x51]
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x48], eax
cmp byte [ebp - 0x51], 0
je 0x4eef90
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x14]
call fcn.0040bf0c
cmp dword [ebp + 0x10], 0
je 0x4eef89
push dword [ebp - 0x30]
push 0x4ef4fc
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040c2e4
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x4c], 3
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x24]
call fcn.0040ba58
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x10]
call fcn.0040c7f4
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00422a3c
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov ecx, 1
mov edx, dword [ebp - 0x58]
mov eax, 0x4ef50c
call fcn.0040cb9c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 7
cmp dword [ebp - 0x38], 0
jne 0x4ef04b
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.0040c7f4
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.00422a3c
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x60], eax
mov ecx, 1
mov edx, dword [ebp - 0x60]
mov eax, 0x4ef528
call fcn.0040cb9c
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x4ef044
mov dword [ebp - 0x50], 0x800000
mov dword [ebp - 0x3c], 8
cmp dword [ebp - 0x38], 0
jle 0x4ef0a0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040c43c
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
jno 0x4ef072
call fcn.004098b4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4ef08c
mov eax, dword [ebp - 0x68]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.0040c43c
jmp 0x4ef0ab
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040bf0c
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x2c]
call fcn.0040c7f4
mov edx, dword [ebp - 0xa4]
mov ecx, 1
mov eax, 0x4ef548
call fcn.0040cb9c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x4ef126
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 1
jno 0x4ef0ee
call fcn.004098b4
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040c43c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4ef112
mov eax, dword [ebp - 0x74]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
call fcn.0040c43c
jmp 0x4ef139
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040bf0c
lea eax, [ebp - 0x2c]
call fcn.0040ba58
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0x28]
call fcn.0040c7f4
mov edx, dword [ebp - 0xa8]
mov ecx, 1
mov eax, 0x4ef558
call fcn.0040cb9c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x4ef1f1
mov eax, dword [ebp - 0x38]
add eax, 1
jno 0x4ef17c
call fcn.004098b4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4ef196
mov eax, dword [ebp - 0x7c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x28]
call fcn.0040c43c
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
call fcn.0040c7f4
mov eax, dword [ebp - 0xac]
call fcn.004237c0
test eax, eax
jns 0x4ef1d0
call fcn.004098ac
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 1
jno 0x4ef1e4
call fcn.004098b4
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040c43c
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0040c42c
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040c42c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ef228
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
jmp 0x4ef486
cmp dword [ebp + 0xc], 0
jne 0x4ef267
cmp dword [ebp + 8], 0
jne 0x4ef267
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
cmp eax, 0xffff
jbe 0x4ef24f
call fcn.004098ac
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040c42c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
jmp 0x4ef2a6
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 8]
call fcn.0040c42c
push eax
mov eax, dword [ebp + 0xc]
call fcn.0040c42c
push eax
mov eax, dword [ebp - 0x48]
cmp eax, 0xffff
jbe 0x4ef290
call fcn.004098ac
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040c42c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ef2c2
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
push ebp
call fcn.004eee78
pop ecx
jmp 0x4ef486
push 0
push 0x400000
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.0040c42c
push eax
push 0x4ef55c
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ef305
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
push ebp
call fcn.004eee78
pop ecx
jmp 0x4ef486
cmp byte [ebp - 0x51], 0
je 0x4ef3a9
cmp dword [ebp + 0x1c], 0
je 0x4ef35c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x4ef338
mov eax, dword [ebp - 0x84]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
test eax, eax
jns 0x4ef347
call fcn.004098ac
push eax
mov eax, dword [ebp + 0x1c]
call fcn.0040c42c
push eax
push 0x2b
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp dword [ebp + 0x18], 0
je 0x4ef3a9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4ef385
mov eax, dword [ebp - 0x88]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
test eax, eax
jns 0x4ef394
call fcn.004098ac
push eax
mov eax, dword [ebp + 0x18]
call fcn.0040c42c
push eax
push 0x2c
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x4ef3d4
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
push ebp
call fcn.004eee78
pop ecx
jmp 0x4ef486
lea eax, [ebp - 0x34]
call fcn.0040ba58
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x1000
call fcn.0040c4e8
lea eax, [ebp - 0x40]
push eax
push 0x1000
lea eax, [ebp - 0x30]
call fcn.0040c008
mov edx, 1
dec edx
test eax, eax
je 0x4ef40b
cmp edx, dword [eax - 4]
jb 0x4ef410
call fcn.004098ac
inc edx
lea eax, [eax + edx - 1]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x4ef436
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
push ebp
call fcn.004eee78
pop ecx
jmp 0x4ef486
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
call fcn.0040c4e8
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.0040c208
cmp dword [ebp - 0x40], 0
jne 0x4ef3dc
push ebp
call fcn.004eee78
pop ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
call fcn.0040bec0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x34]
call fcn.00411b74
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x18]
call fcn.0040c814
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef4e5
lea eax, [ebp - 0xb4]
call fcn.0040ba7c
lea eax, [ebp - 0xb0]
call fcn.0040ba58
lea eax, [ebp - 0xac]
mov edx, 9
call fcn.0040ba94
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.0040bacc
lea eax, [ebp - 0x10]
call fcn.0040ba58
lea eax, [ebp + 8]
mov edx, 6
call fcn.0040bacc
pop eax
jmp eax