Function at 0x180059d00
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 - 8], rax
xor ebx, ebx
mov dword [rbp - 0x18], 5
mov edx, ebx
mov dword [rbp - 0x14], 0x56546241
mov dword [rbp - 0x10], 0xea190354
mov r8b, 0x19
mov r9b, 0xea
mov eax, edx
lea rcx, [rbp - 0x14]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x18]
cmp edx, eax
jae 0x180059d6b
movzx r9d, byte [rbp - 0xd]
movzx r8d, byte [rbp - 0xe]
jmp 0x180059d42
mov rdi, qword [0x180147960]
mov byte [rbp + rax - 0x14], bl
lea rcx, [rdi + 0x42e8]
call fcn.18008eb70
mov ecx, eax
test eax, eax
je 0x180059da6
lea rax, [rdi + 0x42d8]
cmp ecx, 0xf
jle 0x180059d9c
mov rcx, rax
call fcn.18008eb60
mov rcx, rax
call fcn.18008eba0
jmp 0x180059dad
lea rax, str.null
lea rdx, [rbp - 0x14]
mov rcx, rax
call fcn.18008ea70
test al, al
je 0x18005a2bd
xor ecx, ecx
mov dword [rbp - 0x14], 0x56546241
mov edi, 6
mov dword [rbp - 0x10], 0x19033254
mov eax, edi
mov r9b, 0xea
mov dword [rbp - 0x18], eax
mov r8b, 0x19
mov byte [rbp - 0xc], r9b
mov edx, ebx
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
nop
mov eax, edx
lea rcx, [rbp - 0x14]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x18]
cmp edx, eax
jae 0x180059e19
movzx r9d, byte [rbp - 0xc]
movzx r8d, byte [rbp - 0xd]
jmp 0x180059df0
movdqa xmm0, xmmword [0x180132c90]
mov r8b, 0x19
mov byte [rbp + rax - 0x14], bl
mov r9b, 0xea
movdqu xmmword [rbp - 0x44], xmm0
mov dword [rbp - 0x48], 0x11
mov edx, ebx
mov dword [rbp - 0x34], 0xea19035a
mov eax, edx
lea rcx, [rbp - 0x44]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x48]
cmp edx, eax
jae 0x180059e69
movzx r9d, byte [rbp - 0x31]
movzx r8d, byte [rbp - 0x32]
jmp 0x180059e40
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x44]
xor r8d, r8d
mov byte [rbp + rax - 0x44], bl
lea rdx, [rbp - 0x14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xea
mov dword [rbp - 0x5c], 0x56546241
test eax, eax
mov dword [rbp - 0x58], 0x5a5f3254
mov eax, 0xa
mov r8b, 0x19
setne byte [0x180147748]
mov dword [rbp - 0x60], eax
xor ecx, ecx
mov dword [rbp - 0x54], 0x19036661
mov byte [rbp - 0x50], r9b
mov edx, ebx
mov word [rbp - 0x4f], cx
mov byte [rbp - 0x4d], cl
test eax, eax
je 0x180059ef9
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 eax, dword [rbp - 0x60]
cmp edx, eax
jae 0x180059ef9
movzx r9d, byte [rbp - 0x50]
movzx r8d, byte [rbp - 0x51]
jmp 0x180059ed0
movdqa xmm0, xmmword [0x180132c90]
mov r8b, 0x19
mov byte [rbp + rax - 0x5c], bl
mov r9b, 0xea
movdqu xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x30], 0x11
mov edx, ebx
mov dword [rbp - 0x1c], 0xea19035a
mov eax, edx
lea rcx, [rbp - 0x2c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x30]
cmp edx, eax
jae 0x180059f49
movzx r9d, byte [rbp - 0x19]
movzx r8d, byte [rbp - 0x1a]
jmp 0x180059f20
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov byte [rbp + rax - 0x2c], bl
lea rdx, [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xea
mov dword [rbp - 0x14], 0x56546241
test eax, eax
mov dword [rbp - 0x10], 0x19033854
mov eax, edi
mov r8b, 0x19
setne byte [0x18014773f]
mov dword [rbp - 0x18], eax
xor ecx, ecx
mov byte [rbp - 0xc], r9b
mov word [rbp - 0xb], cx
mov edx, ebx
mov byte [rbp - 9], cl
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x14]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x18]
cmp edx, eax
jae 0x180059fc9
movzx r9d, byte [rbp - 0xc]
movzx r8d, byte [rbp - 0xd]
jmp 0x180059fa0
movdqa xmm0, xmmword [0x180132c90]
mov r8b, 0x19
mov byte [rbp + rax - 0x14], bl
mov r9b, 0xea
movdqu xmmword [rbp - 0x44], xmm0
mov dword [rbp - 0x48], 0x11
mov edx, ebx
mov dword [rbp - 0x34], 0xea19035a
mov eax, edx
lea rcx, [rbp - 0x44]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x48]
cmp edx, eax
jae 0x18005a019
movzx r9d, byte [rbp - 0x31]
movzx r8d, byte [rbp - 0x32]
jmp 0x180059ff0
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x44]
xor r8d, r8d
mov byte [rbp + rax - 0x44], bl
lea rdx, [rbp - 0x14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xea
mov dword [rbp - 0x5c], 0x56546241
test eax, eax
mov dword [rbp - 0x58], 0x19034654
mov eax, edi
mov r8b, 0x19
setne byte [0x18014773e]
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 0x18005a099
movzx r9d, byte [rbp - 0x54]
movzx r8d, byte [rbp - 0x55]
jmp 0x18005a070
movdqa xmm0, xmmword [0x180132c90]
mov r8b, 0x19
mov byte [rbp + rax - 0x5c], bl
mov r9b, 0xea
movdqu xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x30], 0x11
mov edx, ebx
mov dword [rbp - 0x1c], 0xea19035a
mov eax, edx
lea rcx, [rbp - 0x2c]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rbp - 0x30]
cmp edx, eax
jae 0x18005a0e9
movzx r9d, byte [rbp - 0x19]
movzx r8d, byte [rbp - 0x1a]
jmp 0x18005a0c0
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov byte [rbp + rax - 0x2c], bl
lea rdx, [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9b, 0xea
mov dword [rbp - 0x18], edi
test eax, eax
mov dword [rbp - 0x14], 0x56546241
mov dword [rbp - 0x10], 0x19033554
mov r8b, 0x19
setne byte [0x18014773d]
mov byte [rbp - 0xc], r9b
xor eax, eax
mov edx, ebx
mov word [rbp - 0xb], ax
mov byte [rbp - 9], al
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x14]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov edi, dword [rbp - 0x18]
cmp edx, edi
jae 0x18005a169
movzx r9d, byte [rbp - 0xc]
movzx r8d, byte [rbp - 0xd]
jmp 0x18005a140
movdqa xmm0, xmmword [0x180132c90]
mov dl, 0x19
mov byte [rbp + rdi - 0x14], bl
mov r8b, 0xea
movdqu xmmword [rbp - 0x44], xmm0
mov dword [rbp - 0x48], 0x11
mov dword [rbp - 0x34], 0xea19035a
nop dword [rax]
mov eax, ebx
lea rcx, [rbp - 0x44]
add rcx, rax
inc ebx
movzx eax, byte [rcx]
sub al, r8b
xor al, dl
mov byte [rcx], al
mov eax, dword [rbp - 0x48]
cmp ebx, eax
jae 0x18005a1b7
movzx r8d, byte [rbp - 0x31]
movzx edx, byte [rbp - 0x32]
jmp 0x18005a190
mov rcx, qword [0x180147968]
lea r9, [rbp - 0x44]
xor r8d, r8d
mov byte [rbp + rax - 0x44], 0
lea rdx, [rbp - 0x14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rdx, qword [0x180147cd0]
test eax, eax
lea rax, [0x180059550]
setne byte [0x180147749]
mov qword [rbp - 0x18], rax
cmp rdx, qword [0x180147cd8]
je 0x18005a205
mov qword [rdx], rax
add qword [0x180147cd0], 8
jmp 0x18005a215
lea r8, [rbp - 0x18]
lea rcx, [0x180147cc8]
call fcn.180002710
mov rdx, qword [0x180147ca0]
lea rax, [0x18002ef30]
cmp rdx, qword [0x180147ca8]
mov qword [rbp - 0x18], rax
je 0x18005a23d
mov qword [rdx], rax
add qword [0x180147ca0], 8
jmp 0x18005a24d
lea r8, [rbp - 0x18]
lea rcx, [0x180147c98]
call fcn.180002710
mov rdx, qword [0x180147ba8]
lea rax, [0x18002ef40]
cmp rdx, qword [0x180147bb0]
mov qword [rbp - 0x18], rax
je 0x18005a275
mov qword [rdx], rax
add qword [0x180147ba8], 8
jmp 0x18005a285
lea r8, [rbp - 0x18]
lea rcx, [0x180147ba0]
call fcn.180002710
mov rdx, qword [0x180147e20]
lea rax, [0x180058fb0]
cmp rdx, qword [0x180147e28]
mov qword [rbp - 0x18], rax
je 0x18005a2ad
mov qword [rdx], rax
add qword [0x180147e20], 8
jmp 0x18005a2bd
lea r8, [rbp - 0x18]
lea rcx, [0x180147e18]
call fcn.180002710
mov rcx, qword [rbp - 8]
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