Function at 0x412790
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a0ea
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.00426e80
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2030], ebx
mov dword [ebp - 0x2024], 0
push 0
mov dword [ebp - 4], 1
call fcn.00436618
add esp, 4
mov dword [ebp - 0x2020], eax
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x2014]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x202c], edx
cmovae eax, dword [ebp + 0xc]
push 0x463888
push 0
push ecx
push eax
push 0
mov dword [ebp - 0x2014], 0
call sub.urlmon.dll_URLOpenBlockingStreamW
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x2024], 1
test eax, eax
js 0x412a1a
cmp dword [ebp - 0x2014], 0
je 0x412a1a
mov dword [ebp - 0x201c], 0
nop word [eax + eax]
push 0
call fcn.00436618
add esp, 4
mov edi, edx
mov esi, eax
lea edx, [ebp - 0x2018]
mov eax, dword [ebp - 0x2014]
push edx
push 0x2000
mov ecx, dword [eax]
lea edx, [ebp - 0x2010]
push edx
push eax
call dword [ecx + 0xc]
push 0
mov dword [ebp - 0x2028], eax
call fcn.00436618
add esp, 4
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x2034], edx
js 0x4128c9
jg 0x4128b0
cmp eax, 0x78
jbe 0x4128c9
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push eax
push str.Oops_after__d_bytes._n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
mov eax, dword [ebp - 0x2018]
test eax, eax
je 0x412965
mov esi, dword [ebx + 4]
mov ecx, ebx
sub esi, dword [ebx]
add eax, esi
push eax
call fcn.0041db10
push dword [ebp - 0x2018]
lea eax, [ebp - 0x2010]
push eax
mov eax, dword [ebx]
add eax, esi
push eax
call fcn.00428f50
push 0x44d978
push dword [0x4636d8]
call fcn.0041f170
mov ecx, dword [ebp - 0x201c]
mov eax, 0xea0ea0eb
inc ecx
add esp, 0x14
imul ecx
mov dword [ebp - 0x201c], ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x46
sub ecx, eax
jne 0x412957
push ecx
call fcn.00436618
sub eax, dword [ebp - 0x2020]
push eax
push 0x44d97c
push dword [0x4636d8]
call fcn.0041f170
add esp, 0x10
push dword [0x4636d8]
call fcn.00430de0
add esp, 4
mov eax, dword [ebp - 0x2028]
test eax, eax
js 0x412978
cmp eax, 1
jne 0x412860
mov ecx, dword [ebp - 0x2014]
test ecx, ecx
je 0x412992
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2014], 0
mov ecx, dword [ebx + 4]
lea eax, [ebp + 0xc]
sub ecx, dword [ebx]
cmp dword [ebp + 0x20], 8
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
push str._nFile_downloading_complete__s__size:__d_n
push dword [0x4636d8]
call fcn.0041f170
push 0
call fcn.00436618
mov esi, dword [ebp - 0x2020]
mov edi, eax
add esp, 0x14
mov ecx, edi
sub ecx, esi
mov eax, ecx
sbb edx, dword [ebp - 0x202c]
or eax, edx
je 0x412a39
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push edx
push ecx
push 0
push eax
call fcn.00426dd0
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push str.Speed:__dKBs_n
push dword [0x4636d8]
call fcn.0041f170
sub edi, esi
push edi
push str.Time:__ds_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0x18
jmp 0x412a39
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push str.File_doesnt_exist:__s_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
mov ecx, dword [ebp - 0x2014]
test ecx, ecx
je 0x412a49
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x4636d8]
call fcn.00430de0
mov ecx, dword [ebp + 0x20]
add esp, 4
cmp ecx, 8
jb 0x412a6c
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401d50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret