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

Disassembly:
push 0xffffffffffffffff
push 0x459fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x4767b0]
xor eax, esp
mov dword [esp + 0x814], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4767b0]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov esi, edx
mov dword [esp + 0x20], ebx
call fcn.0041e932
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40f433
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebx
push ebx
push ebx
push ebx
push 0x465bc0
mov dword [esp + 0x848], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x40f5c9
push ebx
push 0x4000000
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
je 0x40f5be
push 0x400
lea ecx, [esp + 0x28]
push ebx
push ecx
mov dword [esp + 0x20], ebx
call fcn.00444200
push 0x401
lea edx, [esp + 0x434]
push ebx
push edx
call fcn.00444200
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0x18
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x2c]
push ecx
push edi
call ebp
test eax, eax
je 0x40f574
jmp 0x40f4d0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40f5b3
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x42c]
push eax
call fcn.00443120
lea ecx, [esp + 0x430]
push ecx
call fcn.00411a50
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x40f509
xor eax, eax
jmp 0x40f51f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f510
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00406fb0
push esi
call fcn.0041dea2
push 0x400
lea edx, [esp + 0x2c]
push ebx
push edx
mov dword [esp + 0x24], ebx
call fcn.00444200
push 0x401
lea eax, [esp + 0x438]
push ebx
push eax
call fcn.00444200
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x2c]
push edx
push edi
call ebp
test eax, eax
jne 0x40f4d0
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
push esi
call fcn.00402880
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x834], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f602
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x40f602
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
push esi
call fcn.00402880
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x834], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f602
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.004422a2
add esp, 0x824
ret