Function at 0x180049ba0
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 [0x180147030]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ecx, ecx
mov eax, 6
xor ebx, ebx
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], 0x39385029
mov r9b, 0xd1
mov dword [rbp - 0x18], 0xadb4037
mov r8b, 0xa
mov byte [rbp - 0x14], r9b
mov edx, ebx
mov word [rbp - 0x13], cx
mov byte [rbp - 0x11], cl
test eax, eax
je 0x180049c29
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 0x180049c29
movzx r9d, byte [rbp - 0x14]
movzx r8d, byte [rbp - 0x15]
jmp 0x180049c00
mov rdi, qword [0x180148968]
mov byte [rbp + rax - 0x1c], bl
lea rcx, [rdi + 0x4310]
call fcn.18008f520
mov ecx, eax
test eax, eax
je 0x180049c64
lea rax, [rdi + 0x4300]
cmp ecx, 0xf
jle 0x180049c5a
mov rcx, rax
call fcn.18008f510
mov rcx, rax
call fcn.18008f550
jmp 0x180049c6b
lea rax, str.null
lea rdx, [rbp - 0x1c]
mov rcx, rax
call fcn.18008f420
test al, al
je 0x18004a097
mov edi, 7
mov dword [rbp - 0x1c], 0x39385029
mov eax, edi
mov r8b, 0xa
mov dword [rbp - 0x20], eax
mov r9b, 0xd1
mov dword [rbp - 0x18], 0xdb2c4037
mov edx, ebx
mov dword [rbp - 0x14], 0xd10a
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 0x180049cd9
movzx r9d, byte [rbp - 0x13]
movzx r8d, byte [rbp - 0x14]
jmp 0x180049cb0
movdqa xmm0, xmmword [0x180133960]
mov r8b, 0xa
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], 0xd10adb34
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 0x180049d29
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x180049d00
mov rcx, qword [0x180148970]
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 - 0x5c], 0x39385029
mov r8b, 0xa
test eax, eax
mov dword [rbp - 0x58], 0xdb2e4037
mov eax, edi
mov r9b, 0xd1
setne byte [0x1801486aa]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x54], 0xd10a
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 0x180049d99
movzx r9d, byte [rbp - 0x53]
movzx r8d, byte [rbp - 0x54]
jmp 0x180049d70
movdqa xmm0, xmmword [0x180133960]
mov r8b, 0xa
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], 0xd10adb34
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 0x180049de9
movzx r9d, byte [rbp - 0x21]
movzx r8d, byte [rbp - 0x22]
jmp 0x180049dc0
mov rcx, qword [0x180148970]
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 - 0x1c], 0x39385029
mov r8b, 0xa
test eax, eax
mov dword [rbp - 0x18], 0xdb204037
mov eax, edi
mov r9b, 0xd1
setne byte [0x1801486b0]
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x14], 0xd10a
mov edx, ebx
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 0x180049e59
movzx r9d, byte [rbp - 0x13]
movzx r8d, byte [rbp - 0x14]
jmp 0x180049e30
movdqa xmm0, xmmword [0x180133960]
mov r8b, 0xa
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], 0xd10adb34
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 0x180049ea9
movzx r9d, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x3a]
jmp 0x180049e80
mov rcx, qword [0x180148970]
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], edi
mov r8b, 0xa
test eax, eax
mov dword [rbp - 0x5c], 0x39385029
mov dword [rbp - 0x58], 0xdb294037
mov r9b, 0xd1
setne byte [0x1801486a8]
mov dword [rbp - 0x54], 0xd10a
mov edx, ebx
nop
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 0x180049f19
movzx r9d, byte [rbp - 0x53]
movzx r8d, byte [rbp - 0x54]
jmp 0x180049ef0
movdqa xmm0, xmmword [0x180133960]
mov dl, 0xa
mov byte [rbp + rdi - 0x5c], bl
mov r8b, 0xd1
movdqu xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x38], 0x11
mov dword [rbp - 0x24], 0xd10adb34
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 0x180049f67
movzx r8d, byte [rbp - 0x21]
movzx edx, byte [rbp - 0x22]
jmp 0x180049f40
mov rcx, qword [0x180148970]
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 [0x180148cd8]
test eax, eax
lea rax, [0x1800495c0]
setne byte [0x1801486ab]
mov qword [rbp - 0x20], rax
cmp rdx, qword [0x180148ce0]
je 0x180049fb5
mov qword [rdx], rax
add qword [0x180148cd8], 8
jmp 0x180049fc5
lea r8, [rbp - 0x20]
lea rcx, [0x180148cd0]
call fcn.180002710
mov rdx, qword [0x180148e88]
lea rbx, [0x180047fe0]
cmp rdx, qword [0x180148e90]
mov qword [rbp - 0x20], rbx
je 0x180049fed
mov qword [rdx], rbx
add qword [0x180148e88], 8
jmp 0x180049ffd
lea r8, [rbp - 0x20]
lea rcx, [0x180148e80]
call fcn.180002710
mov rdx, qword [0x180148ed0]
cmp rdx, qword [0x180148ed8]
mov qword [rbp - 0x20], rbx
je 0x18004a01e
mov qword [rdx], rbx
add qword [0x180148ed0], 8
jmp 0x18004a02e
lea r8, [rbp - 0x20]
lea rcx, [0x180148ec8]
call fcn.180002710
mov rdx, qword [0x180148e40]
cmp rdx, qword [0x180148e48]
mov qword [rbp - 0x20], rbx
je 0x18004a04f
mov qword [rdx], rbx
add qword [0x180148e40], 8
jmp 0x18004a05f
lea r8, [rbp - 0x20]
lea rcx, [0x180148e38]
call fcn.180002710
mov rdx, qword [0x180148e28]
lea rax, [0x180048c10]
cmp rdx, qword [0x180148e30]
mov qword [rbp - 0x20], rax
je 0x18004a087
mov qword [rdx], rax
add qword [0x180148e28], 8
jmp 0x18004a097
lea r8, [rbp - 0x20]
lea rcx, [0x180148e20]
call fcn.180002710
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180123e40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret