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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2cea
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x4d4684]
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.0045f8c4
mov dword [esp + 0x10], eax
and dword [esp + 0x40], 0
mov edi, str.ToGo
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0045f8c4
add esp, 0x10
mov byte [esp + 0x38], 1
push dword [esp + 8]
mov ecx, eax
mov eax, dword [esi + 0x1f70]
call fcn.00449557
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.0045f8c4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x48], 2
call fcn.0045f8c4
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.0044935d
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.0045f8c4
mov edi, eax
lea eax, [esp + 0x28]
push str.Stats
push eax
mov dword [esp + 0x48], 4
call fcn.0045f8c4
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.0044935d
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 0x417f08
mov ecx, dword [esi + 0x1f88]
xor edx, edx
cmp ecx, edx
je 0x417e87
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x417e87
cmp eax, 1
jle 0x417e87
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417f08
jg 0x417e6b
cmp dword [esp + 0x14], edx
jbe 0x417f08
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 0x417f05
cmp dword [esi + 0x1f88], edx
je 0x417ea7
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 0x417f05
mov ecx, dword [esi + 0x1f7c]
inc ecx
cmp ecx, eax
jge 0x417edc
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417f08
mov eax, dword [esp + 0x14]
jg 0x417ec4
cmp eax, edx
jbe 0x417f08
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 0x417f08
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 0x417f08
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jl 0x417f08
jg 0x417eff
cmp dword [esp + 0x14], edx
jbe 0x417f08
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