Function at 0x140091cf0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rax, qword [rbp + 0x500]
mov r15, r9
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x58], r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], 1
xor esi, esi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x140092450
mov qword [rsp + 0x598], r12
mov qword [rsp + 0x590], r13
mov r13d, dword [rbp + 0x510]
mov qword [rsp + 0x588], r14
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp + 0x260]
movsxd r14, esi
lea r9, [rsp + 0x70]
mov edx, 0x1073
mov rcx, rbx
mov r8, r14
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x78], 0
mov dword [rbp - 0x70], 0x104
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x2f
lea rcx, [rbp + 0x260]
lea r8d, [rdx + 0x4d]
call fcn.1400ef610
lea rcx, [rbp + 0x260]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140091de3
mov eax, dword [0x1401839b4]
mov edx, 0x7c
mov dword [rcx], eax
lea rcx, [rbp + 0x260]
call fcn.1400e8af0
mov r9d, 0xf000
mov r8, r14
mov edx, 0x102c
mov rcx, rbx
mov r12d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
dec eax
je 0x140091e63
lea rcx, [rdi - 2]
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140091e30
lea r8, [rbp + 0x260]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x140091e50
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x140091fcc
xor edi, edi
test r12d, r12d
jle 0x14009240e
mov r14, qword [rbp + 0x508]
lea rbx, [rbp + 0x50]
sub rbx, r14
nop dword [rax]
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x260]
mov r9d, 0x7c
mov edx, edi
mov dword [rsp + 0x20], 0x20
call fcn.1400ec2b0
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
mov ecx, esi
call fcn.140090010
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rbx + rcx - 2], ax
test ax, ax
jne 0x140091ed0
cmp dword [rbp + 0x4f8], 0
je 0x140091efc
mov rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14008f940
cmp esi, 2
jne 0x140091f35
lea r9, [0x140208860]
lea rdx, [0x14018b5c0]
lea rcx, [0x14018ade0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140091f9e
lea rdx, [0x14018b5d8]
lea rcx, [rbp + 0x50]
call fcn.1400f98c8
jmp 0x140091f9e
cmp esi, 0x12
ja 0x140091f68
mov eax, 0x40021
bt eax, esi
jae 0x140091f68
xor ecx, ecx
lea r15, [0x140188e28]
nop dword [rax]
movzx eax, word [rcx + r15]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x4e], ax
test ax, ax
jne 0x140091f50
mov r15, qword [rsp + 0x68]
lea eax, [rsi - 0x30]
cmp eax, 4
ja 0x140091f83
lea rdx, [0x14018b5e0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
lea eax, [rsi - 0x35]
cmp eax, 6
ja 0x140091f9e
lea rdx, [0x14018b5f0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
mov r8d, dword [rbp + 0x4f0]
mov rdx, qword [rsp + 0x58]
lea r9, [rbp + 0x50]
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x20], r13d
call fcn.140095ed0
inc edi
cmp edi, r12d
jl 0x140091e90
jmp 0x140092409
mov r9d, 0xf000
mov r8, r14
mov edx, 0x102c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x528]
movzx ecx, byte [rcx]
shr eax, 0xc
dec eax
cmp ecx, eax
jne 0x140092003
cmp dword [rbp + 0x530], 1
jne 0x140092413
mov r9d, 0xf000
mov r8, r14
mov edx, 0x102c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
dec eax
je 0x140092205
xor edi, edi
test r12d, r12d
jle 0x14009240e
lea rbx, [rbp + 0x50]
sub rbx, qword [rbp + 0x508]
nop dword [rax + rax]
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x260]
mov r9d, 0x7c
mov edx, edi
mov dword [rsp + 0x20], 0x20
call fcn.1400ec2b0
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
mov ecx, esi
call fcn.140090010
mov rcx, qword [rbp + 0x508]
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rbx + rcx - 2], ax
test ax, ax
jne 0x140092080
cmp dword [rbp + 0x4f8], 0
je 0x1400920ac
mov rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14008f940
cmp esi, 2
jne 0x1400920e5
lea r9, [0x140208860]
lea rdx, [0x14018b5c0]
lea rcx, [0x14018ade0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140092150
lea rdx, [0x14018b5d8]
lea rcx, [rbp + 0x50]
call fcn.1400f98c8
jmp 0x140092150
cmp esi, 0x12
ja 0x14009211a
mov eax, 0x40021
bt eax, esi
jae 0x14009211a
xor ecx, ecx
lea r13, [0x140188e28]
nop dword [rax]
movzx eax, word [rcx + r13]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x4e], ax
test ax, ax
jne 0x140092100
mov r13d, dword [rbp + 0x510]
lea eax, [rsi - 0x30]
cmp eax, 4
ja 0x140092135
lea rdx, [0x14018b5e0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
lea eax, [rsi - 0x35]
cmp eax, 6
ja 0x140092150
lea rdx, [0x14018b5f0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
mov rcx, qword [rsp + 0x48]
mov r9d, 0xf000
mov r8, r14
mov edx, 0x102c
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x528]
movzx ecx, byte [rcx]
shr eax, 0xc
dec eax
cmp ecx, eax
je 0x1400921d7
mov eax, dword [rbp + 0x520]
mov r9d, dword [rbp + 0x4f0]
mov r8, qword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x518]
lea rdx, [rbp + 0x10]
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x50]
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call fcn.14008b6c0
cmp dword [rsp + 0x50], 1
jne 0x1400921f5
mov dword [rsp + 0x50], 0
call fcn.1400ec530
cmp eax, 6
jl 0x1400921f5
call fcn.140098ca0
jmp 0x1400921f5
mov r8d, dword [rbp + 0x4f0]
mov rdx, qword [rsp + 0x58]
lea r9, [rbp + 0x50]
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x20], r13d
call fcn.140095ed0
inc edi
cmp edi, r12d
jl 0x140092040
jmp 0x140092409
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x260]
mov r9d, 0x7c
xor edx, edx
mov dword [rsp + 0x20], 0x20
call fcn.1400ec2b0
mov edi, dword [rbp + 0x518]
lea rcx, [rbp - 0x30]
mov r8d, edi
mov edx, r13d
call fcn.140092f90
test eax, eax
je 0x1400922a8
xor ebx, ebx
test r12d, r12d
jle 0x140092409
mov r15d, dword [rbp + 0x520]
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x260]
mov r9d, 0x7c
mov edx, ebx
mov dword [rsp + 0x20], 0x20
call fcn.1400ec2b0
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x30]
mov ecx, esi
call fcn.140090210
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], r15d
call fcn.140090900
inc ebx
cmp ebx, r12d
jl 0x140092250
mov r15, qword [rsp + 0x68]
jmp 0x140092409
test edi, edi
je 0x14009240e
xor edi, edi
test r12d, r12d
jle 0x14009240e
mov r14, qword [rbp + 0x508]
lea rbx, [rbp + 0x50]
sub rbx, r14
nop dword [rax]
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x260]
mov r9d, 0x7c
mov edx, edi
mov dword [rsp + 0x20], 0x20
call fcn.1400ec2b0
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
mov ecx, esi
call fcn.140090010
mov rax, r14
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
lea rax, [rax + 2]
mov word [rbx + rax - 2], cx
test cx, cx
jne 0x140092310
cmp dword [rbp + 0x4f8], 0
je 0x14009233c
mov rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14008f940
cmp esi, 2
jne 0x140092375
lea r9, [0x140208860]
lea rdx, [0x14018b5c0]
lea rcx, [0x14018ade0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x1400923e0
lea rdx, [0x14018b5d8]
lea rcx, [rbp + 0x50]
call fcn.1400f98c8
jmp 0x1400923e0
cmp esi, 0x12
ja 0x1400923aa
mov eax, 0x40021
bt eax, esi
jae 0x1400923aa
xor ecx, ecx
lea r13, [0x140188e28]
nop dword [rax]
movzx eax, word [rcx + r13]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x4e], ax
test ax, ax
jne 0x140092390
mov r13d, dword [rbp + 0x510]
lea eax, [rsi - 0x30]
cmp eax, 4
ja 0x1400923c5
lea rdx, [0x14018b5e0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
lea eax, [rsi - 0x35]
cmp eax, 6
ja 0x1400923e0
lea rdx, [0x14018b5f0]
lea rcx, [rbp + 0x50]
mov r8, r15
call fcn.1400f98c8
mov r8d, dword [rbp + 0x4f0]
mov rdx, qword [rsp + 0x58]
lea r9, [rbp + 0x50]
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x20], r13d
call fcn.140095ed0
inc edi
cmp edi, r12d
jl 0x1400922d0
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
inc qword [rbp + 0x528]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, rbx
inc esi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x140091d90
mov r14, qword [rsp + 0x588]
mov r13, qword [rsp + 0x590]
mov r12, qword [rsp + 0x598]
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x5a0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret