Function at 0x18002d1d0
Capabilities:
Copy file

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 8], 0
mov rsi, rcx
jne 0x18002d1fb
xor eax, eax
jmp 0x18002d4ab
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 0x18002d2d3
nop
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18006ee10]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
movzx r8d, byte [rax]
call fcn.180010760
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002d245
test eax, eax
jle 0x18002d276
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002d264
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 0x18002d2c6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002d2a0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002d2c6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002d292
jmp 0x18002d2c6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002d2c3
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x18002d2c3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002d2b0
mov rbx, rax
mov rax, qword [rsi + 0x30]
cmp rbx, qword [rax]
jne 0x18002d220
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002d3a3
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18006ee10]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
mov r8d, dword [rax]
call fcn.180010760
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002d314
test eax, eax
jle 0x18002d345
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002d333
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 0x18002d396
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002d36f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002d396
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002d361
jmp 0x18002d396
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002d393
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x18002d393
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002d380
mov rbx, rax
mov rax, qword [rsi + 0x38]
cmp rbx, qword [rax]
jne 0x18002d2f0
mov rax, qword [rsi + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002d46b
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18006f0f4]
lea rcx, [rsp + 0x20]
mov r8, qword [rdi + 8]
call fcn.180010760
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002d3e1
test eax, eax
jle 0x18002d412
lea r9, [rsi + 0xf8]
cmp qword [r9 + 0x18], 8
jb 0x18002d400
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 0x18002d45e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002d43e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002d45e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002d430
jmp 0x18002d45e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002d45b
cmp rbx, qword [rax + 0x10]
jne 0x18002d45b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002d448
mov rbx, rax
mov rax, qword [rsi + 0x40]
cmp rbx, qword [rax]
jne 0x18002d3c0
mov rdi, qword [rsp + 0x260]
lea rdx, [rsi + 0x118]
cmp qword [rdx + 0x18], 8
mov rbx, qword [rsp + 0x258]
jb 0x18002d48c
mov rdx, qword [rdx]
lea rcx, [rsi + 0xf8]
cmp qword [rcx + 0x18], 8
jb 0x18002d49d
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.18002fa40
add rsp, 0x240
pop rsi
ret