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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x438], 0xf
push esi
push edi
mov dword [ebp - 0x43c], eax
mov ebx, ecx
mov byte [ebp - 0x44c], al
lea eax, [ebp - 0x44c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x470], ebx
call fcn.00425679
xor eax, eax
push eax
push eax
push 3
pop edi
push edi
push eax
push eax
push 0x1f90
push 0x463f84
push dword [ebx + 0xac]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
je 0x426b40
xor ecx, ecx
mov dword [ebp - 0x478], str.text_
push ecx
push ecx
lea eax, [ebp - 0x478]
mov dword [ebp - 0x474], ecx
push eax
push ecx
push str.HTTP_1.1
push 0x4752b8
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x426b67
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov bl, al
push eax
push 1
lea ecx, [ebp - 0x44c]
call fcn.00402710
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x43c]
cmp dword [ebp - 0x438], 0x10
lea eax, [ebp - 0x44c]
cmovae eax, dword [ebp - 0x44c]
push eax
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x426c36
cmp byte [0x4809b0], al
je 0x426c36
cmp dword [0x480944], eax
je 0x426c36
cmp byte [0x480990], 0
mov al, byte [0x480948]
je 0x426bc5
xor edx, edx
cmp al, 4
jae 0x426bfa
test al, al
jmp 0x426bf8
cmp al, 4
jae 0x426bcd
test al, al
jne 0x426c36
mov ecx, dword [0x480934]
xor edx, edx
and ecx, 0x80000000
mov eax, edx
or eax, ecx
je 0x426c38
mov ecx, dword [0x48093c]
mov eax, ecx
and eax, 0x80000000
cmp edx, dword [0x480938]
jne 0x426c38
cmp eax, ecx
jne 0x426c38
mov eax, 0x474fbc
push eax
push eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor eax, eax
push eax
push eax
push 0x1f9
push 0x1fba
push 0x475580
push 0x475570
push dword [0x48099c]
push dword [0x480998]
call fcn.0041ad80
add esp, 0x34
xor edx, edx
push 0x400
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.00439ae0
xor eax, eax
mov dword [ebp - 0x420], 0xf
add esp, 0xc
mov dword [ebp - 0x424], eax
mov byte [ebp - 0x434], al
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x46c]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x426cd2
xor edi, edi
cmp dword [ebp - 0x46c], edi
je 0x426ccf
push dword [ebp - 0x46c]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x434]
call fcn.00402a80
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], edi
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x426c8b
push 3
pop edi
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
cmp dword [ebp - 0x424], edi
jae 0x426cef
xor eax, eax
mov bl, al
jmp 0x426e7d
push 1
xor ebx, ebx
mov byte [ebp - 0x468], 0x20
push ebx
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x434]
call fcn.00408c90
mov esi, eax
cmp esi, dword [ebp - 0x424]
jae 0x426e1a
cmp esi, edi
lea eax, [ebp - 0x464]
lea ecx, [ebp - 0x434]
cmovb edi, esi
push edi
push ebx
push eax
call fcn.004081f0
cmp dword [eax + 0x14], 0x10
jb 0x426d3c
mov eax, dword [eax]
push eax
call fcn.0043f068
mov edi, dword [ebp - 0x470]
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x464]
mov dword [edi + 0xb8], eax
call fcn.00402710
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x434]
call fcn.004081f0
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x426ddf
mov ecx, dword [ebp - 0x408]
lea eax, [ebp - 0x41c]
mov edx, dword [ebp - 0x41c]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + esi - 1], 0xa
jne 0x426db8
dec esi
lea ecx, [ebp - 0x41c]
push ebx
push esi
call fcn.00402770
mov ecx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x41c]
test esi, esi
je 0x426ddf
cmp ecx, 0x10
lea eax, [ebp - 0x41c]
cmovae eax, edx
cmp byte [eax + esi - 1], 0xd
jne 0x426ddf
push ebx
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00402770
push ecx
push ecx
lea eax, [ebp - 0x41c]
mov ecx, esp
push eax
call fcn.00408180
lea eax, [ebp - 0x464]
push eax
call fcn.00407480
add esp, 0xc
lea ecx, [edi + 0xbc]
push eax
call fcn.00408b60
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.004046c0
jmp 0x426e6b
push edi
push ebx
lea eax, [ebp - 0x434]
mov dword [ebp - 0x408], 0xf
push eax
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x40c], ebx
mov byte [ebp - 0x41c], bl
call fcn.00402960
cmp dword [ebp - 0x408], 0x10
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
call fcn.0043f068
mov edi, dword [ebp - 0x470]
pop ecx
mov dword [edi + 0xb8], eax
push ebx
push 1
lea ecx, [ebp - 0x41c]
call fcn.00402710
mov bl, 1
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x434]
call fcn.00402710
xor eax, eax
jmp 0x426b44