Function at 0x180012250
Capabilities:
Copy file

Disassembly:
mov r11, rsp
sub rsp, 0x248
mov rax, qword [0x18005c800]
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 0x180012343
nop
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18003f1bc]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
movzx r8d, byte [rax]
call fcn.1800093d0
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1800122b5
test eax, eax
jle 0x1800122e6
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x1800122d4
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 0x180012336
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180012310
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180012336
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012302
jmp 0x180012336
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180012333
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x180012333
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180012320
mov rbx, rax
mov rax, qword [rsi + 0x28]
cmp rbx, qword [rax]
jne 0x180012290
mov rax, qword [rsi + 0x30]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180012413
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18003f1bc]
lea rcx, [rsp + 0x20]
mov rax, qword [rdi + 8]
mov r8d, dword [rax]
call fcn.1800093d0
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180012384
test eax, eax
jle 0x1800123b5
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x1800123a3
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 0x180012406
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800123df
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180012406
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800123d1
jmp 0x180012406
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180012403
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180012403
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800123f0
mov rbx, rax
mov rax, qword [rsi + 0x30]
cmp rbx, qword [rax]
jne 0x180012360
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800124db
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
lea rdx, [0x18003f618]
lea rcx, [rsp + 0x20]
mov r8, qword [rdi + 8]
call fcn.1800093d0
lea rdx, [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180012451
test eax, eax
jle 0x180012482
lea r9, [rsi + 0xf0]
cmp qword [r9 + 0x18], 8
jb 0x180012470
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 0x1800124ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800124ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800124ce
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800124a0
jmp 0x1800124ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800124cb
cmp rbx, qword [rax + 0x10]
jne 0x1800124cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800124b8
mov rbx, rax
mov rax, qword [rsi + 0x38]
cmp rbx, qword [rax]
jne 0x180012430
mov rdi, qword [rsp + 0x240]
lea rbx, [rsi + 0x130]
cmp qword [rbx + 0x18], 8
jb 0x1800124f6
mov r9, qword [rbx]
jmp 0x1800124f9
mov r9, rbx
lea r8, [0x18003f6b8]
lea rdx, str.ModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180012520
mov r9, qword [rbx]
jmp 0x180012523
mov r9, rbx
lea r8, [0x18003f6b8]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x18001254a
mov r9, qword [rbx]
jmp 0x18001254d
mov r9, rbx
lea r8, [0x18003f6b8]
lea rdx, str.TempModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180012572
mov rbx, qword [rbx]
mov r9, rbx
lea r8, [0x18003f6b8]
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 0x1800125a9
mov rdx, qword [rdx]
lea rcx, [rsi + 0xf0]
mov rsi, qword [rsp + 0x260]
cmp qword [rcx + 0x18], 8
jb 0x1800125c2
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.18001c850
add rsp, 0x248
ret