Function at 0x47aa30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59f390
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x1c0]
push eax
call fcn.0047a560
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x190]
xor edi, edi
mov ebx, eax
add ebx, dword [esi + 0x188]
adc edi, dword [esi + 0x18c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
jne 0x47aaa1
xor eax, eax
cmp ebx, eax
jbe 0x47aac6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0x3e8
push ecx
push edx
call fcn.0049e740
push edi
push ebx
push edx
push eax
call fcn.00493700
mov dword [esp + 0x20], edx
jmp 0x47aaca
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x19c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x198]
mov ebx, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], 0
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.size
call fcn.00455b40
mov edi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456960
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00456430
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ebx
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.download_size
call fcn.00455b40
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456960
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00456430
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0x3e8
push eax
push ecx
call fcn.00493700
test edx, edx
ja 0x47abf3
jb 0x47abef
cmp eax, ebx
jae 0x47abf3
mov eax, ebx
xor edx, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], 2
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.time_comsuming
call fcn.00455b40
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456960
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00456430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], 3
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.avg_speed
call fcn.00455b40
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456960
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00456430
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 4
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.status
call fcn.00455b40
mov edi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456960
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
or edi, 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], edi
call fcn.00456430
movzx eax, byte [esi + 0x185]
cdq
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], 5
mov ecx, dword [esi + 8]
lea ecx, [ecx + 0x40]
mov edx, str.is_cdn
call fcn.00455b40
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456960
mov eax, dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esi], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [esi + 0xc], edx
mov dword [esp + 0x34], eax
call fcn.00456430
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], edi
call fcn.00456430
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret