Function at 0x180058670
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 [0x18013c030]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp + 0x3f], 5
mov edx, ebx
mov dword [rbp + 0x43], 0xd1c0c5dc
mov dword [rbp + 0x47], 0xb37b2ec8
mov r8b, 0x7b
mov r9b, 0xb3
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 0x1800586e9
movzx r9d, byte [rbp + 0x4a]
movzx r8d, byte [rbp + 0x49]
jmp 0x1800586c0
mov rdi, qword [0x18013d928]
mov byte [rbp + rax + 0x43], bl
lea rcx, [rdi + 0x4450]
call fcn.1800867a0
mov ecx, eax
test eax, eax
je 0x180058724
lea rax, [rdi + 0x4440]
cmp ecx, 0xf
jle 0x18005871a
mov rcx, rax
call fcn.180086790
mov rcx, rax
call fcn.1800867d0
jmp 0x18005872b
lea rax, str.null
lea rdx, [rbp + 0x43]
mov rcx, rax
call fcn.1800866a0
test al, al
je 0x180058c55
xor ecx, ecx
mov dword [rbp + 0x43], 0xd1c0c5dc
mov edi, 6
mov dword [rbp + 0x47], 0x7b2eddc8
mov eax, edi
mov r9b, 0xb3
mov dword [rbp + 0x3f], eax
mov r8b, 0x7b
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 0x180058799
movzx r9d, byte [rbp + 0x4b]
movzx r8d, byte [rbp + 0x4a]
jmp 0x180058770
movdqa xmm0, xmmword [0x180128e20]
mov r8b, 0x7b
mov byte [rbp + rax + 0x43], bl
mov r9b, 0xb3
movdqu xmmword [rbp - 0x15], xmm0
mov dword [rbp - 0x19], 0x11
mov edx, ebx
mov dword [rbp - 5], 0xb37b2ec5
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 0x1800587e9
movzx r9d, byte [rbp - 2]
movzx r8d, byte [rbp - 3]
jmp 0x1800587c0
mov rcx, qword [0x18013d930]
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, 0xb3
mov dword [rbp + 3], 0xd1c0c5dc
test eax, eax
mov dword [rbp + 7], 0x7b2edfc8
mov eax, edi
mov r8b, 0x7b
setne byte [0x18013d750]
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 0x180058869
movzx r9d, byte [rbp + 0xb]
movzx r8d, byte [rbp + 0xa]
jmp 0x180058840
movdqa xmm0, xmmword [0x180128e20]
mov r8b, 0x7b
mov byte [rbp + rax + 3], bl
mov r9b, 0xb3
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0xf], 0x11
mov edx, ebx
mov dword [rbp + 0x23], 0xb37b2ec5
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 0x1800588b9
movzx r9d, byte [rbp + 0x26]
movzx r8d, byte [rbp + 0x25]
jmp 0x180058890
mov rcx, qword [0x18013d930]
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, 0xb3
mov dword [rbp - 0x15], 0xd1c0c5dc
test eax, eax
mov dword [rbp - 0x11], 0x7b2ef1c8
mov eax, edi
mov r8b, 0x7b
setne byte [0x18013d743]
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 0x180058939
movzx r9d, byte [rbp - 0xd]
movzx r8d, byte [rbp - 0xe]
jmp 0x180058910
movdqa xmm0, xmmword [0x180128e20]
mov r8b, 0x7b
mov byte [rbp + rax - 0x15], bl
mov r9b, 0xb3
movdqu xmmword [rbp + 0x2b], xmm0
mov dword [rbp + 0x27], 0x11
mov edx, ebx
mov dword [rbp + 0x3b], 0xb37b2ec5
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 0x180058989
movzx r9d, byte [rbp + 0x3e]
movzx r8d, byte [rbp + 0x3d]
jmp 0x180058960
mov rcx, qword [0x18013d930]
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, 0x7b
test eax, eax
mov dword [rbp + 0x43], 0xd1c0c5dc
mov dword [rbp + 0x47], 0xc0d1f1c8
mov r9b, 0xb3
setne byte [0x18013d742]
mov dword [rbp + 0x4b], 0xb37b2ecd
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 0x1800589fb
movzx r9d, byte [rbp + 0x4e]
movzx r8d, byte [rbp + 0x4d]
jmp 0x1800589d2
movdqa xmm0, xmmword [0x180128e20]
mov r8b, 0x7b
mov byte [rbp + rax + 0x43], bl
mov r9b, 0xb3
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0xf], 0x11
mov edx, ebx
mov dword [rbp + 0x23], 0xb37b2ec5
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 0x180058a4b
movzx r9d, byte [rbp + 0x26]
movzx r8d, byte [rbp + 0x25]
jmp 0x180058a22
mov rcx, qword [0x18013d930]
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, 0xb3
mov dword [rbp - 0x19], edi
test eax, eax
mov dword [rbp - 0x15], 0xd1c0c5dc
mov dword [rbp - 0x11], 0x7b2edcc8
mov r8b, 0x7b
setne byte [0x18013d740]
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 0x180058ac9
movzx r9d, byte [rbp - 0xd]
movzx r8d, byte [rbp - 0xe]
jmp 0x180058aa0
movdqa xmm0, xmmword [0x180128e20]
mov dl, 0x7b
mov byte [rbp + rdi - 0x15], bl
mov r8b, 0xb3
movdqu xmmword [rbp + 0x2b], xmm0
mov dword [rbp + 0x27], 0x11
mov dword [rbp + 0x3b], 0xb37b2ec5
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 0x180058b17
movzx r8d, byte [rbp + 0x3e]
movzx edx, byte [rbp + 0x3d]
jmp 0x180058af0
mov rcx, qword [0x18013d930]
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 [0x18013dc40]
test eax, eax
lea rax, [0x180057ee0]
setne byte [0x18013d741]
mov qword [rbp + 0x3f], rax
cmp rdx, qword [0x18013dc48]
je 0x180058b65
mov qword [rdx], rax
add qword [0x18013dc40], 8
jmp 0x180058b75
lea r8, [rbp + 0x3f]
lea rcx, [0x18013dc38]
call fcn.180002720
mov rdx, qword [0x18013ddf0]
lea rax, [0x180057490]
cmp rdx, qword [0x18013ddf8]
mov qword [rbp + 0x3f], rax
je 0x180058b9d
mov qword [rdx], rax
add qword [0x18013ddf0], 8
jmp 0x180058bad
lea r8, [rbp + 0x3f]
lea rcx, [0x18013dde8]
call fcn.180002720
mov rdx, qword [0x18013dc10]
lea rax, [0x180057430]
cmp rdx, qword [0x18013dc18]
mov qword [rbp + 0x3f], rax
je 0x180058bd5
mov qword [rdx], rax
add qword [0x18013dc10], 8
jmp 0x180058be5
lea r8, [rbp + 0x3f]
lea rcx, [0x18013dc08]
call fcn.180002720
mov rdx, qword [0x18013db18]
lea rax, [0x180057460]
cmp rdx, qword [0x18013db20]
mov qword [rbp + 0x3f], rax
je 0x180058c0d
mov qword [rdx], rax
add qword [0x18013db18], 8
jmp 0x180058c1d
lea r8, [rbp + 0x3f]
lea rcx, [0x18013db10]
call fcn.180002720
mov rdx, qword [0x18013dd90]
lea rax, [0x1800574d0]
cmp rdx, qword [0x18013dd98]
mov qword [rbp + 0x3f], rax
je 0x180058c45
mov qword [rdx], rax
add qword [0x18013dd90], 8
jmp 0x180058c55
lea r8, [rbp + 0x3f]
lea rcx, [0x18013dd88]
call fcn.180002720
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180118810
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret