Function at 0x18005aff0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180146030]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, 8
xor ebx, ebx
mov dword [rbp - 0x20], eax
mov r8b, 0x5b
mov dword [rbp - 0x1c], 0x30805de
mov r9b, 0xd1
mov dword [rbp - 0x18], 0xfa0b0f0a
mov edx, ebx
mov dword [rbp - 0x14], 0xd15b2c
test eax, eax
je 0x18005b069
nop
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jae 0x18005b069
movzx r9d, byte [rbp - 0x12]
movzx r8d, byte [rbp - 0x13]
jmp 0x18005b040
mov rdi, qword [0x180147960]
mov byte [rbp + rax - 0x1c], bl
lea rcx, [rdi + 0x42e8]
call fcn.18008eb70
mov ecx, eax
test eax, eax
je 0x18005b0a4
lea rax, [rdi + 0x42d8]
cmp ecx, 0xf
jle 0x18005b09a
mov rcx, rax
call fcn.18008eb60
mov rcx, rax
call fcn.18008eba0
jmp 0x18005b0ab
lea rax, str.null
lea rdx, [rbp - 0x1c]
mov rcx, rax
call fcn.18008ea70
test al, al
je 0x18005b44d
mov dword [rbp - 0x20], 9
mov r8b, 0x5b
mov dword [rbp - 0x1c], 0x30805de
mov r9b, 0xd1
mov dword [rbp - 0x18], 0xfa0b0f0a
mov edx, ebx
mov dword [rbp - 0x14], 0xd15b2cdb
nop dword [rax]
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jae 0x18005b119
movzx r9d, byte [rbp - 0x11]
movzx r8d, byte [rbp - 0x12]
jmp 0x18005b0f0
movdqa xmm0, xmmword [0x180132520]
mov r8b, 0x5b
mov byte [rbp + rax - 0x1c], bl
mov r9b, 0xd1
movdqu xmmword [rbp - 0x4c], xmm0
mov dword [rbp - 0x50], 0x11
mov edx, ebx
mov dword [rbp - 0x3c], 0xd15b2c03
mov eax, edx
lea rcx, [rbp - 0x4c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp edx, eax
jae 0x18005b169
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x18005b140
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov byte [rbp + rax - 0x4c], bl
lea rdx, [rbp - 0x1c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbp - 0x60], 9
mov r8b, 0x5b
test eax, eax
mov dword [rbp - 0x5c], 0x30805de
mov dword [rbp - 0x58], 0xfa0b0f0a
mov r9b, 0xd1
setne byte [0x180147758]
mov dword [rbp - 0x54], 0xd15b2cdd
mov edx, ebx
mov eax, edx
lea rcx, [rbp - 0x5c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x60]
cmp edx, eax
jae 0x18005b1db
movzx r9d, byte [rbp - 0x51]
movzx r8d, byte [rbp - 0x52]
jmp 0x18005b1b2
movdqa xmm0, xmmword [0x180132520]
mov r8b, 0x5b
mov byte [rbp + rax - 0x5c], bl
mov r9b, 0xd1
movdqu xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x38], 0x11
mov edx, ebx
mov dword [rbp - 0x24], 0xd15b2c03
mov eax, edx
lea rcx, [rbp - 0x34]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x38]
cmp edx, eax
jae 0x18005b22b
movzx r9d, byte [rbp - 0x21]
movzx r8d, byte [rbp - 0x22]
jmp 0x18005b202
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x34]
xor r8d, r8d
mov byte [rbp + rax - 0x34], bl
lea rdx, [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbp - 0x20], 9
mov r8b, 0x5b
test eax, eax
mov dword [rbp - 0x1c], 0x30805de
mov dword [rbp - 0x18], 0xfa0b0f0a
mov r9b, 0xd1
setne byte [0x18014774b]
mov dword [rbp - 0x14], 0xd15b2cef
mov edx, ebx
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jae 0x18005b2a9
movzx r9d, byte [rbp - 0x11]
movzx r8d, byte [rbp - 0x12]
jmp 0x18005b280
movdqa xmm0, xmmword [0x180132520]
mov r8b, 0x5b
mov byte [rbp + rax - 0x1c], bl
mov r9b, 0xd1
movdqu xmmword [rbp - 0x4c], xmm0
mov dword [rbp - 0x50], 0x11
mov edx, ebx
mov dword [rbp - 0x3c], 0xd15b2c03
mov eax, edx
lea rcx, [rbp - 0x4c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp edx, eax
jae 0x18005b2f9
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x18005b2d0
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov byte [rbp + rax - 0x4c], bl
lea rdx, [rbp - 0x1c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbp - 0x60], 9
mov r8b, 0x5b
test eax, eax
mov dword [rbp - 0x5c], 0x30805de
mov dword [rbp - 0x58], 0xfa0b0f0a
mov r9b, 0xd1
setne byte [0x180147759]
mov dword [rbp - 0x54], 0xd15b2cda
mov edx, ebx
mov eax, edx
lea rcx, [rbp - 0x5c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x60]
cmp edx, eax
jae 0x18005b36b
movzx r9d, byte [rbp - 0x51]
movzx r8d, byte [rbp - 0x52]
jmp 0x18005b342
movdqa xmm0, xmmword [0x180132520]
mov dl, 0x5b
mov byte [rbp + rax - 0x5c], bl
mov r8b, 0xd1
movdqu xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x38], 0x11
mov dword [rbp - 0x24], 0xd15b2c03
nop
mov eax, ebx
lea rcx, [rbp - 0x34]
add rcx, rax
inc ebx
movzx eax, byte [rcx]
sub al, r8b
xor al, dl
mov byte [rcx], al
mov eax, dword [rbp - 0x38]
cmp ebx, eax
jae 0x18005b3b7
movzx r8d, byte [rbp - 0x21]
movzx edx, byte [rbp - 0x22]
jmp 0x18005b390
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x34]
xor r8d, r8d
mov byte [rbp + rax - 0x34], 0
lea rdx, [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rdx, qword [0x180147cd0]
test eax, eax
lea rax, [0x18005aa20]
setne byte [0x18014774a]
mov qword [rbp - 0x20], rax
cmp rdx, qword [0x180147cd8]
je 0x18005b405
mov qword [rdx], rax
add qword [0x180147cd0], 8
jmp 0x18005b415
lea r8, [rbp - 0x20]
lea rcx, [0x180147cc8]
call fcn.180002710
mov rdx, qword [0x180147e20]
lea rax, [0x18005a2e0]
cmp rdx, qword [0x180147e28]
mov qword [rbp - 0x20], rax
je 0x18005b43d
mov qword [rdx], rax
add qword [0x180147e20], 8
jmp 0x18005b44d
lea r8, [rbp - 0x20]
lea rcx, [0x180147e18]
call fcn.180002710
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180122d60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret