Function at 0x47ba00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a13f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x621810]
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.0047b530
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 0x47ba71
xor eax, eax
cmp ebx, eax
jbe 0x47ba96
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0x3e8
push ecx
push edx
call fcn.004a0460
push edi
push ebx
push edx
push eax
call fcn.00495420
mov dword [esp + 0x20], edx
jmp 0x47ba9a
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.00455200
mov edi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00455b60
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.00455200
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00455b60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0x3e8
push eax
push ecx
call fcn.00495420
test edx, edx
ja 0x47bbc3
jb 0x47bbbf
cmp eax, ebx
jae 0x47bbc3
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.00455200
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00455b60
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.00455200
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00455b60
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.00455200
mov edi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456090
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.00455b60
or edi, 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], edi
call fcn.00455b60
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.00455200
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], edi
call fcn.00455b60
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret