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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10090
call fcn.0042c300
mov eax, dword [0x474a60]
mov dword [ebp - 0x24], eax
push edi
mov byte [ebp - 0x10025], 0
push 0
push 0
push 0
push 0
push str.Testing
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x407293
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0x10025]
jmp 0x40748b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10040], edx
push 0
push SysReAllocString
push 0
push 0
mov eax, dword [ebp - 0x10040]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4072d8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0x10025]
jmp 0x40748b
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10024], 0
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x10023]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push 0xfffe
lea ecx, [ebp - 0x10024]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
call fcn.00451cfc
mov dword [ebp - 0x10048], eax
mov eax, dword [ebp - 0x10048]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10048]
call dword [edx + 0xc]
mov dword [ebp - 0x10044], eax
mov eax, dword [ebp - 0x10044]
add eax, 0x10
mov dword [ebp - 0x1002c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10024]
push ecx
lea ecx, [ebp - 0x10030]
call fcn.00408060
mov byte [ebp - 4], 1
push 0
push 0x45f6d8
lea ecx, [ebp - 0x10030]
call fcn.00408b60
mov dword [ebp - 0x20], eax
push 0
push 0x45f6d4
lea ecx, [ebp - 0x10030]
call fcn.00408b60
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
je 0x407422
cmp dword [ebp - 0x1c], 0
je 0x407422
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x10034], edx
mov eax, dword [ebp - 0x10034]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
lea edx, [ebp - 0x10038]
push edx
lea ecx, [ebp - 0x10030]
call fcn.00408be0
mov dword [ebp - 0x1009c], eax
mov eax, dword [ebp - 0x1009c]
mov dword [ebp - 0x1008c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1008c]
push ecx
lea ecx, [ebp - 0x10030]
call fcn.00408aa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10038]
call fcn.0040edf0
mov edx, dword [ebp - 0x10030]
push edx
push 0x45f6d0
mov eax, dword [ebp + 8]
push eax
call fcn.0042c838
add esp, 0xc
mov byte [ebp - 0x10025], 1
cmp dword [ebp - 0x14], 0
je 0x407444
lea ecx, [ebp - 0x14]
push ecx
push 0xfffe
lea edx, [ebp - 0x10024]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x407422
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0x10025]
mov byte [ebp - 0x10039], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10030]
call fcn.0040edf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1002c]
call fcn.0040edf0
mov al, byte [ebp - 0x10039]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret