Function at 0x180178580
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x360], rax
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x388]
call fcn.180009610
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x90]
call fcn.1801783f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800095a0
movzx eax, al
test eax, eax
je 0x180178607
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x30]
jmp 0x1801788b6
lea rcx, [rsp + 0x90]
call fcn.180011cd0
movzx eax, al
test eax, eax
jne 0x180178637
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x31]
jmp 0x1801788b6
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x90]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x150]
lea r8, [0x1801d9f90]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x150]
lea rcx, [0x1801d9f90]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1801786b0
add rax, 2
test dx, dx
jne 0x18017869a
xor eax, eax
jmp 0x1801786b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1801786d5
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x32]
jmp 0x1801788b6
lea rcx, [rsp + 0x70]
call fcn.180009720
nop
lea rdx, [rsp + 0x70]
mov ecx, 0x1c
call fcn.18012fd10
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x18017870d
lea rcx, [rsp + 0x70]
call fcn.1800095a0
movzx eax, al
test eax, eax
je 0x180178734
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x70]
call fcn.180009660
nop
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x34]
jmp 0x1801788b6
mov r8, qword [rsp + 0x380]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.180016500
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180009680
nop
lea rcx, [rsp + 0xf0]
call fcn.180009660
lea rdx, str.Application
lea rcx, [rsp + 0xb0]
call fcn.1800096e0
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180016500
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180009680
nop
lea rcx, [rsp + 0x110]
call fcn.180009660
nop
lea rcx, [rsp + 0xb0]
call fcn.180009660
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.1800096e0
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.180016500
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.180009680
nop
lea rcx, [rsp + 0x130]
call fcn.180009660
nop
lea rcx, [rsp + 0xd0]
call fcn.180009660
lea rcx, [rsp + 0x70]
call fcn.180011e10
movzx eax, al
test eax, eax
jne 0x180178882
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x70]
call fcn.180009660
nop
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x35]
jmp 0x1801788b6
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x388]
call fcn.180009630
mov byte [rsp + 0x36], 1
lea rcx, [rsp + 0x70]
call fcn.180009660
nop
lea rcx, [rsp + 0x90]
call fcn.180009660
movzx eax, byte [rsp + 0x36]
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x370
pop rdi
ret