Function at 0x421de7
Capabilities:
Copy file

Disassembly:
push 0x24
mov eax, 0x47d13c
call fcn.0044ce07
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00422252
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408ddf
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 0x48b2ec
lea eax, [ebp - 0x28]
push ebx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00407885
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [0x49ead4]
mov edi, 0x49ead4
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov esi, 0x49fbcc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00411764
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00411764
lea ecx, [ebp - 0x24]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00407885
add esp, 0x18
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [0x49ead4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
push 0
push dword [ebp - 0x18]
call fcn.00446273
test eax, eax
pop ecx
pop ecx
lea edi, [ebp - 0x14]
jne 0x421ec6
lea eax, [ebp - 0x28]
call fcn.00407844
lea eax, [ebp - 0x18]
jmp 0x421ed1
lea eax, [ebp - 0x1c]
call fcn.00407844
lea eax, [ebp - 0x24]
push eax
mov edi, 0x49fbb0
call fcn.0041192c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00411764
pop ecx
pop ecx
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00407844
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00408f63
mov ebx, dword [ebp - 0x20]
push ebx
lea edi, [ebp - 0x2c]
call fcn.00441198
pop ecx
mov byte [ebp - 4], 0xa
push dword [eax]
call fcn.00441394
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
pop ecx
add eax, 0xfffffff0
call fcn.00408f63
push 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x1c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.KRebootConfigWritter::AddRebootBackFile_CopyFile_return:_d__errorcode:_d__relate_path:_ws
mov esi, 0x49f920
call fcn.00415020
add esp, 0x10
test edi, edi
je 0x421fbf
push dword [ebp + 0xc]
lea edi, [ebp + 8]
call fcn.0040ecd1
pop ecx
mov byte [ebp - 4], 0xb
push dword [ebp - 0x10]
mov eax, dword [eax]
push str.path
push eax
mov esi, 0x49fbd4
push esi
call fcn.004135bc
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00408f63
push dword [ebp + 0xc]
lea edi, [ebp + 0xc]
call fcn.0040ecd1
pop ecx
mov byte [ebp - 4], 0xc
push dword [ebp - 0x14]
push 0x48d280
push dword [eax]
push esi
call fcn.004135bc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00408f63
lea eax, [ebx - 0x10]
call fcn.00408f63
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408f63
call fcn.0044cea6
ret 8