Function at 0x404ab8
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 0x42bdaf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10ac
call fcn.0041e910
mov eax, dword [0x43c5a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x108c], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1088], esi
mov dword [ebp - 0x10a0], eax
push 0x434b33
lea ecx, [ebp - 0x1084]
mov dword [ebp - 4], 1
xor ebx, ebx
call fcn.004012b5
mov byte [ebp - 4], 3
cmp dword [edi + 0x10], ebx
jne 0x404b45
mov dword [ebp - 0x10a8], 0xe
push 0x4394f0
lea eax, [ebp - 0x10a8]
push eax
call fcn.004158eb
mov ecx, esi
call fcn.004050a5
push ebx
push ebx
push ebx
push ebx
push str.Http_connect
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
test eax, eax
jne 0x404b78
mov dword [ebp - 0x10b0], 1
push 0x4394f0
lea eax, [ebp - 0x10b0]
jmp 0x404b3f
mov esi, 0x434b33
push esi
lea ecx, [ebp - 0x1054]
mov dword [ebp - 0x1094], 0x50
call fcn.004012b5
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 4
call fcn.004012b5
sub esp, 0x18
mov ecx, esp
push edi
mov byte [ebp - 4], 5
call fcn.00401a84
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1054]
push eax
call fcn.00404f15
cmp dword [ebp - 0x1028], 0x10
lea ecx, [ebp - 0x103c]
cmovae ecx, dword [ebp - 0x103c]
cmp dword [ebp - 0x1040], 0x10
lea edx, [ebp - 0x1054]
cmovae edx, dword [ebp - 0x1054]
cmp dword [edi + 0x14], 0x10
jb 0x404bfc
mov edi, dword [edi]
mov esi, dword [ebp - 0x1094]
movzx eax, si
push eax
push ecx
push edx
push edi
push str.lpUrl:_s__nstrHostName:_s__nstrPageName:_s__nport:_d_n
call fcn.00414015
mov edi, dword [ebp - 0x108c]
add esp, 0x14
cmp dword [ebp - 0x1040], 0x10
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x1054]
cmovae eax, dword [ebp - 0x1054]
push esi
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi + 4], eax
test eax, eax
jne 0x404c61
mov dword [ebp - 0x109c], 2
push 0x4394f0
lea eax, [ebp - 0x109c]
jmp 0x404b3f
mov dword [ebp - 0x1058], 0xf
mov dword [ebp - 0x105c], ebx
mov byte [ebp - 0x106c], bl
mov esi, 0x436dc0
push esi
mov byte [ebp - 4], 6
call fcn.00401001
pop ecx
push eax
push esi
lea ecx, [ebp - 0x106c]
call fcn.0040149d
cmp dword [ebp - 0x1028], 0x10
push ebx
push 0x80000000
push ebx
push ebx
lea ecx, [ebp - 0x103c]
cmovae ecx, dword [ebp - 0x103c]
cmp dword [ebp - 0x1058], 0x10
push str.HTTP_1.1
lea eax, [ebp - 0x106c]
cmovae eax, dword [ebp - 0x106c]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x108c], eax
mov dword [edi + 8], eax
test eax, eax
jne 0x404cfb
mov dword [ebp - 0x10a4], 1
push 0x4394f0
lea eax, [ebp - 0x10a4]
jmp 0x404b3f
cmp dword [ebp + 0x24], 0
jne 0x404d05
mov edx, ebx
jmp 0x404d1c
cmp dword [ebp + 0x28], 0x10
lea edx, [ebp + 0x14]
cmovae edx, dword [ebp + 0x14]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x404d13
sub edx, ecx
cmp dword [ebp + 0x3c], 0
jne 0x404d26
mov esi, ebx
jmp 0x404d3d
cmp dword [ebp + 0x40], 0x10
lea esi, [ebp + 0x2c]
cmovae esi, dword [ebp + 0x2c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x404d34
sub esi, ecx
cmp dword [ebp + 0x40], 0x10
push esi
lea ecx, [ebp + 0x2c]
cmovae ecx, dword [ebp + 0x2c]
cmp dword [ebp + 0x28], 0x10
push ecx
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push edx
push eax
push dword [ebp - 0x108c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x404d81
mov dword [ebp - 0x10ac], 3
push 0x4394f0
lea eax, [ebp - 0x10ac]
jmp 0x404b3f
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1023]
push ebx
push eax
mov byte [ebp - 0x1024], bl
call fcn.004179f0
add esp, 0xc
lea eax, [ebp - 0x1090]
push ebx
push eax
lea eax, [ebp - 0x1024]
push eax
push 0x15
push dword [edi + 8]
mov dword [ebp - 0x1090], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x404ddb
mov dword [ebp - 0x10b4], 4
push 0x4394f0
lea eax, [ebp - 0x10b4]
jmp 0x404b3f
lea eax, [ebp - 0x1024]
push 0x436df8
push eax
call fcn.004146c0
pop ecx
pop ecx
test eax, eax
je 0x404e0c
mov dword [ebp - 0x1098], 5
push 0x4394f0
lea eax, [ebp - 0x1098]
jmp 0x404b3f
lea eax, [ebp - 0x1090]
push eax
push esi
lea eax, [ebp - 0x1024]
push eax
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404e67
mov eax, dword [ebp - 0x1090]
test eax, eax
je 0x404e67
cmp eax, 0x1001
jae 0x404e62
mov byte [ebp + eax - 0x1024], bl
lea eax, [ebp - 0x1024]
push eax
call fcn.00401001
pop ecx
push eax
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x1084]
call fcn.00401c85
jmp 0x404e0c
call fcn.00412ff3
cmp dword [ebp - 0x1070], 0x10
lea eax, [ebp - 0x1084]
cmovae eax, dword [ebp - 0x1084]
push eax
call fcn.004050de
mov esi, eax
push esi
call fcn.00401001
pop ecx
mov ecx, dword [ebp - 0x10a0]
push eax
push esi
call fcn.0040149d
lea ecx, [ebp - 0x106c]
call fcn.004012e4
lea ecx, [ebp - 0x103c]
call fcn.004012e4
lea ecx, [ebp - 0x1054]
call fcn.004012e4
jmp 0x404edc
lea ecx, [ebp - 0x1084]
call fcn.004012e4
lea ecx, [ebp + 0x14]
call fcn.004012e4
lea ecx, [ebp + 0x2c]
call fcn.004012e4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004124f9
leave
ret 0x3c