Function at 0x18005ca40
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x180141030]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp + 0x3f], 5
mov edx, ebx
mov dword [rbp + 0x43], 0xc3d4cff8
mov dword [rbp + 0x47], 0xc26426cc
mov r8b, 0x64
mov r9b, 0xc2
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp + 0x43]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0x3f]
cmp edx, eax
jae 0x18005cab9
movzx r9d, byte [rbp + 0x4a]
movzx r8d, byte [rbp + 0x49]
jmp 0x18005ca90
mov rdi, qword [0x180142948]
mov byte [rbp + rax + 0x43], bl
lea rcx, [rdi + 0x4570]
call fcn.18008bbd0
mov ecx, eax
test eax, eax
je 0x18005caf4
lea rax, [rdi + 0x4560]
cmp ecx, 0xf
jle 0x18005caea
mov rcx, rax
call fcn.18008bbc0
mov rcx, rax
call fcn.18008bc00
jmp 0x18005cafb
lea rax, str.null
lea rdx, [rbp + 0x43]
mov rcx, rax
call fcn.18008bad0
test al, al
je 0x18005d025
xor ecx, ecx
mov dword [rbp + 0x43], 0xc3d4cff8
mov edi, 6
mov dword [rbp + 0x47], 0x6426f7cc
mov eax, edi
mov r9b, 0xc2
mov dword [rbp + 0x3f], eax
mov r8b, 0x64
mov byte [rbp + 0x4b], r9b
mov edx, ebx
mov word [rbp + 0x4c], cx
mov byte [rbp + 0x4e], cl
nop dword [rax]
mov eax, edx
lea rcx, [rbp + 0x43]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0x3f]
cmp edx, eax
jae 0x18005cb69
movzx r9d, byte [rbp + 0x4b]
movzx r8d, byte [rbp + 0x4a]
jmp 0x18005cb40
movdqa xmm0, xmmword [0x18012e200]
mov r8b, 0x64
mov byte [rbp + rax + 0x43], bl
mov r9b, 0xc2
movdqu xmmword [rbp - 0x15], xmm0
mov dword [rbp - 0x19], 0x11
mov edx, ebx
mov dword [rbp - 5], 0xc26426cf
mov eax, edx
lea rcx, [rbp - 0x15]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x19]
cmp edx, eax
jae 0x18005cbb9
movzx r9d, byte [rbp - 2]
movzx r8d, byte [rbp - 3]
jmp 0x18005cb90
mov rcx, qword [0x180142950]
lea r9, [rbp - 0x15]
xor r8d, r8d
mov byte [rbp + rax - 0x15], bl
lea rdx, [rbp + 0x43]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xc2
mov dword [rbp + 3], 0xc3d4cff8
test eax, eax
mov dword [rbp + 7], 0x6426f5cc
mov eax, edi
mov r8b, 0x64
setne byte [0x180142766]
mov dword [rbp - 1], eax
xor ecx, ecx
mov byte [rbp + 0xb], r9b
mov word [rbp + 0xc], cx
mov edx, ebx
mov byte [rbp + 0xe], cl
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp + 3]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 1]
cmp edx, eax
jae 0x18005cc39
movzx r9d, byte [rbp + 0xb]
movzx r8d, byte [rbp + 0xa]
jmp 0x18005cc10
movdqa xmm0, xmmword [0x18012e200]
mov r8b, 0x64
mov byte [rbp + rax + 3], bl
mov r9b, 0xc2
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0xf], 0x11
mov edx, ebx
mov dword [rbp + 0x23], 0xc26426cf
mov eax, edx
lea rcx, [rbp + 0x13]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0xf]
cmp edx, eax
jae 0x18005cc89
movzx r9d, byte [rbp + 0x26]
movzx r8d, byte [rbp + 0x25]
jmp 0x18005cc60
mov rcx, qword [0x180142950]
lea r9, [rbp + 0x13]
xor r8d, r8d
mov byte [rbp + rax + 0x13], bl
lea rdx, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xc2
mov dword [rbp - 0x15], 0xc3d4cff8
test eax, eax
mov dword [rbp - 0x11], 0x6426e3cc
mov eax, edi
mov r8b, 0x64
setne byte [0x180142765]
mov dword [rbp - 0x19], eax
xor ecx, ecx
mov byte [rbp - 0xd], r9b
mov word [rbp - 0xc], cx
mov edx, ebx
mov byte [rbp - 0xa], cl
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x15]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x19]
cmp edx, eax
jae 0x18005cd09
movzx r9d, byte [rbp - 0xd]
movzx r8d, byte [rbp - 0xe]
jmp 0x18005cce0
movdqa xmm0, xmmword [0x18012e200]
mov r8b, 0x64
mov byte [rbp + rax - 0x15], bl
mov r9b, 0xc2
movdqu xmmword [rbp + 0x2b], xmm0
mov dword [rbp + 0x27], 0x11
mov edx, ebx
mov dword [rbp + 0x3b], 0xc26426cf
mov eax, edx
lea rcx, [rbp + 0x2b]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0x27]
cmp edx, eax
jae 0x18005cd59
movzx r9d, byte [rbp + 0x3e]
movzx r8d, byte [rbp + 0x3d]
jmp 0x18005cd30
mov rcx, qword [0x180142950]
lea r9, [rbp + 0x2b]
xor r8d, r8d
mov byte [rbp + rax + 0x2b], bl
lea rdx, [rbp - 0x15]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbp + 0x3f], 9
mov r8b, 0x64
test eax, eax
mov dword [rbp + 0x43], 0xc3d4cff8
mov dword [rbp + 0x47], 0xd4c3e3cc
mov r9b, 0xc2
setne byte [0x180142764]
mov dword [rbp + 0x4b], 0xc26426c7
mov edx, ebx
mov eax, edx
lea rcx, [rbp + 0x43]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0x3f]
cmp edx, eax
jae 0x18005cdcb
movzx r9d, byte [rbp + 0x4e]
movzx r8d, byte [rbp + 0x4d]
jmp 0x18005cda2
movdqa xmm0, xmmword [0x18012e200]
mov r8b, 0x64
mov byte [rbp + rax + 0x43], bl
mov r9b, 0xc2
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0xf], 0x11
mov edx, ebx
mov dword [rbp + 0x23], 0xc26426cf
mov eax, edx
lea rcx, [rbp + 0x13]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp + 0xf]
cmp edx, eax
jae 0x18005ce1b
movzx r9d, byte [rbp + 0x26]
movzx r8d, byte [rbp + 0x25]
jmp 0x18005cdf2
mov rcx, qword [0x180142950]
lea r9, [rbp + 0x13]
xor r8d, r8d
mov byte [rbp + rax + 0x13], bl
lea rdx, [rbp + 0x43]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xc2
mov dword [rbp - 0x19], edi
test eax, eax
mov dword [rbp - 0x15], 0xc3d4cff8
mov dword [rbp - 0x11], 0x6426f8cc
mov r8b, 0x64
setne byte [0x18014275a]
mov byte [rbp - 0xd], r9b
xor eax, eax
mov edx, ebx
mov word [rbp - 0xc], ax
mov byte [rbp - 0xa], al
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x15]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov edi, dword [rbp - 0x19]
cmp edx, edi
jae 0x18005ce99
movzx r9d, byte [rbp - 0xd]
movzx r8d, byte [rbp - 0xe]
jmp 0x18005ce70
movdqa xmm0, xmmword [0x18012e200]
mov dl, 0x64
mov byte [rbp + rdi - 0x15], bl
mov r8b, 0xc2
movdqu xmmword [rbp + 0x2b], xmm0
mov dword [rbp + 0x27], 0x11
mov dword [rbp + 0x3b], 0xc26426cf
nop dword [rax]
mov eax, ebx
lea rcx, [rbp + 0x2b]
add rcx, rax
inc ebx
movzx eax, byte [rcx]
sub al, r8b
xor al, dl
mov byte [rcx], al
mov eax, dword [rbp + 0x27]
cmp ebx, eax
jae 0x18005cee7
movzx r8d, byte [rbp + 0x3e]
movzx edx, byte [rbp + 0x3d]
jmp 0x18005cec0
mov rcx, qword [0x180142950]
lea r9, [rbp + 0x2b]
xor r8d, r8d
mov byte [rbp + rax + 0x2b], 0
lea rdx, [rbp - 0x15]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rdx, qword [0x180142c78]
test eax, eax
lea rax, [0x18005c2b0]
setne byte [0x18014275b]
mov qword [rbp + 0x3f], rax
cmp rdx, qword [0x180142c80]
je 0x18005cf35
mov qword [rdx], rax
add qword [0x180142c78], 8
jmp 0x18005cf45
lea r8, [rbp + 0x3f]
lea rcx, [0x180142c70]
call fcn.180002720
mov rdx, qword [0x180142e28]
lea rax, [0x18005b860]
cmp rdx, qword [0x180142e30]
mov qword [rbp + 0x3f], rax
je 0x18005cf6d
mov qword [rdx], rax
add qword [0x180142e28], 8
jmp 0x18005cf7d
lea r8, [rbp + 0x3f]
lea rcx, [0x180142e20]
call fcn.180002720
mov rdx, qword [0x180142c48]
lea rax, [0x18005b800]
cmp rdx, qword [0x180142c50]
mov qword [rbp + 0x3f], rax
je 0x18005cfa5
mov qword [rdx], rax
add qword [0x180142c48], 8
jmp 0x18005cfb5
lea r8, [rbp + 0x3f]
lea rcx, [0x180142c40]
call fcn.180002720
mov rdx, qword [0x180142b50]
lea rax, [0x18005b830]
cmp rdx, qword [0x180142b58]
mov qword [rbp + 0x3f], rax
je 0x18005cfdd
mov qword [rdx], rax
add qword [0x180142b50], 8
jmp 0x18005cfed
lea r8, [rbp + 0x3f]
lea rcx, [0x180142b48]
call fcn.180002720
mov rdx, qword [0x180142dc8]
lea rax, [0x18005b8a0]
cmp rdx, qword [0x180142dd0]
mov qword [rbp + 0x3f], rax
je 0x18005d015
mov qword [rdx], rax
add qword [0x180142dc8], 8
jmp 0x18005d025
lea r8, [rbp + 0x3f]
lea rcx, [0x180142dc0]
call fcn.180002720
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18011e040
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret