Function at 0x899440
Capabilities:
Copy file
Move file

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xc0
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov byte [rbp + 0x3f], r8b
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xe8], rdx
mov rcx, qword [rbp + 0xe8]
call fcn.004104f0
nop
movzx rax, byte [rbp + 0x3f]
test al, al
je 0x8994ee
call fcn.0089a2e0
test al, al
je 0x899945
mov rcx, qword [rbp + 0x30]
mov eax, dword [rcx + 0x28]
cmp eax, dword [rcx + 0x2c]
jl 0x89969b
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x30]
movzx rdx, byte [rax + 0x30]
call fcn.0047dcd0
lea rcx, [rbp + 0xb8]
mov edx, 3
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + 0x18]
lea r9, [0x00899a38]
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.00412610
mov rcx, qword [rbp + 0xb8]
mov dl, 1
call fcn.0047eaf0
test al, al
je 0x899558
mov rcx, qword [rbp + 0xb8]
call fcn.0047f390
mov rax, qword [rbp + 0x30]
movzx rbx, byte [rax + 0x30]
sub ebx, 1
cmp ebx, 1
jl 0x899630
lea rcx, [rbp + 0x50]
mov edx, ebx
call fcn.0047dcd0
lea rcx, [rbp + 0xb8]
mov edx, 3
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + 0x18]
lea r9, [0x00899a38]
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.00412610
mov rcx, qword [rbp + 0xb8]
mov dl, 1
call fcn.0047eaf0
test al, al
je 0x899625
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0xb8]
call fcn.00410a30
lea rcx, [rbp + 0x48]
mov edx, ebx
add edx, 1
call fcn.0047dcd0
lea rcx, [rbp + 0x88]
mov edx, 3
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + 0x18]
lea r9, [0x00899a38]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.00412610
mov rcx, qword [rbp + 0x90]
call fcn.00412090
mov rsi, rax
mov rcx, qword [rbp + 0x88]
call fcn.00412090
mov rcx, rsi
mov rdx, rax
call sub.kernel32.dll_MoveFileW
sub ebx, 1
test ebx, ebx
jne 0x89956d
nop
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x18]
call fcn.00412090
mov rbx, rax
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 0x18]
lea r8, [0x00899a50]
call fcn.004124f0
mov rcx, qword [rbp + 0x40]
call fcn.00412090
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_CopyFileW
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x20]
xor rdx, rdx
call fcn.005cd590
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x20]
xor rdx, rdx
call fcn.005cd510
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x28], 0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x28], 0
jne 0x89973c
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x33], 0
je 0x8996db
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x20]
lea rdx, [0x00b42e9b]
mov r8d, 4
call fcn.005d2950
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x28], 4
jmp 0x89973c
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x32], 0
je 0x899716
mov word [rbp + 0xb6], 0xfeff
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x20]
lea rdx, [rbp + 0xb6]
mov r8d, 2
call fcn.005d2950
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x28], 2
jmp 0x89973c
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x20]
lea rdx, [0x00b42e98]
mov r8d, 3
call fcn.005d2950
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x28], 3
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x33], 0
je 0x8997f8
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x31], 0
je 0x89979e
lea rcx, [rbp + 0x80]
lea rdx, [0x00899a68]
call fcn.00410a30
call fcn.004857d0
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x80]
movapd xmm2, xmm0
mov r9, qword [0x00b6fa60]
call fcn.00486fa0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0xe8]
mov r8d, 1
call fcn.004127e0
mov rcx, qword [rbp + 0xe8]
lea rdx, [rbp + 0xa0]
lea r8, [rbp + 0x9c]
call fcn.008988b0
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, rax
mov rdx, qword [rbp + 0xa0]
mov r8d, dword [rbp + 0x9c]
mov rax, qword [rax]
call qword [rax + 0x20]
mov rax, qword [rbp + 0x30]
lea rax, [rax + 0x28]
mov ecx, dword [rbp + 0x9c]
add dword [rax], ecx
mov rcx, qword [rbp + 0xa0]
call fcn.004164f0
jmp 0x899944
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x31], 0
je 0x899846
lea rcx, [rbp + 0x70]
lea rdx, [0x00899a68]
call fcn.00410a30
call fcn.004857d0
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x70]
movapd xmm2, xmm0
mov r9, qword [0x00b6fa60]
call fcn.00486fa0
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0xe8]
mov r8d, 1
call fcn.004127e0
lea rcx, [rbp + 0xe8]
lea rdx, [0x00899aa8]
call fcn.00412400
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x32], 0
je 0x8998cd
lea rcx, [rbp + 0xe8]
call fcn.00410ca0
mov rcx, rax
xor rax, rax
cmp qword [rbp + 0xe8], 0
je 0x899889
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax - 4]
mov rdx, qword [rbp + 0x30]
mov rdx, qword [rdx + 0x20]
mov r8, rdx
mov r9, rcx
add eax, eax
mov rbx, qword [rdx]
mov rcx, r8
mov rdx, r9
mov r8d, eax
call qword [rbx + 0x20]
xor rax, rax
cmp qword [rbp + 0xe8], 0
je 0x8998bf
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax - 4]
mov rcx, qword [rbp + 0x30]
lea rcx, [rcx + 0x28]
add eax, eax
add dword [rcx], eax
jmp 0x899944
lea rcx, [rbp + 0xa8]
mov rdx, qword [rbp + 0xe8]
call fcn.004166c0
lea rcx, [rbp + 0xa8]
call fcn.00410cb0
mov rcx, rax
xor rax, rax
cmp qword [rbp + 0xa8], 0
je 0x899906
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax - 4]
mov rdx, qword [rbp + 0x30]
mov rdx, qword [rdx + 0x20]
mov r8, rdx
mov r9, rcx
mov rbx, qword [rdx]
mov rcx, r8
mov rdx, r9
mov r8d, eax
call qword [rbx + 0x20]
xor rax, rax
cmp qword [rbp + 0xa8], 0
je 0x89993a
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax - 4]
mov rcx, qword [rbp + 0x30]
lea rcx, [rcx + 0x28]
add dword [rcx], eax
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.00410440
lea rcx, [rbp + 0x68]
mov edx, 6
call fcn.00410440
lea rcx, [rbp + 0xa8]
call fcn.004103b0
lea rcx, [rbp + 0xb8]
call fcn.00410360
lea rcx, [rbp + 0xe8]
call fcn.00410360
lea rsp, [rbp + 0xc0]
pop rbx
pop rsi
pop rbp
ret