Function at 0x40b3b0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4522b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [0x46a4e0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
xor esi, esi
push edi
mov dword [esp + 0xfc], eax
mov ebp, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
call fcn.0043bcb5
add esp, 4
mov ebx, eax
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], esi
mov byte [esp + 0xe0], 0
push 1
push 0x22
lea ecx, [esp + 0x64]
mov dword [esp + 0x10c], esi
call fcn.004084a0
push esi
push esi
push esi
push esi
push 0x4563fc
mov byte [esp + 0x118], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40b4f8
mov edx, dword [esp + 0x110]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b456
mov ecx, dword [esp + 0x18]
push 0
push 0x84003000
sub eax, esi
push eax
mov eax, dword [esp + 0x118]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
je 0x40b4f8
mov eax, dword [esp + 0x124]
test eax, eax
jl 0x40b4d8
cmp eax, 4
jge 0x40b4d8
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00409310
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x124]
mov ecx, dword [ecx + edx*4]
push 0
push ecx
mov ecx, eax
call fcn.00404870
cmp eax, 0xffffffff
lea ecx, [esp + 0x40]
sete byte [esp + 0x13]
call fcn.00402dc0
mov al, byte [esp + 0x13]
test al, al
jne 0x40b4f8
mov al, byte [esp + 0x11c]
test al, al
je 0x40b52a
push 0
lea edx, [esp + 0x20]
push edx
push ebx
push 0x15
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x40b505
or edi, 0xffffffff
mov ebp, 0x10
jmp 0x40b5f4
push edi
push ebx
lea ecx, [esp + 0xe4]
call fcn.00403190
mov eax, dword [esp + 0x120]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov ecx, ebp
call fcn.0040b070
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x14]
push edx
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x40b561
mov edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40b561
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.00408260
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push esi
call ebp
test eax, eax
jne 0x40b540
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x60]
call fcn.00409500
mov edi, eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x108], 2
call fcn.00409500
mov ecx, dword [eax + 0x18]
mov edi, dword [edi + 0x14]
mov ebp, 0x10
cmp ecx, ebp
mov byte [esp + 0x104], 3
jb 0x40b5a3
mov eax, dword [eax + 4]
jmp 0x40b5a6
add eax, 4
push edi
mov edi, dword [esp + 0x118]
push eax
mov ecx, edi
call fcn.00403190
cmp dword [esp + 0x3c], ebp
jb 0x40b5c9
mov eax, dword [esp + 0x28]
push eax
call fcn.0043bcb0
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x40b5f1
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043bcb0
add esp, 4
mov edi, dword [edi + 0x14]
test ebx, ebx
je 0x40b601
push ebx
call fcn.0043bcb0
add esp, 4
test esi, esi
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x40b60e
push esi
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40b619
push eax
call ebx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x104], 0
call fcn.00407bb0
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0x455cb0
call fcn.00434b67
cmp dword [esp + 0xf4], ebp
jb 0x40b65d
mov edx, dword [esp + 0xe0]
push edx
call fcn.0043bcb0
add esp, 4
mov ecx, dword [esp + 0xfc]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xec]
pop ebx
call fcn.00426bce
add esp, 0xf8
ret 0x1c