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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4087
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x4d5674]
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.00460b66
mov dword [esp + 0x10], eax
and dword [esp + 0x40], 0
mov edi, str.ToGo
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00460b66
add esp, 0x10
mov byte [esp + 0x38], 1
push dword [esp + 8]
mov ecx, eax
mov eax, dword [esi + 0x1f70]
call fcn.0044a082
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.00460b66
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x48], 2
call fcn.00460b66
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.00449e88
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.00460b66
mov edi, eax
lea eax, [esp + 0x28]
push str.Stats
push eax
mov dword [esp + 0x48], 4
call fcn.00460b66
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.00449e88
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 0x417fd0
mov ecx, dword [esi + 0x1f88]
xor edx, edx
cmp ecx, edx
je 0x417f4f
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x417f4f
cmp eax, 1
jle 0x417f4f
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417fd0
jg 0x417f33
cmp dword [esp + 0x14], edx
jbe 0x417fd0
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 0x417fcd
cmp dword [esi + 0x1f88], edx
je 0x417f6f
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 0x417fcd
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x417fa4
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417fd0
mov eax, dword [esp + 0x14]
jg 0x417f8c
cmp eax, edx
jbe 0x417fd0
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 0x417fd0
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 0x417fd0
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417fd0
jg 0x417fc7
cmp dword [esp + 0x14], edx
jbe 0x417fd0
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