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

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x260
mov rax, qword [0x180075010]
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.18002ddc0
lea rsi, [rbp + 0xf8]
cmp qword [rsi + 0x18], 8
jb 0x180029b2d
mov rcx, qword [rsi]
jmp 0x180029b30
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180029b7f
lea rbx, [rbp + 0x118]
cmp qword [rbx + 0x18], 8
jb 0x180029b4d
mov rcx, qword [rbx]
jmp 0x180029b50
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180029b7f
cmp qword [rsi + 0x18], 8
jb 0x180029b66
mov rdx, qword [rsi]
jmp 0x180029b69
mov rdx, rsi
cmp qword [rbx + 0x18], 8
jb 0x180029b73
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 0x180029c8b
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 0x180029bb0
test eax, eax
jle 0x180029c2d
cmp qword [rsi + 0x18], 8
jb 0x180029bca
mov rax, qword [rsi]
jmp 0x180029bcd
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x18004f558]
mov dword [rsp + 0x20], 0x104
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x18004f558]
jne 0x180029c1d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x18004f55a]
jne 0x180029c1d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x18004f55c]
je 0x180029c2d
lea rcx, [rsp + 0x30]
call fcn.180034430
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
cmp byte [rbx + 0x19], 0
jne 0x180029c7e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180029c5e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180029c7e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180029c50
jmp 0x180029c7e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180029c7b
cmp rbx, qword [rax + 0x10]
jne 0x180029c7b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180029c68
mov rbx, rax
mov rax, qword [rbp + 0x38]
cmp rbx, qword [rax]
jne 0x180029ba0
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180029d8b
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 0x180029cb0
test eax, eax
jle 0x180029d2d
cmp qword [rsi + 0x18], 8
jb 0x180029cca
mov rax, qword [rsi]
jmp 0x180029ccd
mov rax, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x18004f558]
mov dword [rsp + 0x20], 0x104
lea rcx, str.GDftSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x18004f558]
jne 0x180029d1d
movzx eax, word [rsp + 0x32]
cmp ax, word [0x18004f55a]
jne 0x180029d1d
movzx eax, word [rsp + 0x34]
cmp ax, word [0x18004f55c]
je 0x180029d2d
lea rcx, [rsp + 0x30]
call fcn.180034430
mov rcx, qword [rdi + 8]
mov byte [rcx], al
cmp byte [rbx + 0x19], 0
jne 0x180029d7e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180029d5e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180029d7e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180029d50
jmp 0x180029d7e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180029d7b
cmp rbx, qword [rax + 0x10]
jne 0x180029d7b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180029d68
mov rbx, rax
mov rax, qword [rbp + 0x30]
cmp rbx, qword [rax]
jne 0x180029ca0
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180029ea3
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 0x180029dc0
test eax, eax
jle 0x180029e43
cmp qword [rsi + 0x18], 8
jb 0x180029dda
mov rax, qword [rsi]
jmp 0x180029ddd
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 0x180029e27
cmp rcx, 8
jne 0x180029e10
jmp 0x180029e43
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 0x180029e30
cmp byte [rbx + 0x19], 0
jne 0x180029e8e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180029e6e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180029e8e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180029e60
jmp 0x180029e8e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180029e8b
cmp rbx, qword [rax + 0x10]
jne 0x180029e8b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180029e78
mov rbx, rax
mov rax, qword [rbp + 0x40]
cmp rbx, qword [rax]
jne 0x180029db0
mov r14, qword [rsp + 0x250]
mov rcx, rbp
call fcn.18002a120
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 0x180029fde
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 0x180029f19
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x180029f0c
mov r8, qword [r8 + 0x10]
jmp 0x180029f12
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x180029f00
cmp rax, rdx
je 0x180029f24
cmp r9d, dword [rax + 0x20]
jge 0x180029f27
mov rax, rdx
cmp rax, rdx
jne 0x180029f6d
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x180029f5a
cmp dword [r8 + 0x20], r9d
jge 0x180029f4d
mov r8, qword [r8 + 0x10]
jmp 0x180029f53
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x180029f41
cmp rax, rdx
je 0x180029f65
cmp r9d, dword [rax + 0x20]
jge 0x180029f68
mov rax, rdx
cmp rax, rdx
je 0x180029f82
mov rax, qword [rax + 0x28]
test rax, rax
je 0x180029f82
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
mov eax, dword [rax]
mov dword [rdx], eax
cmp byte [rcx + 0x19], 0
jne 0x180029fce
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180029fae
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180029fce
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180029fa0
jmp 0x180029fce
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x180029fcb
cmp rcx, qword [rax + 0x10]
jne 0x180029fcb
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180029fb8
mov rcx, rax
mov rax, qword [rbp + 0xb0]
cmp rcx, qword [rax]
jne 0x180029ee0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rax]
cmp rcx, rax
je 0x18002a0fe
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 0x18002a039
nop dword [rax]
cmp dword [r8 + 0x20], r9d
jge 0x18002a02c
mov r8, qword [r8 + 0x10]
jmp 0x18002a032
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002a020
cmp rax, rdx
je 0x18002a044
cmp r9d, dword [rax + 0x20]
jge 0x18002a047
mov rax, rdx
cmp rax, rdx
jne 0x18002a08d
mov r10, qword [rbp + 0x30]
mov rdx, qword [r10]
mov rax, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x18002a07a
cmp dword [r8 + 0x20], r9d
jge 0x18002a06d
mov r8, qword [r8 + 0x10]
jmp 0x18002a073
mov rax, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x18002a061
cmp rax, rdx
je 0x18002a085
cmp r9d, dword [rax + 0x20]
jge 0x18002a088
mov rax, rdx
cmp rax, rdx
je 0x18002a0a3
mov rax, qword [rax + 0x28]
test rax, rax
je 0x18002a0a3
mov rax, qword [rax + 8]
mov rdx, qword [r11 + 8]
movzx eax, byte [rax]
mov byte [rdx], al
cmp byte [rcx + 0x19], 0
jne 0x18002a0ee
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18002a0ce
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18002a0ee
nop
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18002a0c0
jmp 0x18002a0ee
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002a0eb
cmp rcx, qword [rax + 0x10]
jne 0x18002a0eb
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002a0d8
mov rcx, rax
mov rax, qword [rbp + 0xa8]
cmp rcx, qword [rax]
jne 0x18002a000
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x260
pop rbp
ret