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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5061
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.00461ac5
mov dword [esp + 0x10], eax
and dword [esp + 0x40], 0
mov edi, str.ToGo
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00461ac5
add esp, 0x10
mov byte [esp + 0x38], 1
push dword [esp + 8]
mov ecx, eax
mov eax, dword [esi + 0x1f70]
call fcn.0044ab23
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.00461ac5
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x48], 2
call fcn.00461ac5
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.0044a929
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.00461ac5
mov edi, eax
lea eax, [esp + 0x28]
push str.Stats
push eax
mov dword [esp + 0x48], 4
call fcn.00461ac5
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.0044a929
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 0x418197
mov ecx, dword [esi + 0x1f88]
xor edx, edx
cmp ecx, edx
je 0x418116
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x418116
cmp eax, 1
jle 0x418116
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x418197
jg 0x4180fa
cmp dword [esp + 0x14], edx
jbe 0x418197
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 0x418194
cmp dword [esi + 0x1f88], edx
je 0x418136
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 0x418194
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x41816b
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x418197
mov eax, dword [esp + 0x14]
jg 0x418153
cmp eax, edx
jbe 0x418197
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 0x418197
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 0x418197
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x418197
jg 0x41818e
cmp dword [esp + 0x14], edx
jbe 0x418197
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