Function at 0x180009410
Capabilities:
Get common file path
Read .ini file

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x8d8]
sub rsp, 0x9d8
mov rax, qword [0x1800c6d00]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
mov r14, rcx
call qword [0x1800c56d0]
test eax, eax
je 0x1800098d3
mov qword [rsp + 0x9f8], rbx
lea rcx, [rbp + 0x172]
mov qword [rsp + 0xa08], rdi
xor edx, edx
mov qword [rsp + 0x9d0], r12
mov r8d, 0x206
mov qword [rsp + 0x9c8], r13
mov qword [rsp + 0x9c0], r15
xor r15d, r15d
mov word [rbp + 0x170], r15w
call fcn.1800a24f0
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0xc8
call fcn.1800a24f0
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x380]
mov r9d, 0x64
mov edx, 0x1c31
call qword [sym.imp.USER32.dll_LoadStringW]
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x50]
mov r9d, 0x53
mov edx, 0x1c36
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rbp + 0x50]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r15w
lea rcx, [rcx + 1]
jne 0x1800094f0
movups xmm0, xmmword [str.__.TWS_]
movzx eax, word [0x1800a6e78]
lea r12, [0x1800cbcf0]
movups xmm1, xmmword [0x1800a6e68]
movups xmmword [rbp + rcx*2 + 0x50], xmm0
movups xmmword [rbp + rcx*2 + 0x60], xmm1
mov word [rbp + rcx*2 + 0x70], ax
mov rcx, r12
call fcn.18000c8f0
test eax, eax
jne 0x180009541
mov rdx, r12
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [0x1800a6e50]
mov qword [rsp + 0xa00], rsi
lea rbx, [0x1800a5b48]
lea r13, [0x1800a7260]
nop
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x20], rax
mov edi, r15d
movups xmmword [rbp - 0x80], xmm0
lea rax, [rbp + 0x50]
mov dword [rbp - 0x78], 0x104
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x48], rcx
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x50], 0x98
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x58], r14
movups xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x70], r15
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x7c], r15d
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x170]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x380]
mov qword [rbp - 0x58], rax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x70], r15
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x50], 0x80180c
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x1800098a3
xor edx, edx
mov word [rbp + 0x450], r15w
mov r8d, 0x256
lea rcx, [rbp + 0x452]
call fcn.1800a24f0
lea rcx, [rbp + 0x170]
call fcn.18000c940
test eax, eax
jne 0x18000966f
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x450]
mov r9d, 0x12c
mov edx, 0x1c32
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0x170]
mov qword [rsp + 0x20], r15
lea r8, str.filename
mov edx, 0x12c
lea rcx, [rbp + 0x450]
call fcn.18000c2d0
mov edi, 0x15
test edi, edi
jne 0x180009879
mov qword [rsp + 0x40], r15
lea r9, [rbp + 0x6b0]
mov qword [rsp + 0x38], r15
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x30], r15
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x28], r15
mov r8d, 3
mov qword [rsp + 0x20], 0x100
call fcn.180078fe0
lea r9, [rbp + 0x6b0]
mov qword [rsp + 0x28], rbx
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], rbx
mov edx, 0x104
mov rcx, r12
call fcn.1800780a4
lea rax, [rbp + 0x170]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rbp]
lea rdx, [0x1800a7258]
mov dword [rsp + 0x20], 0x28
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1800098ed
call qword [0x1800c5468]
mov edx, 0x28
lea rcx, [rbp + 0x120]
mov r8, rax
mov r9, 0xffffffffffffffff
call fcn.180042708
lea rax, [rbp]
lea r8, [rbp + 0x120]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180009754
add rax, 2
test ecx, ecx
jne 0x180009740
test edx, edx
je 0x1800097a3
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x450]
mov r9d, 0x12c
mov edx, 0x1c34
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp]
mov qword [rsp + 0x20], r15
lea r8, str.scanner
mov edx, 0x12c
lea rcx, [rbp + 0x450]
call fcn.18000c2d0
mov edi, 0x15
jmp 0x180009879
mov rcx, qword [0x1800cad38]
mov edx, 0x6a4
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [0x1800cc980]
lea r9, [rbp + 0x170]
lea r8, str.ReadParams:___S____S__Profyle_d
mov dword [rsp + 0x28], r15d
mov edx, 2
mov qword [rsp + 0x20], r13
mov rsi, rax
call fcn.1800073b0
mov r8, qword [0x1800c5658]
lea rdx, [rbp + 0x170]
mov rcx, r13
mov word [0x1800cab90], r15w
mov word [0x1800cac10], r15w
call r8
lea rdx, [rbp + 0x170]
mov rcx, r13
mov ebx, eax
call qword [0x1800c5958]
lea r8, [rbp + 0x170]
mov rdx, r13
lea rcx, [0x1800cab90]
call fcn.18002fd10
cmp ebx, 1
je 0x180009860
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x450]
mov r9d, 0x12c
mov edx, 0x1c35
call qword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x15
test rsi, rsi
je 0x18000986e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetCursor]
lea rbx, [0x1800a5b48]
test edi, edi
je 0x1800098a3
mov r9d, edi
lea r8, [rbp + 0x380]
lea rdx, [rbp + 0x450]
mov rcx, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [0x1800a6e50]
cmp eax, 4
je 0x180009560
mov rsi, qword [rsp + 0xa00]
mov r12, qword [rsp + 0x9d0]
mov rdi, qword [rsp + 0xa08]
mov r13, qword [rsp + 0x9c8]
mov rbx, qword [rsp + 0x9f8]
mov r15, qword [rsp + 0x9c0]
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.180032180
add rsp, 0x9d8
pop r14
pop rbp
ret
call fcn.180005d70
mov rcx, rax
lea r8, [rbp + 0x450]
mov r9d, 0x12c
mov edx, 0x1c33
call qword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x15
jmp 0x180009879