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

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x260
mov rax, qword [0x1800a3830]
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.18004f700
lea rsi, [rbp + 0xf8]
cmp qword [rsi + 0x18], 8
jb 0x18002c2cd
mov rcx, qword [rsi]
jmp 0x18002c2d0
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002c31f
lea rbx, [rbp + 0x118]
cmp qword [rbx + 0x18], 8
jb 0x18002c2ed
mov rcx, qword [rbx]
jmp 0x18002c2f0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18002c31f
cmp qword [rsi + 0x18], 8
jb 0x18002c306
mov rdx, qword [rsi]
jmp 0x18002c309
mov rdx, rsi
cmp qword [rbx + 0x18], 8
jb 0x18002c313
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 0x18002c42b
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 0x18002c350
test eax, eax
jle 0x18002c3cd
cmp qword [rsi + 0x18], 8
jb 0x18002c36a
mov rax, qword [rsi]
jmp 0x18002c36d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x180074728]
mov dword [rsp + 0x20], 0x104
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x180074728]
jne 0x18002c3bd
movzx eax, word [rsp + 0x32]
cmp ax, word [0x18007472a]
jne 0x18002c3bd
movzx eax, word [rsp + 0x34]
cmp ax, word [0x18007472c]
je 0x18002c3cd
lea rcx, [rsp + 0x30]
call fcn.1800566f0
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
cmp byte [rbx + 0x19], 0
jne 0x18002c41e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c3fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c41e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c3f0
jmp 0x18002c41e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c41b
cmp rbx, qword [rax + 0x10]
jne 0x18002c41b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c408
mov rbx, rax
mov rax, qword [rbp + 0x38]
cmp rbx, qword [rax]
jne 0x18002c340
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002c52b
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 0x18002c450
test eax, eax
jle 0x18002c4cd
cmp qword [rsi + 0x18], 8
jb 0x18002c46a
mov rax, qword [rsi]
jmp 0x18002c46d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x180074728]
mov dword [rsp + 0x20], 0x104
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x180074728]
jne 0x18002c4bd
movzx eax, word [rsp + 0x32]
cmp ax, word [0x18007472a]
jne 0x18002c4bd
movzx eax, word [rsp + 0x34]
cmp ax, word [0x18007472c]
je 0x18002c4cd
lea rcx, [rsp + 0x30]
call fcn.1800566f0
mov rcx, qword [rdi + 8]
mov byte [rcx], al
cmp byte [rbx + 0x19], 0
jne 0x18002c51e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c4fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c51e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c4f0
jmp 0x18002c51e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c51b
cmp rbx, qword [rax + 0x10]
jne 0x18002c51b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c508
mov rbx, rax
mov rax, qword [rbp + 0x30]
cmp rbx, qword [rax]
jne 0x18002c440
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18002c643
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 0x18002c560
test eax, eax
jle 0x18002c5e3
cmp qword [rsi + 0x18], 8
jb 0x18002c57a
mov rax, qword [rsi]
jmp 0x18002c57d
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov r8, r14
mov dword [rsp + 0x20], 0x104
lea rcx, str.GDftSet
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 0x18002c5c7
cmp rcx, 8
jne 0x18002c5b0
jmp 0x18002c5e3
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 0x18002c5d0
cmp byte [rbx + 0x19], 0
jne 0x18002c62e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c60e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c62e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c600
jmp 0x18002c62e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c62b
cmp rbx, qword [rax + 0x10]
jne 0x18002c62b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c618
mov rbx, rax
mov rax, qword [rbp + 0x40]
cmp rbx, qword [rax]
jne 0x18002c550
mov r14, qword [rsp + 0x250]
mov rcx, rbp
call fcn.18002c8c0
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 0x18002c77e
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 0x18002c6b9
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18002c6ac
mov r8, qword [r8 + 0x10]
jmp 0x18002c6b2
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c6a0
cmp rax, rdx
je 0x18002c6c4
cmp r9d, dword [rax + 0x20]
jge 0x18002c6c7
mov rax, rdx
cmp rax, rdx
jne 0x18002c70d
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x18002c6fa
cmp dword [r8 + 0x20], r9d
jge 0x18002c6ed
mov r8, qword [r8 + 0x10]
jmp 0x18002c6f3
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c6e1
cmp rax, rdx
je 0x18002c705
cmp r9d, dword [rax + 0x20]
jge 0x18002c708
mov rax, rdx
cmp rax, rdx
je 0x18002c722
mov rax, qword [rax + 0x28]
test rax, rax
je 0x18002c722
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
mov eax, dword [rax]
mov dword [rdx], eax
cmp byte [rcx + 0x19], 0
jne 0x18002c76e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c74e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c76e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c740
jmp 0x18002c76e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c76b
cmp rcx, qword [rax + 0x10]
jne 0x18002c76b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c758
mov rcx, rax
mov rax, qword [rbp + 0xb0]
cmp rcx, qword [rax]
jne 0x18002c680
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18002c89e
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 0x18002c7d9
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18002c7cc
mov r8, qword [r8 + 0x10]
jmp 0x18002c7d2
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c7c0
cmp rax, rdx
je 0x18002c7e4
cmp r9d, dword [rax + 0x20]
jge 0x18002c7e7
mov rax, rdx
cmp rax, rdx
jne 0x18002c82d
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x18002c81a
cmp dword [r8 + 0x20], r9d
jge 0x18002c80d
mov r8, qword [r8 + 0x10]
jmp 0x18002c813
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002c801
cmp rax, rdx
je 0x18002c825
cmp r9d, dword [rax + 0x20]
jge 0x18002c828
mov rax, rdx
cmp rax, rdx
je 0x18002c843
mov rax, qword [rax + 0x28]
test rax, rax
je 0x18002c843
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
movzx eax, byte [rax]
mov byte [rdx], al
cmp byte [rcx + 0x19], 0
jne 0x18002c88e
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002c86e
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002c88e
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002c860
jmp 0x18002c88e
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002c88b
cmp rcx, qword [rax + 0x10]
jne 0x18002c88b
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002c878
mov rcx, rax
mov rax, qword [rbp + 0xa8]
cmp rcx, qword [rax]
jne 0x18002c7a0
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x260
pop rbp
ret