Function at 0x41c04e
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push 0x14
mov eax, 0x429a82
call fcn.0042864a
push 4
pop esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000005
push dword [edi + 0x60]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x41c08c
push dword [ebp - 0x14]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
push dword [ebp - 0x14]
mov eax, edi
push ebx
call fcn.0041c34b
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x24]
cmp dword [eax - 0xc], ebx
je 0x41c0fa
push esi
push 0x40000000
push eax
lea esi, [ebp - 0x10]
call fcn.00414b1d
test al, al
jne 0x41c0cf
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c0c8
push dword [ebp - 0x10]
call dword [0x42d150]
push 6
jmp 0x41c24b
mov eax, dword [edi + 0x50]
cmp eax, ebx
jle 0x41c0fa
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c249
push ebx
push ebx
push eax
push dword [ebp - 0x10]
call dword [0x42d0ec]
cmp eax, 0xffffffff
setne al
test al, al
je 0x41c240
mov dword [ebp - 0x18], ebx
push 0xa
push dword [edi + 4]
call dword [0x42d148]
test eax, eax
je 0x41c21d
mov dword [edi + 0x84], 0x10000
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x41c128
push eax
call dword [0x42d13c]
push edi
push 1
lea eax, [edi + 0x6c]
push eax
push dword [edi + 0x60]
mov dword [edi + 0x68], ebx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x41c180
call dword [0x42d120]
cmp eax, 0x3e5
jne 0x41c23a
push dword [edi + 0x44]
mov ecx, dword [edi + 0x64]
mov eax, edi
call fcn.0041b653
cmp eax, ebx
je 0x41c252
cmp eax, dword [edi + 4]
je 0x41c226
cmp eax, dword [edi + 0x64]
jne 0x41c23a
cmp dword [edi + 0x68], ebx
jne 0x41c23a
mov eax, dword [edi + 0x84]
cmp eax, ebx
je 0x41c265
mov ecx, dword [edi + 0x24]
cmp dword [ecx - 0xc], ebx
je 0x41c1d3
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c20b
mov ecx, dword [edi + 0x80]
cmp ecx, ebx
je 0x41c1c2
push ebx
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [0x42d0e8]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
jmp 0x41c1c4
xor eax, eax
mov ecx, dword [edi + 0x84]
cmp eax, ecx
jne 0x41c240
add dword [ebp - 0x18], ecx
jmp 0x41c20b
mov ebx, dword [edi + 0x3c]
add eax, ebx
lea esi, [edi + 0x28]
push eax
mov ecx, esi
call dword [0x42d250]
cmp dword [esi + 0x18], 0x10
jb 0x41c1ef
mov esi, dword [esi + 4]
jmp 0x41c1f2
add esi, 4
push dword [edi + 0x84]
add esi, ebx
push dword [edi + 0x80]
push esi
call fcn.00427d64
add esp, 0xc
xor ebx, ebx
push dword [ebp - 0x14]
mov eax, edi
push dword [ebp - 0x18]
call fcn.0041c34b
jmp 0x41c0fd
push dword [edi + 4]
call dword [0x42d13c]
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c235
push dword [ebp - 0x10]
call dword [0x42d150]
xor eax, eax
inc eax
jmp 0x41c24c
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c249
push dword [ebp - 0x10]
call dword [0x42d150]
push 2
pop eax
call fcn.00428722
ret
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c261
push dword [ebp - 0x10]
call dword [0x42d150]
push 7
jmp 0x41c24b
cmp dword [ebp - 0x10], 0xffffffff
je 0x41c274
push dword [ebp - 0x10]
call dword [0x42d150]
xor eax, eax
jmp 0x41c24c