Function at 0x41c3df
Capabilities:
Access peb ldr_data
Copy file
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d980
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x49c0b8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x49c0b8]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [0x49ead4]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
or dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x34], ecx
mov esi, 0x49ead4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
and dword [esp + 0x140], 0
lea eax, [esp + 0x48]
push eax
call fcn.0041607a
mov byte [esp + 0x140], 1
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x140], 2
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x140], 3
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x148], 4
call fcn.00409130
push edi
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x148], 5
call fcn.00409130
mov byte [esp + 0x140], 6
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea esi, [esp + 0x10]
mov byte [esp + 0x140], 7
call fcn.0041d4a3
lea edi, [esp + 0x28]
mov byte [esp + 0x140], 8
call fcn.00407844
mov byte [esp + 0x140], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00408f63
push 0x5c
push 0x2f
lea eax, [esp + 0x34]
call fcn.004113d4
push 0x2f
push 0x5c
lea eax, [esp + 0x2c]
call fcn.004113d4
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.00409107
lea ecx, [esp + 0x30]
call fcn.0044134b
xor edi, edi
push edi
push ebx
call fcn.00446273
test eax, eax
pop ecx
pop ecx
jne 0x41c731
push ebx
lea esi, [esp + 0x4c]
call fcn.00416106
cmp eax, edi
je 0x41c735
push edi
push 0x48c704
push 0x4859ec
mov ecx, esi
call fcn.00416215
cmp eax, edi
mov dword [esp + 0x3c], eax
jne 0x41c5ea
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.00409130
push str..old.txt
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x148], 9
call fcn.004078e0
push edi
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x41c5d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push str.KChannel::RecursiveBackupIndex_fail__error:_d__path:_ws
mov esi, 0x49f920
mov dword [esp + 0x20], eax
call fcn.00415020
add esp, 0xc
jmp 0x41c5d9
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00408f63
jmp 0x41c735
xor ebx, ebx
cmp eax, edi
jle 0x41c731
push ebx
lea eax, [esp + 0x24]
push 0x48c708
push eax
call fcn.00407d26
add esp, 0xc
push 0x64
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x28]
lea ecx, [esp + 0x54]
push 0x4859ec
call fcn.00416328
cmp eax, edi
je 0x41c731
lea eax, [esp + 0x64]
push 0x48c710
push eax
call fcn.004483bc
test eax, eax
pop ecx
pop ecx
je 0x41c726
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00409107
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00409107
push 0x5c
push 0x2f
lea eax, [esp + 0x20]
call fcn.004113d4
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411764
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x150], 0xa
call fcn.00411764
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x158], 0xb
call fcn.00411764
lea ecx, [esp + 0x28]
push str.index.txt
push ecx
mov ecx, eax
mov byte [esp + 0x160], 0xc
call fcn.00407885
add esp, 0x20
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x140], 0xd
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.0041c3df
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.00408f63
mov byte [esp + 0x140], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.00408f63
cmp esi, edi
jne 0x41c735
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x41c5f4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00408f63
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x144], 0
call fcn.004160c1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00446679
mov esp, ebp
pop ebp
ret 8