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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x400
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10019e30
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10019e30
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10019e30
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push 0
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10005a3e
push ebx
call fcn.100189cb
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10005a4e
push ebx
call fcn.100189cb
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10005a5e
push ebx
call fcn.100189cb
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10005cd9
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10019e30
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push SysReAllocString
push 0x80000301
push 0
push 0x4000000
push 0x80000301
push 0
push 0x400000
push 3
mov ebx, 0xc8
call fcn.10019f90
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x34]
push 0
push dword [ebp - 0x30]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
nop
nop
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10005afd
push ebx
call fcn.100189cb
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10005ccc
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop
nop
nop
nop
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10005cbf
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
fld qword [ebp - 0x44]
call fcn.10001000
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10005b8d
mov dword [ebp - 0x24], 1
jmp 0x10005c3a
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.10001000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
jne 0x10005c10
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.10001000
push eax
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10005c0b
mov dword [ebp - 0x28], 1
jmp 0x10005c3a
jmp 0x10005c30
fild dword [ebp - 0x18]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.10001000
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
jne 0x10005b42
cmp dword [ebp - 0x24], 0
jne 0x10005c55
cmp dword [ebp - 0x28], 0
jne 0x10005c55
mov eax, 1
jmp 0x10005c57
xor eax, eax
test eax, eax
je 0x10005ca0
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x910
call fcn.100198c0
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10005c9c
push ebx
call fcn.100189cb
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
jne 0x10005cbf
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
nop
nop
nop
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10005cf3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100189c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10005cf8
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10005d09
push ebx
call fcn.100189cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4