Function at 0x18002aa30
Capabilities:
Copy file

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 8], 0
mov rsi, rcx
jne 0x18002aa5b
xor eax, eax
jmp 0x18002ad0b
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x258], rbx
mov qword [rsp + 0x260], rdi
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002ab33
nop
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18004aa10]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
movzx r8d, byte [rax]
call fcn.180010140
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002aaa5
test eax, eax
jle 0x18002aad6
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002aac4
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x18002ab26
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002ab00
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002ab26
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002aaf2
jmp 0x18002ab26
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002ab23
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x18002ab23
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002ab10
mov rbx, rax
mov rax, qword [rsi + 0x30]
cmp rbx, qword [rax]
jne 0x18002aa80
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002ac03
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18004aa10]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
mov r8d, dword [rax]
call fcn.180010140
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002ab74
test eax, eax
jle 0x18002aba5
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002ab93
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x18002abf6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002abcf
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002abf6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002abc1
jmp 0x18002abf6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002abf3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x18002abf3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002abe0
mov rbx, rax
mov rax, qword [rsi + 0x38]
cmp rbx, qword [rax]
jne 0x18002ab50
mov rax, qword [rsi + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002accb
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18004aca4]
lea rcx, [rsp + 0x20]
mov r8, qword [rdi + 8]
call fcn.180010140
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002ac41
test eax, eax
jle 0x18002ac72
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002ac60
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x18002acbe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002ac9e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002acbe
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002ac90
jmp 0x18002acbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002acbb
cmp rbx, qword [rax + 0x10]
jne 0x18002acbb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002aca8
mov rbx, rax
mov rax, qword [rsi + 0x40]
cmp rbx, qword [rax]
jne 0x18002ac20
mov rdi, qword [rsp + 0x260]
lea rdx, [rsi + 0x118]
cmp qword [rdx + 0x18], 8
mov rbx, qword [rsp + 0x258]
jb 0x18002acec
mov rdx, qword [rdx]
lea rcx, [rsi + 0xf8]
cmp qword [rcx + 0x18], 8
jb 0x18002acfd
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x240
pop rsi
ret