Function at 0x140005800
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x90], 0xfffffffffffffffe
lea rcx, [rsp + 0x38]
call fcn.1400084e0
nop
lea rcx, [rsp + 0x58]
call fcn.1400084e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400084e0
nop
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x38]
call fcn.140008610
mov edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140008700
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x58]
call fcn.140008610
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.140008700
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.140008610
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.140008700
mov rcx, qword [rsp + 0x128]
call fcn.140009020
lea rcx, [rsp + 0x40]
call fcn.1400084e0
nop
lea rdx, str.__GetProfString:
lea rcx, [rsp + 0x40]
call fcn.140008610
mov r8, qword [rsp + 0x110]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140007a00
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r8, str.____
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.140007a00
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.140007a00
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
lea r8, [0x14005e798]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.140007a00
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x80]
call fcn.140007a00
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.1400085e0
nop
lea rcx, [rsp + 0x80]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400085c0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140008680
mov qword [rsp + 0xe8], rax
mov edx, 0x800
mov rcx, qword [rsp + 0x128]
call fcn.1400086a0
mov qword [rsp + 0xf0], rax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008680
mov qword [rsp + 0xf8], rax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140008680
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x800
mov rcx, qword [rsp + 0xf0]
mov r9, rcx
lea r8, [0x14005cb94]
mov rcx, qword [rsp + 0xf8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x48], eax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x128]
call fcn.140008700
mov dword [rsp + 0x30], 0xffffffff
cmp dword [rsp + 0x48], 0x7ff
je 0x140005ad3
cmp dword [rsp + 0x48], 0x7fe
jne 0x140005add
mov dword [rsp + 0x30], 0xfffffffe
jmp 0x140005af6
mov rcx, qword [rsp + 0x128]
call fcn.1400086e0
test eax, eax
jle 0x140005af6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x40]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400085c0
mov eax, dword [rsp + 0x88]
add rsp, 0x108
ret