Function at 0x1800512c0
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 [0x180141030]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov dword [rbp - 0x20], 5
mov edx, ebx
mov dword [rbp - 0x1c], 0xf3f3edc0
mov dword [rbp - 0x18], 0xf99d96e7
mov r8b, 0x9d
mov r9b, 0xf9
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 0x18005132b
movzx r9d, byte [rbp - 0x15]
movzx r8d, byte [rbp - 0x16]
jmp 0x180051302
mov rdi, qword [0x180142948]
mov byte [rbp + rax - 0x1c], bl
lea rcx, [rdi + 0x4570]
call fcn.18008bbd0
mov ecx, eax
test eax, eax
je 0x180051366
lea rax, [rdi + 0x4560]
cmp ecx, 0xf
jle 0x18005135c
mov rcx, rax
call fcn.18008bbc0
mov rcx, rax
call fcn.18008bc00
jmp 0x18005136d
lea rax, str.null
lea rdx, [rbp - 0x1c]
mov rcx, rax
call fcn.18008bad0
test al, al
je 0x180051737
xor ecx, ecx
mov dword [rbp - 0x1c], 0xf3f3edc0
mov edi, 6
mov dword [rbp - 0x18], 0x9d96c5e7
mov eax, edi
mov r9b, 0xf9
mov dword [rbp - 0x20], eax
mov r8b, 0x9d
mov byte [rbp - 0x14], r9b
mov edx, ebx
mov word [rbp - 0x13], cx
mov byte [rbp - 0x11], cl
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 0x1800513d9
movzx r9d, byte [rbp - 0x14]
movzx r8d, byte [rbp - 0x15]
jmp 0x1800513b0
movdqa xmm0, xmmword [0x18012e3c0]
mov r8b, 0x9d
mov byte [rbp + rax - 0x1c], bl
mov r9b, 0xf9
movdqu xmmword [rbp - 0x4c], xmm0
mov dword [rbp - 0x50], 0x11
mov edx, ebx
mov dword [rbp - 0x3c], 0xf99d96ed
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 0x180051429
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x180051400
mov rcx, qword [0x180142950]
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 r9b, 0xf9
mov dword [rbp - 0x5c], 0xf3f3edc0
test eax, eax
mov dword [rbp - 0x58], 0x9d96c3e7
mov eax, edi
mov r8b, 0x9d
setne byte [0x1801426f7]
mov dword [rbp - 0x60], eax
xor ecx, ecx
mov byte [rbp - 0x54], r9b
mov word [rbp - 0x53], cx
mov edx, ebx
mov byte [rbp - 0x51], cl
nop word [rax + rax]
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 0x1800514a9
movzx r9d, byte [rbp - 0x54]
movzx r8d, byte [rbp - 0x55]
jmp 0x180051480
movdqa xmm0, xmmword [0x18012e3c0]
mov r8b, 0x9d
mov byte [rbp + rax - 0x5c], bl
mov r9b, 0xf9
movdqu xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x38], 0x11
mov edx, ebx
mov dword [rbp - 0x24], 0xf99d96ed
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 0x1800514f9
movzx r9d, byte [rbp - 0x21]
movzx r8d, byte [rbp - 0x22]
jmp 0x1800514d0
mov rcx, qword [0x180142950]
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 r9b, 0xf9
mov dword [rbp - 0x1c], 0xf3f3edc0
test eax, eax
mov dword [rbp - 0x18], 0x9d96d1e7
mov eax, edi
mov r8b, 0x9d
setne byte [0x1801426f5]
mov dword [rbp - 0x20], eax
xor ecx, ecx
mov byte [rbp - 0x14], r9b
mov word [rbp - 0x13], cx
mov edx, ebx
mov byte [rbp - 0x11], cl
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 0x180051579
movzx r9d, byte [rbp - 0x14]
movzx r8d, byte [rbp - 0x15]
jmp 0x180051550
movdqa xmm0, xmmword [0x18012e3c0]
mov r8b, 0x9d
mov byte [rbp + rax - 0x1c], bl
mov r9b, 0xf9
movdqu xmmword [rbp - 0x4c], xmm0
mov dword [rbp - 0x50], 0x11
mov edx, ebx
mov dword [rbp - 0x3c], 0xf99d96ed
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 0x1800515c9
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x1800515a0
mov rcx, qword [0x180142950]
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 r9b, 0xf9
mov dword [rbp - 0x60], edi
test eax, eax
mov dword [rbp - 0x5c], 0xf3f3edc0
mov dword [rbp - 0x58], 0x9d96c8e7
mov r8b, 0x9d
setne byte [0x1801426f4]
mov byte [rbp - 0x54], r9b
xor eax, eax
mov edx, ebx
mov word [rbp - 0x53], ax
mov byte [rbp - 0x51], al
nop dword [rax]
nop dword [rax + rax]
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 edi, dword [rbp - 0x60]
cmp edx, edi
jae 0x180051649
movzx r9d, byte [rbp - 0x54]
movzx r8d, byte [rbp - 0x55]
jmp 0x180051620
movdqa xmm0, xmmword [0x18012e3c0]
mov dl, 0x9d
mov byte [rbp + rdi - 0x5c], bl
mov r8b, 0xf9
movdqu xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x38], 0x11
mov dword [rbp - 0x24], 0xf99d96ed
nop dword [rax]
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 0x180051697
movzx r8d, byte [rbp - 0x21]
movzx edx, byte [rbp - 0x22]
jmp 0x180051670
mov rcx, qword [0x180142950]
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 [0x180142c78]
test eax, eax
lea rax, [0x180050c90]
mov dword [0x180142980], 2
setne byte [0x1801426f6]
mov qword [rbp - 0x20], rax
cmp rdx, qword [0x180142c80]
je 0x1800516ef
mov qword [rdx], rax
add qword [0x180142c78], 8
jmp 0x1800516ff
lea r8, [rbp - 0x20]
lea rcx, [0x180142c70]
call fcn.180002720
mov rdx, qword [0x180142dc8]
lea rax, [0x180050670]
cmp rdx, qword [0x180142dd0]
mov qword [rbp - 0x20], rax
je 0x180051727
mov qword [rdx], rax
add qword [0x180142dc8], 8
jmp 0x180051737
lea r8, [rbp - 0x20]
lea rcx, [0x180142dc0]
call fcn.180002720
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18011e040
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret