Function at 0x180178d60
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 [0x180268080]
xor rax, rsp
mov qword [rsp + 0x360], rax
lea rdx, [0x1801db0b8]
mov rcx, qword [rsp + 0x388]
call fcn.1800096a0
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x90]
call fcn.180178bd0
nop
lea rcx, [rsp + 0x90]
call fcn.180009630
movzx eax, al
test eax, eax
je 0x180178de7
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x30]
jmp 0x180179096
lea rcx, [rsp + 0x90]
call fcn.180011d60
movzx eax, al
test eax, eax
jne 0x180178e17
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x31]
jmp 0x180179096
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x90]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x150]
lea r8, [0x1801db0b8]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x150]
lea rcx, [0x1801db0b8]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x180178e90
add rax, 2
test dx, dx
jne 0x180178e7a
xor eax, eax
jmp 0x180178e95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180178eb5
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x32]
jmp 0x180179096
lea rcx, [rsp + 0x70]
call fcn.1800097b0
nop
lea rdx, [rsp + 0x70]
mov ecx, 0x1c
call fcn.18012fda0
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x180178eed
lea rcx, [rsp + 0x70]
call fcn.180009630
movzx eax, al
test eax, eax
je 0x180178f14
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x70]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x34]
jmp 0x180179096
mov r8, qword [rsp + 0x380]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.180016590
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.180009710
nop
lea rcx, [rsp + 0xf0]
call fcn.1800096f0
lea rdx, str.Application
lea rcx, [rsp + 0xb0]
call fcn.180009770
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180016590
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.180009710
nop
lea rcx, [rsp + 0x110]
call fcn.1800096f0
nop
lea rcx, [rsp + 0xb0]
call fcn.1800096f0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.180009770
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.180016590
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.180009710
nop
lea rcx, [rsp + 0x130]
call fcn.1800096f0
nop
lea rcx, [rsp + 0xd0]
call fcn.1800096f0
lea rcx, [rsp + 0x70]
call fcn.180011ea0
movzx eax, al
test eax, eax
jne 0x180179062
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x70]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x35]
jmp 0x180179096
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x388]
call fcn.1800096c0
mov byte [rsp + 0x36], 1
lea rcx, [rsp + 0x70]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800096f0
movzx eax, byte [rsp + 0x36]
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x370
pop rdi
ret