Function at 0x417ec5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a47b5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push str.TotalFiles
push eax
call fcn.00461468
mov dword [esp + 0x10], eax
and dword [esp + 0x40], 0
mov edi, str.ToGo
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00461468
add esp, 0x10
mov byte [esp + 0x38], 1
push dword [esp + 8]
mov ecx, eax
mov eax, dword [esi + 0x1f70]
call fcn.0044a6a0
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
mov dword [esp + 0x28], eax
call fcn.0040174a
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 8]
push str.TotalSize
push eax
call fcn.00461468
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x48], 2
call fcn.00461468
add esp, 0x10
mov byte [esp + 0x38], 3
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push eax
push dword [esi + 0x1f70]
call fcn.0044a4a6
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0040174a
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x24]
push str.TotalDone
push eax
call fcn.00461468
mov edi, eax
lea eax, [esp + 0x28]
push str.Stats
push eax
mov dword [esp + 0x48], 4
call fcn.00461468
add esp, 0x10
push 0
mov byte [esp + 0x3c], 5
mov ecx, dword [edi]
push 0
push ecx
push eax
push dword [esi + 0x1f70]
call fcn.0044a4a6
mov edi, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esp + 0x28]
cmp eax, 1
je 0x4180fa
mov ecx, dword [esi + 0x1f88]
xor edx, edx
cmp ecx, edx
je 0x418079
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x418079
cmp eax, 1
jle 0x418079
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x4180fa
jg 0x41805d
cmp dword [esp + 0x14], edx
jbe 0x4180fa
mov eax, dword [ebp + 8]
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
jmp 0x4180f7
cmp dword [esi + 0x1f88], edx
je 0x418099
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
jmp 0x4180f7
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x4180ce
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x4180fa
mov eax, dword [esp + 0x14]
jg 0x4180b6
cmp eax, edx
jbe 0x4180fa
add dword [ebx], edi
mov edx, dword [esp + 0x10]
adc dword [ebx + 4], edx
sub eax, dword [ebx]
mov edx, dword [ebp + 8]
sbb ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x4180fa
add dword [ebx], edi
mov eax, dword [esp + 0x10]
adc dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x4180fa
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x4180fa
jg 0x4180f1
cmp dword [esp + 0x14], edx
jbe 0x4180fa
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 8