Function at 0x818590
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov qword [rbp + 0xd0], r8
mov qword [rbp + 0xd8], r9
mov rcx, qword [rbp + 0xc0]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xc8]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xd0]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xd8]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xe0]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xe8]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xf0]
call fcn.0040f0e0
mov rcx, qword [rbp + 0xf8]
call fcn.0040f0e0
nop
call fcn.00817ed0
test al, al
je 0x81873b
mov rcx, 0xffffffff80000002
lea rdx, [0x00818bd0]
xor r8, r8
mov r9, qword [rbp + 0xc0]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf013f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818bd0]
lea r8, [0x00818c58]
mov r9, qword [rbp + 0xc8]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf013f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818c74]
lea r8, [0x00818d30]
mov r9, qword [rbp + 0xd0]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf013f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818c74]
lea r8, [0x00818d4c]
mov r9, qword [rbp + 0xd8]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf013f
call fcn.006f7450
jmp 0x8187ef
mov rcx, 0xffffffff80000002
lea rdx, [0x00818bd0]
xor r8, r8
mov r9, qword [rbp + 0xc0]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818bd0]
lea r8, [0x00818c58]
mov r9, qword [rbp + 0xc8]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818c74]
lea r8, [0x00818d30]
mov r9, qword [rbp + 0xd0]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
mov rcx, 0xffffffff80000002
lea rdx, [0x00818c74]
lea r8, [0x00818d4c]
mov r9, qword [rbp + 0xd8]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
mov rcx, 0xffffffff80000000
lea rdx, [0x00818d68]
lea r8, [0x00818d30]
mov r9, qword [rbp + 0xd0]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
call fcn.00817ed0
test al, al
je 0x81882b
call fcn.00817ef0
lea rcx, [rbp + 0x78]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x78]
lea rdx, [0x00818e1c]
call fcn.00410ad0
mov rcx, qword [rbp + 0x78]
mov edx, 0x20
mov r8b, 1
call fcn.00433fa0
lea rcx, [rbp + 0x70]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x70]
lea rdx, [0x00818e54]
call fcn.00410ad0
mov rcx, qword [rbp + 0x70]
mov edx, 0x20
mov r8b, 1
call fcn.00433fa0
lea rcx, [rbp + 0x68]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x68]
lea rdx, [0x00818e8c]
call fcn.00410ad0
mov rcx, qword [rbp + 0x68]
mov edx, 0x20
mov r8b, 1
call fcn.00433fa0
lea rcx, [rbp + 0x60]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x60]
lea rdx, [0x00818ecc]
call fcn.00410ad0
mov rcx, qword [rbp + 0x60]
mov edx, 0x20
mov r8b, 1
call fcn.00433fa0
lea rcx, [rbp + 0x58]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x58]
lea r8, [0x00818e1c]
call fcn.00410bc0
mov rcx, qword [rbp + 0x90]
call fcn.00434230
lea rcx, [0x00818f04]
lea rdx, [0x00818f20]
mov r8, qword [rbp + 0xe0]
mov r9, qword [rbp + 0x90]
call fcn.006fcff0
lea rcx, [0x00818f04]
lea rdx, [0x00818f48]
mov r8, qword [rbp + 0xe8]
mov r9, qword [rbp + 0x90]
call fcn.006fcff0
mov rcx, qword [rbp + 0x100]
mov rax, qword [rbp + 0x100]
mov rax, qword [rax]
call qword [rax + 0x28]
xor rcx, rcx
mov ebx, eax
sub ebx, 1
mov dword [rbp + 0x8c], ecx
cmp dword [rbp + 0x8c], ebx
jg 0x818a04
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, dword [rbp + 0x8c]
add edx, 1
call fcn.00432c30
lea rcx, [rbp + 0x50]
lea rdx, [0x00818f94]
mov r8, qword [rbp + 0x48]
call fcn.00410bc0
mov rcx, qword [rbp + 0x100]
lea rdx, [rbp + 0x40]
mov r8d, dword [rbp + 0x8c]
mov rax, qword [rbp + 0x100]
mov rsi, qword [rax]
call qword [rsi + 0x18]
lea rcx, [0x00818f60]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
mov r9, qword [rbp + 0x90]
call fcn.006fcff0
add dword [rbp + 0x8c], 1
cmp dword [rbp + 0x8c], ebx
jne 0x818995
nop
mov rcx, qword [rbp + 0xf0]
mov dl, 1
call fcn.00433a90
test al, al
je 0x818a5d
mov rcx, qword [rbp + 0xf0]
call fcn.00410760
mov rbx, rax
lea rcx, [rbp + 0x38]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x38]
lea rdx, [0x00818e54]
call fcn.00410ad0
mov rcx, qword [rbp + 0x38]
call fcn.00410760
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.KERNEL32.DLL_CopyFileW
mov rcx, qword [rbp + 0xf8]
mov dl, 1
call fcn.00433a90
test al, al
je 0x818b18
call fcn.00817ed0
test al, al
je 0x818aa8
mov rcx, 0xffffffff80000002
lea rdx, [0x00818fac]
xor r8, r8
lea r9, [0x0081904c]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf013f
call fcn.006f7450
jmp 0x818ad2
mov rcx, 0xffffffff80000002
lea rdx, [0x00818fac]
xor r8, r8
lea r9, [0x0081904c]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xf003f
call fcn.006f7450
mov rcx, qword [rbp + 0xf8]
call fcn.00410760
mov rbx, rax
lea rcx, [rbp + 0x30]
lea rdx, [0x00818e00]
call fcn.00442e40
lea rcx, [rbp + 0x30]
lea rdx, [0x00818ecc]
call fcn.00410ad0
mov rcx, qword [rbp + 0x30]
call fcn.00410760
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.KERNEL32.DLL_CopyFileW
nop
lea rcx, [rbp + 0x30]
mov edx, 0xa
call fcn.0040f030
lea rcx, [rbp + 0x90]
call fcn.0040ef50
lea rcx, [rbp + 0xc0]
mov edx, 8
call fcn.0040f030
movzx rax, byte [rbp + 0x9f]
lea rsp, [rbp + 0xa0]
pop rbx
pop rsi
pop rbp
ret