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

Disassembly:
mov r11, rsp
sub rsp, 0x268
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rbp, rcx
mov qword [r11 - 0x18], r15
lea rcx, [rsp + 0x32]
xor r15d, r15d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], r15w
call fcn.1800be330
lea rsi, [rbp + 0xf8]
cmp qword [rsi + 0x18], 8
jb 0x18009053d
mov rcx, qword [rsi]
jmp 0x180090540
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18009058f
lea rbx, [rbp + 0x118]
cmp qword [rbx + 0x18], 8
jb 0x18009055d
mov rcx, qword [rbx]
jmp 0x180090560
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18009058f
cmp qword [rsi + 0x18], 8
jb 0x180090576
mov rdx, qword [rsi]
jmp 0x180090579
mov rdx, rsi
cmp qword [rbx + 0x18], 8
jb 0x180090583
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 + 0x260], rdi
mov rcx, qword [rax]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x18009069b
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], r15w
jne 0x1800905c0
test eax, eax
jle 0x18009063d
cmp qword [rsi + 0x18], 8
jb 0x1800905da
mov rax, qword [rsi]
jmp 0x1800905dd
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1801ebba0]
lea rcx, str.Setting
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1801ebba0]
jne 0x18009062d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x1801ebba2]
jne 0x18009062d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x1801ebba4]
je 0x18009063d
lea rcx, [rsp + 0x30]
call fcn.1800baa0c
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
cmp byte [rbx + 0x19], r15b
jne 0x18009068e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
jne 0x18009066e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
jne 0x18009068e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x180090660
jmp 0x18009068e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r15b
jne 0x18009068b
cmp rbx, qword [rax + 0x10]
jne 0x18009068b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x180090678
mov rbx, rax
mov rax, qword [rbp + 0x30]
cmp rbx, qword [rax]
jne 0x1800905b0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x18009079b
nop
mov rdi, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
nop dword [rax]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1800906c0
test eax, eax
jle 0x18009073d
cmp qword [rsi + 0x18], 8
jb 0x1800906da
mov rax, qword [rsi]
jmp 0x1800906dd
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1801ebba0]
lea rcx, str.Setting
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1801ebba0]
jne 0x18009072d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x1801ebba2]
jne 0x18009072d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x1801ebba4]
je 0x18009073d
lea rcx, [rsp + 0x30]
call fcn.1800baa0c
mov rcx, qword [rdi + 8]
mov byte [rcx], al
cmp byte [rbx + 0x19], r15b
jne 0x18009078e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
jne 0x18009076e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
jne 0x18009078e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x180090760
jmp 0x18009078e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r15b
jne 0x18009078b
cmp rbx, qword [rax + 0x10]
jne 0x18009078b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x180090778
mov rbx, rax
mov rax, qword [rbp + 0x28]
cmp rbx, qword [rax]
jne 0x1800906b0
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x1800908b3
mov qword [rsp + 0x258], 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], r15w
jne 0x1800907d0
test eax, eax
jle 0x180090854
cmp qword [rsi + 0x18], 8
jb 0x1800907ea
mov rax, qword [rsi]
jmp 0x1800907ed
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rcx, str.Setting
mov r8, r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, r15
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r14 + rcx*2 - 2]
jne 0x180090837
cmp rcx, 8
jne 0x180090820
jmp 0x180090854
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x30]
movzx eax, word [rcx]
lea rdx, [rdx + 2]
lea rcx, [rcx + 2]
mov word [rdx - 2], ax
test ax, ax
jne 0x180090840
cmp byte [rbx + 0x19], r15b
jne 0x18009089e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
jne 0x18009087e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
jne 0x18009089e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x180090870
jmp 0x18009089e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r15b
jne 0x18009089b
cmp rbx, qword [rax + 0x10]
jne 0x18009089b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x180090888
mov rbx, rax
mov rax, qword [rbp + 0x38]
cmp rbx, qword [rax]
jne 0x1800907c0
mov r14, qword [rsp + 0x258]
mov rcx, rbp
call fcn.180094440
mov r15, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x278]
lea r9, [rbp + 0x138]
cmp qword [r9 + 0x18], 8
mov rbp, qword [rsp + 0x280]
jb 0x1800908f4
mov r9, qword [r9]
lea r8, [0x1801ebd50]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x268
ret