Function at 0x140056ae0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1c0
mov byte [rsp + 0x40], 1
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x1d8]
call fcn.140042cf0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x1d8]
call fcn.1400439c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140043a00
movzx eax, al
test eax, eax
jne 0x140056b48
mov dword [rsp + 0x1a8], 1
jmp 0x140056b53
mov dword [rsp + 0x1a8], 0
movzx eax, byte [rsp + 0x1a8]
test eax, eax
je 0x140056f2d
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x48]
call fcn.1400021f0
mov rax, qword [rsp + 0x1e8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
call sym.DriverReviver.exe_private:_static_class_ReviverSoft::Core::COperationManager____ptr64___cdecl_boost::serialization::singleton_class_ReviverSoft::Core::COperationManager_::get_instance_void_
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x7c8
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1400364c0
mov rcx, qword [rsp + 0x1e0]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0xb8]
mov r8, qword [rax]
lea rdx, [0x1403007f0]
lea rcx, [rsp + 0x48]
call fcn.14001bdb0
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140001000
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x50]
call fcn.1400021f0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x58]
call fcn.1400021f0
mov rax, qword [rsp + 0x38]
add rax, 0x18
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1401fd870
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000f920
mov rcx, rax
call fcn.1401fda90
mov rax, qword [rsp + 0x78]
sub rax, 0x18
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140001000
mov rax, qword [rsp + 0x50]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x140056cb2
mov dword [rsp + 0x1ac], 1
jmp 0x140056cbd
mov dword [rsp + 0x1ac], 0
movzx eax, byte [rsp + 0x1ac]
test eax, eax
jne 0x140056d2d
lea rax, [0x1402ffe54]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x140056cf0
mov dword [rsp + 0xe8], 0
jmp 0x140056d14
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xe0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0xe8], eax
mov r8d, dword [rsp + 0xe8]
lea rdx, [0x1402ffe54]
lea rcx, [rsp + 0x50]
call fcn.140002740
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.14000f920
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14000f920
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 8]
mov qword [rsp + 0x108], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140056dc3
mov dword [rsp + 0x1b0], 1
jmp 0x140056dce
mov dword [rsp + 0x1b0], 0
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x90]
call fcn.140203610
lea rcx, [rsp + 0x88]
call fcn.140203610
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140056f00
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x60]
call fcn.1400021f0
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x120], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14000f920
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14000f920
mov r9, qword [rax]
mov rax, qword [rsp + 0x120]
mov r8, qword [rax + 8]
lea rdx, [0x140300810]
lea rcx, [rsp + 0x60]
call fcn.14001bdb0
lea rcx, [rsp + 0xa0]
call fcn.140203610
lea rcx, [rsp + 0x98]
call fcn.140203610
mov dword [rsp + 0xa8], 2
mov dword [rsp + 0xac], 0
call fcn.1401f0280
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xac]
mov rcx, rax
call fcn.14001d6d0
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
call fcn.1401fcd60
lea rcx, [rsp + 0x60]
call fcn.140203610
lea rcx, [rsp + 0x58]
call fcn.140203610
lea rcx, [rsp + 0x50]
call fcn.140203610
lea rcx, [rsp + 0x48]
call fcn.140203610
jmp 0x140056f2d
lea rcx, [rsp + 0x38]
call fcn.14004d7a0
lea rcx, [rsp + 0x58]
call fcn.140203610
lea rcx, [rsp + 0x50]
call fcn.140203610
lea rcx, [rsp + 0x48]
call fcn.140203610
jmp 0x140056b25
movzx eax, byte [rsp + 0x40]
add rsp, 0x1c0
pop rdi
ret