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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e810
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5afec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404f40
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004086a0
mov dword [ebp - 0x34], eax
mov al, byte [0x55fdd9]
mov byte [ebp - 0xe], al
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x406d28
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403300
mov eax, dword [ebp - 0x30]
jmp 0x406ed6
push 0
push 0x4000000
push 0
push 0
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x406d88
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403300
mov eax, dword [ebp - 0x38]
jmp 0x406ed6
mov dword [ebp - 0x28], 0x1f4
mov eax, dword [ebp - 0x28]
push eax
call fcn.00537fdf
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x406de2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403300
mov eax, dword [ebp - 0x3c]
jmp 0x406ed6
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005370a0
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
jmp 0x406e2d
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x2c]
jae 0x406e4e
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00408bd0
jmp 0x406e24
cmp dword [ebp - 0x2c], 0
jne 0x406df0
lea ecx, [ebp - 0x24]
call fcn.00404e10
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x5c]
call fcn.0040cba0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x406e7d
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00405510
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00408950
push eax
lea ecx, [ebp - 0x24]
call fcn.00405470
movzx eax, al
test eax, eax
je 0x406eb1
lea ecx, [ebp - 0x24]
call fcn.0040b4e0
mov cl, byte [eax]
movzx edx, cl
push edx
mov ecx, dword [ebp + 0x20]
call fcn.00403340
jmp 0x406e6f
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403300
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret