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

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x260
mov rax, qword [0x1800a0830]
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.18004f390
lea rsi, [rbp + 0xf8]
cmp qword [rsi + 0x18], 8
jb 0x18002bfbd
mov rcx, qword [rsi]
jmp 0x18002bfc0
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002c00f
lea rbx, [rbp + 0x118]
cmp qword [rbx + 0x18], 8
jb 0x18002bfdd
mov rcx, qword [rbx]
jmp 0x18002bfe0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18002c00f
cmp qword [rsi + 0x18], 8
jb 0x18002bff6
mov rdx, qword [rsi]
jmp 0x18002bff9
mov rdx, rsi
cmp qword [rbx + 0x18], 8
jb 0x18002c003
mov rbx, qword [rbx]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x258], rdi
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002c11b
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 0x18002c040
test eax, eax
jle 0x18002c0bd
cmp qword [rsi + 0x18], 8
jb 0x18002c05a
mov rax, qword [rsi]
jmp 0x18002c05d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1800717b0]
mov dword [rsp + 0x20], 0x104
lea rcx, str.IntgftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1800717b0]
jne 0x18002c0ad
movzx eax, word [rsp + 0x32]
cmp ax, word [0x1800717b2]
jne 0x18002c0ad
movzx eax, word [rsp + 0x34]
cmp ax, word [0x1800717b4]
je 0x18002c0bd
lea rcx, [rsp + 0x30]
call fcn.180055dfc
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
cmp byte [rbx + 0x19], 0
jne 0x18002c10e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c0ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c10e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c0e0
jmp 0x18002c10e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c10b
cmp rbx, qword [rax + 0x10]
jne 0x18002c10b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c0f8
mov rbx, rax
mov rax, qword [rbp + 0x38]
cmp rbx, qword [rax]
jne 0x18002c030
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002c21b
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 0x18002c140
test eax, eax
jle 0x18002c1bd
cmp qword [rsi + 0x18], 8
jb 0x18002c15a
mov rax, qword [rsi]
jmp 0x18002c15d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1800717b0]
mov dword [rsp + 0x20], 0x104
lea rcx, str.IntgftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1800717b0]
jne 0x18002c1ad
movzx eax, word [rsp + 0x32]
cmp ax, word [0x1800717b2]
jne 0x18002c1ad
movzx eax, word [rsp + 0x34]
cmp ax, word [0x1800717b4]
je 0x18002c1bd
lea rcx, [rsp + 0x30]
call fcn.180055dfc
mov rcx, qword [rdi + 8]
mov byte [rcx], al
cmp byte [rbx + 0x19], 0
jne 0x18002c20e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c1ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c20e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c1e0
jmp 0x18002c20e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c20b
cmp rbx, qword [rax + 0x10]
jne 0x18002c20b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c1f8
mov rbx, rax
mov rax, qword [rbp + 0x30]
cmp rbx, qword [rax]
jne 0x18002c130
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002c333
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 0x18002c250
test eax, eax
jle 0x18002c2d3
cmp qword [rsi + 0x18], 8
jb 0x18002c26a
mov rax, qword [rsi]
jmp 0x18002c26d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov r8, r14
mov dword [rsp + 0x20], 0x104
lea rcx, str.IntgftSet
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 0x18002c2b7
cmp rcx, 8
jne 0x18002c2a0
jmp 0x18002c2d3
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 0x18002c2c0
cmp byte [rbx + 0x19], 0
jne 0x18002c31e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c2fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c31e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c2f0
jmp 0x18002c31e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c31b
cmp rbx, qword [rax + 0x10]
jne 0x18002c31b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c308
mov rbx, rax
mov rax, qword [rbp + 0x40]
cmp rbx, qword [rax]
jne 0x18002c240
mov r14, qword [rsp + 0x250]
mov rcx, rbp
call fcn.18002c5b0
mov rax, qword [rbp + 0xb0]
mov rdi, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x278]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18002c46e
nop dword [rax]
mov r10, qword [rbp + 0x38]
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 0x18002c3a9
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18002c39c
mov r8, qword [r8 + 0x10]
jmp 0x18002c3a2
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c390
cmp rax, rdx
je 0x18002c3b4
cmp r9d, dword [rax + 0x20]
jge 0x18002c3b7
mov rax, rdx
cmp rax, rdx
jne 0x18002c3fd
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x18002c3ea
cmp dword [r8 + 0x20], r9d
jge 0x18002c3dd
mov r8, qword [r8 + 0x10]
jmp 0x18002c3e3
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c3d1
cmp rax, rdx
je 0x18002c3f5
cmp r9d, dword [rax + 0x20]
jge 0x18002c3f8
mov rax, rdx
cmp rax, rdx
je 0x18002c412
mov rax, qword [rax + 0x28]
test rax, rax
je 0x18002c412
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
mov eax, dword [rax]
mov dword [rdx], eax
cmp byte [rcx + 0x19], 0
jne 0x18002c45e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c43e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c45e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c430
jmp 0x18002c45e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c45b
cmp rcx, qword [rax + 0x10]
jne 0x18002c45b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c448
mov rcx, rax
mov rax, qword [rbp + 0xb0]
cmp rcx, qword [rax]
jne 0x18002c370
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18002c58e
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rbp + 0x38]
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 0x18002c4c9
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18002c4bc
mov r8, qword [r8 + 0x10]
jmp 0x18002c4c2
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c4b0
cmp rax, rdx
je 0x18002c4d4
cmp r9d, dword [rax + 0x20]
jge 0x18002c4d7
mov rax, rdx
cmp rax, rdx
jne 0x18002c51d
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x18002c50a
cmp dword [r8 + 0x20], r9d
jge 0x18002c4fd
mov r8, qword [r8 + 0x10]
jmp 0x18002c503
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c4f1
cmp rax, rdx
je 0x18002c515
cmp r9d, dword [rax + 0x20]
jge 0x18002c518
mov rax, rdx
cmp rax, rdx
je 0x18002c533
mov rax, qword [rax + 0x28]
test rax, rax
je 0x18002c533
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
movzx eax, byte [rax]
mov byte [rdx], al
cmp byte [rcx + 0x19], 0
jne 0x18002c57e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c55e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c57e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c550
jmp 0x18002c57e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c57b
cmp rcx, qword [rax + 0x10]
jne 0x18002c57b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c568
mov rcx, rax
mov rax, qword [rbp + 0xa8]
cmp rcx, qword [rax]
jne 0x18002c490
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18002f6f0
add rsp, 0x260
pop rbp
ret