Function at 0x180011e20
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x260
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbp, rcx
mov qword [r11 + 0x10], rbx
lea rcx, [rsp + 0x30]
mov qword [r11 + 0x18], rsi
xor edx, edx
mov r8d, 0x208
call fcn.18001f6b0
lea rsi, [rbp + 0xf0]
cmp qword [rsi + 0x18], 8
jb 0x180011e6d
mov rcx, qword [rsi]
jmp 0x180011e70
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180011ebf
lea rbx, [rbp + 0x110]
cmp qword [rbx + 0x18], 8
jb 0x180011e8d
mov rcx, qword [rbx]
jmp 0x180011e90
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011ebf
cmp qword [rsi + 0x18], 8
jb 0x180011ea6
mov rdx, qword [rsi]
jmp 0x180011ea9
mov rdx, rsi
cmp qword [rbx + 0x18], 8
jb 0x180011eb3
mov rbx, qword [rbx]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x258], rdi
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180011fcb
nop word [rax + rax]
mov rdi, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180011ef0
test eax, eax
jle 0x180011f6d
cmp qword [rsi + 0x18], 8
jb 0x180011f0a
mov rax, qword [rsi]
jmp 0x180011f0d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x180041c70]
mov dword [rsp + 0x20], 0x104
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x180041c70]
jne 0x180011f5d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x180041c72]
jne 0x180011f5d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x180041c74]
je 0x180011f6d
lea rcx, [rsp + 0x30]
call fcn.180025928
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
cmp byte [rbx + 0x19], 0
jne 0x180011fbe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180011f9e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180011fbe
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180011f90
jmp 0x180011fbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180011fbb
cmp rbx, qword [rax + 0x10]
jne 0x180011fbb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180011fa8
mov rbx, rax
mov rax, qword [rbp + 0x30]
cmp rbx, qword [rax]
jne 0x180011ee0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800120cb
nop
mov rdi, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180011ff0
test eax, eax
jle 0x18001206d
cmp qword [rsi + 0x18], 8
jb 0x18001200a
mov rax, qword [rsi]
jmp 0x18001200d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x180041c70]
mov dword [rsp + 0x20], 0x104
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x180041c70]
jne 0x18001205d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x180041c72]
jne 0x18001205d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x180041c74]
je 0x18001206d
lea rcx, [rsp + 0x30]
call fcn.180025928
mov rcx, qword [rdi + 8]
mov byte [rcx], al
cmp byte [rbx + 0x19], 0
jne 0x1800120be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18001209e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800120be
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012090
jmp 0x1800120be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800120bb
cmp rbx, qword [rax + 0x10]
jne 0x1800120bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800120a8
mov rbx, rax
mov rax, qword [rbp + 0x28]
cmp rbx, qword [rax]
jne 0x180011fe0
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800121e3
mov qword [rsp + 0x250], r14
lea r14, str.nothing
nop dword [rax]
mov rdi, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180012100
test eax, eax
jle 0x180012183
cmp qword [rsi + 0x18], 8
jb 0x18001211a
mov rax, qword [rsi]
jmp 0x18001211d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov r8, r14
mov dword [rsp + 0x20], 0x104
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r14 + rcx*2 - 2]
jne 0x180012167
cmp rcx, 8
jne 0x180012150
jmp 0x180012183
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x30]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x180012170
cmp byte [rbx + 0x19], 0
jne 0x1800121ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800121ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800121ce
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800121a0
jmp 0x1800121ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800121cb
cmp rbx, qword [rax + 0x10]
jne 0x1800121cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800121b8
mov rbx, rax
mov rax, qword [rbp + 0x38]
cmp rbx, qword [rax]
jne 0x1800120f0
mov r14, qword [rsp + 0x250]
mov rcx, rbp
call fcn.180012490
mov rdi, qword [rsp + 0x258]
lea r9, [rbp + 0x130]
cmp qword [r9 + 0x18], 8
mov rsi, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x278]
jb 0x180012214
mov r9, qword [r9]
lea r8, [0x18004021c]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18001234e
nop word [rax + rax]
mov r10, qword [rbp + 0x30]
mov r11, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x20]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x180012289
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18001227c
mov r8, qword [r8 + 0x10]
jmp 0x180012282
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x180012270
cmp rax, rdx
je 0x180012294
cmp r9d, dword [rax + 0x20]
jge 0x180012297
mov rax, rdx
cmp rax, rdx
jne 0x1800122dd
mov r10, qword [rbp + 0x28]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x1800122ca
cmp dword [r8 + 0x20], r9d
jge 0x1800122bd
mov r8, qword [r8 + 0x10]
jmp 0x1800122c3
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x1800122b1
cmp rax, rdx
je 0x1800122d5
cmp r9d, dword [rax + 0x20]
jge 0x1800122d8
mov rax, rdx
cmp rax, rdx
je 0x1800122f2
mov rax, qword [rax + 0x28]
test rax, rax
je 0x1800122f2
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
mov eax, dword [rax]
mov dword [rdx], eax
cmp byte [rcx + 0x19], 0
jne 0x18001233e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18001231e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18001233e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012310
jmp 0x18001233e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001233b
cmp rcx, qword [rax + 0x10]
jne 0x18001233b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180012328
mov rcx, rax
mov rax, qword [rbp + 0xa8]
cmp rcx, qword [rax]
jne 0x180012250
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18001246e
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rbp + 0x30]
mov r11, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x20]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x1800123a9
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18001239c
mov r8, qword [r8 + 0x10]
jmp 0x1800123a2
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x180012390
cmp rax, rdx
je 0x1800123b4
cmp r9d, dword [rax + 0x20]
jge 0x1800123b7
mov rax, rdx
cmp rax, rdx
jne 0x1800123fd
mov r10, qword [rbp + 0x28]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x1800123ea
cmp dword [r8 + 0x20], r9d
jge 0x1800123dd
mov r8, qword [r8 + 0x10]
jmp 0x1800123e3
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x1800123d1
cmp rax, rdx
je 0x1800123f5
cmp r9d, dword [rax + 0x20]
jge 0x1800123f8
mov rax, rdx
cmp rax, rdx
je 0x180012413
mov rax, qword [rax + 0x28]
test rax, rax
je 0x180012413
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
movzx eax, byte [rax]
mov byte [rdx], al
cmp byte [rcx + 0x19], 0
jne 0x18001245e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18001243e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18001245e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012430
jmp 0x18001245e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001245b
cmp rcx, qword [rax + 0x10]
jne 0x18001245b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180012448
mov rcx, rax
mov rax, qword [rbp + 0xa0]
cmp rcx, qword [rax]
jne 0x180012370
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18001d7b0
add rsp, 0x260
pop rbp
ret