Function at 0x180013060
Capabilities:
Copy file

Disassembly:
mov r11, rsp
sub rsp, 0x248
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [rcx + 0x28]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rsi, rcx
mov qword [r11 - 8], rdi
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180013153
nop
mov rdi, qword [rbx + 0x28]
lea rdx, [0x1800401fc]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
movzx r8d, byte [rax]
call fcn.180009f60
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1800130c5
test eax, eax
jle 0x1800130f6
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x1800130e4
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x180013146
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180013120
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180013146
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180013112
jmp 0x180013146
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180013143
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x180013143
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180013130
mov rbx, rax
mov rax, qword [rsi + 0x28]
cmp rbx, qword [rax]
jne 0x1800130a0
mov rax, qword [rsi + 0x30]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180013223
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x1800401fc]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
mov r8d, dword [rax]
call fcn.180009f60
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180013194
test eax, eax
jle 0x1800131c5
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x1800131b3
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x180013216
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800131ef
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180013216
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800131e1
jmp 0x180013216
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180013213
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180013213
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180013200
mov rbx, rax
mov rax, qword [rsi + 0x30]
cmp rbx, qword [rax]
jne 0x180013170
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800132eb
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x1800406bc]
lea rcx, [rsp + 0x20]
mov r8, qword [rdi + 8]
call fcn.180009f60
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180013261
test eax, eax
jle 0x180013292
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x180013280
mov r9, qword [r9]
lea r8, [rsp + 0x20]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rbx + 0x19], 0
jne 0x1800132de
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800132be
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800132de
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800132b0
jmp 0x1800132de
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800132db
cmp rbx, qword [rax + 0x10]
jne 0x1800132db
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800132c8
mov rbx, rax
mov rax, qword [rsi + 0x38]
cmp rbx, qword [rax]
jne 0x180013240
mov rdi, qword [rsp + 0x240]
lea rbx, [rsi + 0x130]
cmp qword [rbx + 0x18], 8
jb 0x180013306
mov r9, qword [rbx]
jmp 0x180013309
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.ModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180013330
mov r9, qword [rbx]
jmp 0x180013333
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x18001335a
mov r9, qword [rbx]
jmp 0x18001335d
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.TempModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180013382
mov rbx, qword [rbx]
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.TempModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rbx, qword [rsp + 0x258]
lea rdx, [rsi + 0x110]
cmp qword [rdx + 0x18], 8
jb 0x1800133b9
mov rdx, qword [rdx]
lea rcx, [rsi + 0xf0]
mov rsi, qword [rsp + 0x260]
cmp qword [rcx + 0x18], 8
jb 0x1800133d2
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.18001d7b0
add rsp, 0x248
ret