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

Disassembly:
push 0xffffffffffffffff
push 0x45da1e
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x470]
mov ebp, dword [esp + 0x46c]
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x464], ebx
cmp dword [edi + 0x14], ebx
jne 0x401c70
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x46b203
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00403160
cmp dword [esp + 0x48c], 0x10
jb 0x401f31
mov ecx, dword [esp + 0x478]
push ecx
call fcn.00446900
add esp, 4
jmp 0x401f31
call fcn.00402ce0
push ebx
push ebx
push ebx
push ebx
push str.Http_connect
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x90], eax
cmp eax, ebx
jne 0x401cda
push 0xc
add esi, 0x74
mov eax, 0x46b424
call fcn.00401510
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x46b203
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00403160
cmp dword [esp + 0x48c], 0x10
jb 0x401f31
mov edx, dword [esp + 0x478]
push edx
call fcn.00446900
add esp, 4
jmp 0x401f31
push edi
push esi
call fcn.00401f60
mov edi, 0x10
cmp dword [esi + 0x1c], edi
jb 0x401cf0
mov eax, dword [esi + 8]
jmp 0x401cf3
lea eax, [esi + 8]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
mov eax, dword [esi + 0x90]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0x94], eax
cmp eax, ebx
jne 0x401d3a
push 0xc
add esi, 0x74
mov eax, 0x46b424
call fcn.00401510
push 0x46b203
mov ecx, ebp
call fcn.00403240
cmp dword [esp + 0x48c], edi
jmp 0x401c55
mov dword [esi], ebx
cmp dword [esi + 0x54], edi
jb 0x401d46
mov ecx, dword [esi + 0x40]
jmp 0x401d49
lea ecx, [esi + 0x40]
push ebx
push SysReAllocString
push ebx
push ebx
push 0x46b258
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x98], eax
cmp eax, ebx
jne 0x401d8d
push 0xc
add esi, 0x74
mov eax, 0x46b424
call fcn.00401510
push 0x46b203
mov ecx, ebp
call fcn.00403240
jmp 0x401f25
cmp dword [esp + 0x488], ebx
jne 0x401da3
push esi
lea eax, [esp + 0x478]
call fcn.004022b0
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x14]
cmp dword [eax + 0x18], edi
jb 0x401db4
mov eax, dword [eax + 4]
jmp 0x401db7
add eax, 4
mov ecx, dword [esp + 0x478]
cmp dword [esp + 0x48c], edi
jae 0x401dce
lea ecx, [esp + 0x478]
push edx
mov edx, dword [esp + 0x48c]
push eax
mov eax, dword [esi + 0x98]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, ebx
jne 0x401e02
mov eax, esi
call fcn.00402370
push 0x46b203
mov ecx, ebp
call fcn.00403240
jmp 0x401f25
push 0x400
lea ecx, [esp + 0x59]
push ebx
push ecx
mov byte [esp + 0x60], bl
call fcn.0044a2c0
mov ecx, dword [esi + 0x98]
add esp, 0xc
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x5c]
push eax
push 0x15
push ecx
mov dword [esp + 0x28], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp eax, ebx
je 0x401dea
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00403240
lea eax, [esp + 0x38]
push eax
mov edx, 0x46b2ac
mov byte [esp + 0x468], 1
call fcn.00402770
cmp eax, 0xffffffff
je 0x401e81
mov eax, esi
call fcn.00402370
push 0x46b203
mov ecx, ebp
call fcn.00403240
jmp 0x401f1c
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x14]
push ecx
push 0x400
mov byte [esp + 0x46c], 2
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x5c]
push edx
push eax
call edi
test eax, eax
je 0x401f07
jmp 0x401ec0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x401f07
mov byte [esp + eax + 0x54], bl
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401ed3
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x24]
call fcn.00402850
mov ecx, dword [esi + 0x98]
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x5c]
push eax
push ecx
call edi
test eax, eax
jne 0x401ec0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00402cb0
lea ecx, [esp + 0x1c]
call fcn.00402d30
lea ecx, [esp + 0x38]
call fcn.00402d30
lea ecx, [esp + 0x474]
call fcn.00402d30
mov eax, ebp
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.004468a0
add esp, 0x454
ret 0x24