Function at 0x1400cf750
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x768]
sub rsp, 0x868
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rbx, r8
xor r9d, r9d
mov edx, 0x1032
xor r8d, r8d
mov r15, rcx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400cf7b6
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x50f
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call fcn.1400f11b0
xor eax, eax
jmp 0x1400cfaf3
mov qword [rsp + 0x898], rsi
mov qword [rsp + 0x860], r12
mov qword [rsp + 0x858], r13
movsxd r13, eax
mov ecx, 0x40
lea rdx, [r13*4]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r15
mov r12, rax
mov ebx, edi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1400cf84c
mov rsi, r12
nop
movsxd r8, ebx
mov edx, 0x102c
mov r9d, 2
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
jne 0x1400cf832
mov dword [rsi], ebx
add rsi, 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r15
inc ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x1400cf810
lea rbx, [0x140208860]
lea r9, [rbp - 0x70]
lea r8, str.C:TEMP_
lea rdx, str.SaveAsSingle
lea rcx, [0x140185d88]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1400372f0
test eax, eax
jne 0x1400cf8c0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x1400cfadb
lea r8, [rbp - 0x70]
lea rdx, str.SaveAsSingle
lea rcx, [0x140185d88]
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rbp - 0x70]
call fcn.1400e47e0
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x74]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
lea r8, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x7c]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.1400c6820
mov r8d, dword [rsp + 0x64]
movzx eax, r8w
shr ax, 8
movzx ecx, al
mov eax, r8d
shr eax, 0x10
shl ecx, 8
movzx edx, al
movzx eax, r8b
shl edx, 0x10
or ecx, edx
or ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rbx, rdi
mov rsi, rax
mov qword [rbp - 0x80], rax
test r13, r13
jle 0x1400cfaa9
mov qword [rsp + 0x850], r14
nop word [rax + rax]
mov edx, dword [r12 + rbx*4]
lea r8, [rbp + 0x220]
mov r9d, 1
mov rcx, r15
call fcn.1400c13c0
mov eax, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x7c]
lea rcx, [rbp + 0x220]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.1400c35f0
mov r14, rax
test rax, rax
je 0x1400cfa95
xor edx, edx
mov rcx, rax
call fcn.14004d600
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
test rsi, rsi
je 0x1400cfa91
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rdi
lea rax, [0x14018e3f0]
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x4b0]
mov qword [rsp + 0x28], rax
lea rax, [0x140181e34]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x220]
mov r8, rax
mov qword [rsp + 0x20], rax
call fcn.1400bc0f0
mov qword [rsp + 0x30], rdi
lea rdx, [rbp + 0x4b0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0xffffffff
call fcn.1400a6570
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rbp - 0x80]
inc rbx
cmp rbx, r13
jl 0x1400cf980
mov r14, qword [rsp + 0x850]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov r12, qword [rsp + 0x860]
mov rsi, qword [rsp + 0x898]
mov r13, qword [rsp + 0x858]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x868
pop r15
pop rdi
pop rbx
pop rbp
ret