Function at 0x402e90
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
and esp, 0xfffffff8
sub esp, 0x57c
mov eax, dword [0x422330]
mov dword [esp + 0x578], eax
xor eax, eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
push ebx
mov dword [esp + 0x2d], eax
push esi
mov dword [esp + 0x35], eax
lea ecx, [esp + 0x24]
push edi
mov word [esp + 0x3d], ax
push ecx
mov byte [esp + 0x2c], 0
mov byte [esp + 0x43], al
call fcn.004095b0
xor edx, edx
mov dword [esp + 0x15], edx
mov dword [esp + 0x19], edx
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], edx
mov dword [esp + 0x25], edx
lea eax, [esp + 0x14]
mov word [esp + 0x29], dx
push eax
mov byte [esp + 0x18], 0
mov byte [esp + 0x2f], dl
call fcn.00409760
xor eax, eax
mov byte [esp + 0x88], 0
mov ecx, 0x3f
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x88]
add esp, 8
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f30
mov ecx, dword [str._cachingDeny]
mov edx, dword [0x41b590]
mov eax, dword [0x41b594]
mov dword [edi], ecx
mov cx, word [0x41b598]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
lea eax, [esp + 0x28]
mov word [edi + 0xc], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402f62
lea edi, [esp + 0x80]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402f73
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x80]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f93
mov edx, dword [str.id]
mov al, byte [0x41b588]
mov dword [edi], edx
mov byte [edi + 4], al
lea eax, [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402fb1
lea edi, [esp + 0x80]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402fc2
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [0x41b790]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [str._f.ugzy]
mov dword [esp + 0x40], ecx
xor eax, eax
mov dword [esp + 0x44], edx
mov ecx, 0xe
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
mov ecx, eax
push ecx
call fcn.00404140
lea eax, [esp + 0x88]
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403014
lea edi, [esp + 0x40]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403024
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x180], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x181]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x180]
push 0x41b5fe
push edx
stosb byte es:[edi], al
call fcn.00411af5
add esp, 8
push 0
push 0
push 0
push 1
push str.Kvadrlson_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x40311a
mov eax, dword [0x432d34]
push 1
imul eax, eax, 0xff
push 0
push 3
push 0
push 0
push 0x50
add eax, 0x422f30
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x403113
push 1
push 0x4000000
push 0
push 0
push str.HTTP_1.0
lea ecx, [esp + 0x54]
push ecx
push 0x41b788
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x40310c
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x403105
lea edx, [esp + 0xc]
push edx
push 0x3ff
lea eax, [esp + 0x188]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov edi, str.true
lea esi, [esp + 0x180]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
mov ecx, dword [esp + 0x584]
sete al
call fcn.004118eb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret