Function at 0x1400efd40
Capabilities:
Get graphical window text
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xe10]
sub rsp, 0xf10
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0xde0], rax
mov rbx, rcx
mov edi, r8d
mov r14, rdx
mov qword [rsp + 0x38], rdx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x208
xor edx, edx
mov rsi, r9
call fcn.1400f9ab0
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x40], 0
jne 0x1400efdb0
or eax, 0xffffffff
jmp 0x1400f0139
lea rdx, [0x140182ce0]
lea rcx, [rbp - 0x40]
mov r8d, edi
mov qword [rsp + 0xf08], r12
mov qword [rsp + 0xf00], r13
call fcn.1400f98c8
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400efde0
lea r8, [rbp - 0x40]
xor edx, edx
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400efdf1
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400efe10
movsxd rdi, dword [rbp + 0xe60]
mov eax, dword [0x14018675c]
xor ebx, ebx
mov dword [rcx], eax
test rdi, rdi
jle 0x1400efe82
mov r8d, dword [rsi + rbx*4]
lea rdx, [0x140187948]
lea rcx, [rbp - 0x40]
call fcn.1400f98c8
lea rcx, [rbp + 0x1d0]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400efe50
lea r8, [rbp - 0x40]
xor edx, edx
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400efe61
inc rbx
cmp rbx, rdi
jl 0x1400efe31
mov eax, dword [0x14018675c]
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400efe90
movsd xmm2, qword [rbp + 0xe68]
mov dword [rcx], eax
lea rdx, str._.2f
lea rcx, [rbp - 0x40]
movq r8, xmm2
call fcn.1400f98c8
lea rcx, [rbp + 0x1d0]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400efec5
lea r8, [rbp - 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400efee0
lea rcx, [rbp + 0x1d0]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400eff00
mov eax, dword [0x14018675c]
lea r8, [rsp + 0x40]
lea rdx, str.Profile__s
mov dword [rcx], eax
lea rcx, [rbp - 0x40]
call fcn.1400f98c8
lea rbx, [0x140208860]
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x40]
mov r9, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r9, [rbp + 0x5e0]
lea r8, [0x140181e34]
lea rdx, str.Profiles
mov rcx, r14
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
mov r13d, edi
mov dword [rsp + 0x30], edi
mov eax, edi
lea rdx, [rbp + 0x5e0]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], ax
jne 0x1400eff87
movsxd rdx, ecx
test ecx, ecx
jle 0x1400effbb
nop word [rax + rax]
cmp word [rbp + rax*2 + 0x5e0], 0x7c
jne 0x1400effae
inc r13d
inc rax
cmp rax, rdx
jl 0x1400effa0
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0xef8], r15
mov r12d, edi
test r13d, r13d
jle 0x1400f00ae
nop
lea rcx, [rbp + 0x3e0]
xor edx, edx
mov r8d, 0x200
mov r15d, edi
mov rbx, rdi
call fcn.1400f9ab0
mov r14d, edi
lea rax, [rbp + 0x5e0]
or rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400f0000
test edi, edi
jle 0x1400f0078
lea rsi, [rbp + 0x5e0]
xor r13d, r13d
nop dword [rax + rax]
movzx eax, word [rsi]
cmp ax, 0x7c
je 0x1400f003f
cmp rbx, 0xff
jge 0x1400f0067
mov word [rbp + rbx*2 + 0x3e0], ax
inc rbx
jmp 0x1400f0067
mov word [rbp + rbx*2 + 0x3e0], r13w
cmp r12d, r15d
je 0x1400f0073
lea rcx, [rbp + 0x3e0]
xor edx, edx
mov r8d, 0x200
inc r15d
mov rbx, r13
call fcn.1400f9ab0
inc r14d
add rsi, 2
cmp r14d, edi
jl 0x1400f0020
mov r13d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x3e0]
call fcn.1400f92fc
test eax, eax
je 0x1400f011f
inc r12d
mov edi, 0
cmp r12d, r13d
jl 0x1400effd0
mov r14, qword [rsp + 0x38]
lea rbx, [0x140208860]
lea rcx, [rbp + 0x5e0]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400f00c0
lea r8, [rsp + 0x40]
xor edx, edx
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400f00d2
lea r8, [rbp + 0x5e0]
sub r8, 2
cmp word [r8 + 2], 0
lea r8, [r8 + 2]
jne 0x1400f00f0
mov eax, dword [0x1401839b4]
lea rdx, str.Profiles
mov r9, rbx
mov dword [r8], eax
lea r8, [rbp + 0x5e0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r15, qword [rsp + 0xef8]
mov r13, qword [rsp + 0xf00]
mov r12, qword [rsp + 0xf08]
xor eax, eax
mov rcx, qword [rbp + 0xde0]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0xf10
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret