Function at 0x1400d81a0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push r13
lea rbp, [rsp - 0xc78]
sub rsp, 0xd88
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0xc60], rax
mov ebx, ecx
mov esi, 1
lea rdx, [rbp + 0x240]
lea r8d, [rsi + 2]
lea rcx, [0x140209940]
call fcn.1400ed200
xor r13d, r13d
cmp dword [0x1401f7120], 0xffffffff
jne 0x1400d81fc
cmp word [rbp + 0x240], r13w
cmove esi, r13d
mov rcx, qword [0x1401fbb40]
test rcx, rcx
je 0x1400d896f
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400d896f
test ebx, ebx
je 0x1400d896f
mov rcx, qword [0x1401fbb40]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0xdc0], r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov r14d, dword [rbp - 0x70]
sub r14d, dword [rbp - 0x78]
cmp qword [0x1401fbae0], r13
jne 0x1400d8358
cmp dword [0x1401fbbd4], r13d
jne 0x1400d8358
mov rcx, qword [0x1401fbb40]
lea r9, [rbp - 0x68]
mov edx, 0x404
mov r8d, 1
mov dword [rbp - 0x68], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401fbbd8], r13d
je 0x1400d832a
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [0x1401fbc74]
lea rdx, [0x14018f080]
lea rcx, [rbp + 0x240]
inc r8d
mov r9, rax
call fcn.1400f98c8
lea rcx, [rbp + 0xc0]
mov edx, esi
call fcn.1400d7230
lea rdx, [rbp - 0x40]
lea rcx, [0x140209940]
mov word [rbp - 0x40], r13w
call fcn.1400eceb0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
lea r9, [rbp + 0x240]
lea r8, [0x140209940]
lea rdx, str._s___s___s___s
lea rcx, [rbp + 0x850]
mov qword [rsp + 0x20], rax
call fcn.1400f98c8
lea r9, [rbp + 0x850]
xor r8d, r8d
jmp 0x1400d8944
mov rcx, qword [0x1401fbba0]
lea r8, [rbp + 0x240]
mov r9d, 0x104
mov edx, 0x526
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0x240]
xor r8d, r8d
jmp 0x1400d8944
lea rcx, [rbp + 0xc0]
xor edx, edx
mov r8d, 0x100
mov qword [rsp + 0xdb0], rdi
call fcn.1400f9ab0
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x100
call fcn.1400f9ab0
lea rcx, [rbp + 0x1c0]
xor edx, edx
mov r8d, 0x80
call fcn.1400f9ab0
lea rcx, [rbp + 0x650]
xor edx, edx
mov r8d, 0x200
call fcn.1400f9ab0
mov eax, dword [0x1402094b4]
mov r9d, dword [0x1402094b8]
mov r8d, dword [0x1402094bc]
lea rdx, str._d_x__d_x__d_BPP
lea rcx, [rbp + 0x550]
mov dword [rsp + 0x20], eax
call fcn.1400f98c8
cmp esi, 1
jne 0x1400d8417
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [0x1401fbc74]
lea rdx, [0x14018f080]
lea rcx, [rbp + 0x240]
inc r8d
mov r9, rax
call fcn.1400f98c8
jmp 0x1400d8436
mov rcx, qword [0x1401fbba0]
lea r8, [rbp + 0x240]
mov r9d, 0x80
mov edx, 0x4ec
call qword [sym.imp.USER32.dll_LoadStringW]
movsd xmm0, qword [0x1401f7170]
lea rdx, str._d___
lea rcx, [rbp + 0x450]
addsd xmm0, qword [0x140183398]
cvttsd2si r8d, xmm0
call fcn.1400f98c8
mov edi, ebx
and edi, 1
jne 0x1400d848e
test bl, 4
jne 0x1400d848e
test bl, 8
jne 0x1400d848e
mov rcx, qword [0x1401fbb40]
lea r9, [rbp + 0xc0]
lea r8d, [rdi + 3]
mov edx, 0x40d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400d849c
lea rcx, [rbp + 0xc0]
mov edx, esi
call fcn.1400d7230
test edi, edi
jne 0x1400d84c1
test bl, 8
jne 0x1400d84c1
mov rcx, qword [0x1401fbb40]
lea r9, [rbp - 0x40]
lea r8d, [rdi + 4]
mov edx, 0x40d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400d8507
cmp esi, 1
jne 0x1400d84eb
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x100
call fcn.1400f9ab0
lea rdx, [rbp - 0x40]
lea rcx, [0x140209940]
call fcn.1400eceb0
test eax, eax
jne 0x1400d8507
mov rcx, qword [0x1401fbba0]
lea r8, [rbp - 0x40]
mov r9d, 0x80
mov edx, 0x4ec
call qword [sym.imp.USER32.dll_LoadStringW]
cmp dword [0x1401fbbd0], r13d
je 0x1400d8531
mov r9d, dword [0x1402094b8]
mov r8d, dword [0x1402094bc]
lea rdx, str._dx___dy
lea rcx, [rbp + 0x1c0]
call fcn.1400f98c8
mov qword [rsp + 0xd80], r15
test edi, edi
jne 0x1400d8546
test bl, 0x20
je 0x1400d8700
lea rax, [0x140208860]
lea r9, [rbp + 0x850]
lea r8, [0x1401832a4]
mov qword [rsp + 0x28], rax
lea rdx, str.Text
lea rcx, str.StatusBar
mov dword [rsp + 0x20], 0x104
mov qword [rsp + 0xdb8], r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [0x1401fbbd4], r13d
mov r15d, dword [0x1401fbbe4]
mov r12d, dword [0x1401fbbe0]
je 0x1400d85a6
mov r12d, dword [0x1401fbbec]
or r15d, 0xffffffff
mov rcx, qword [0x1401fbae0]
lea rax, [rbp - 0x80]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400eb570
mov rcx, qword [0x1401fbab8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbp - 0x80]
mov r8d, dword [0x1401fbc74]
movsd xmm0, qword [0x1401f7170]
mov r9d, dword [0x1401f7120]
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x70], r15d
inc r8d
mov edx, 0x100
movsd qword [rsp + 0x68], xmm0
mov dword [rsp + 0x60], ecx
mov ecx, dword [0x1402094b4]
mov dword [rsp + 0x58], ecx
mov ecx, dword [0x1402094b8]
mov dword [rsp + 0x50], ecx
mov ecx, dword [0x1402094bc]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 0xfffffc19
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
lea rax, [rbp + 0x850]
lea r8, [0x140209940]
lea rcx, [rbp + 0x650]
mov qword [rsp + 0x20], rax
call fcn.1400b6530
mov r12, qword [rsp + 0xdb8]
test esi, esi
je 0x1400d86c2
mov edx, dword [0x1401fbc74]
mov rcx, qword [0x1401fbab8]
call fcn.1400c18c0
test eax, eax
je 0x1400d86c2
lea rcx, [rbp + 0x650]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x1400d86a0
movsd xmm0, qword [0x140187498]
movzx eax, word [0x1401874a0]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
cmp dword [0x1401fbbcc], r13d
je 0x1400d8700
call fcn.14005b900
test eax, eax
je 0x1400d8700
movd xmm2, dword [0x1401fbbcc]
lea rdx, str._.2f_deg
lea rcx, [rbp + 0x650]
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [0x140188c70]
movq r8, xmm2
call fcn.1400f98c8
test edi, edi
jne 0x1400d870d
test bl, 4
je 0x1400d8824
mov rcx, qword [0x1401fbb40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [0x1401fbb40]
xor r9d, r9d
lea edx, [r9 + 0x31]
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rbp + 0x550]
mov r8d, r14d
mov rcx, rsi
mov r15, rax
call fcn.1400d62d0
lea rdx, [rbp + 0x240]
mov r8d, r14d
mov rcx, rsi
mov dword [rbp - 0x68], eax
call fcn.1400d62d0
lea rdx, [rbp + 0x450]
mov r8d, r14d
add eax, dword [rbp - 0x68]
mov rcx, rsi
mov dword [rbp - 0x64], eax
call fcn.1400d62d0
lea rdx, [rbp + 0xc0]
add eax, dword [rbp - 0x64]
mov r8d, r14d
mov rcx, rsi
mov dword [rbp - 0x60], eax
call fcn.1400d62d0
lea rdx, [rbp - 0x40]
add eax, dword [rbp - 0x60]
mov r8d, r14d
mov rcx, rsi
mov dword [rbp - 0x5c], eax
call fcn.1400d62d0
add eax, dword [rbp - 0x5c]
mov dword [rbp - 0x58], eax
mov eax, dword [0x1401fbbd0]
test eax, eax
je 0x1400d87dd
lea rdx, [rbp + 0x1c0]
mov r8d, r14d
mov rcx, rsi
call fcn.1400d62d0
add eax, dword [rbp - 0x58]
mov dword [rbp - 0x54], eax
mov eax, dword [0x1401fbbd0]
movsxd rcx, eax
mov eax, dword [rbp - 0x70]
mov rdx, r15
mov dword [rbp + rcx*4 - 0x54], eax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x1401fbb40]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
movsxd r8, dword [0x1401fbbd0]
mov rcx, qword [0x1401fbb40]
lea r9, [rbp - 0x68]
add r8, 6
mov edx, 0x404
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, qword [rsp + 0xd80]
test edi, edi
jne 0x1400d8835
test bl, 4
je 0x1400d8851
mov rcx, qword [0x1401fbb40]
lea r9, [rbp + 0x550]
xor r8d, r8d
mov edx, 0x40b
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x1400d885f
test bl, 4
jne 0x1400d885f
test bl, 2
je 0x1400d887e
mov rcx, qword [0x1401fbb40]
lea r9, [rbp + 0x240]
mov edx, 0x40b
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x1400d8887
test bl, 4
je 0x1400d88a6
mov rcx, qword [0x1401fbb40]
lea r9, [rbp + 0x450]
mov edx, 0x40b
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x1400d88b4
test bl, 4
jne 0x1400d88b4
test bl, 8
je 0x1400d88d3
mov rcx, qword [0x1401fbb40]
lea r9, [rbp + 0xc0]
mov edx, 0x40b
mov r8d, 3
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x1400d88dc
test bl, 8
je 0x1400d88f8
mov rcx, qword [0x1401fbb40]
lea r9, [rbp - 0x40]
mov edx, 0x40b
mov r8d, 4
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401fbbd0], r13d
je 0x1400d8920
mov rcx, qword [0x1401fbb40]
lea r9, [0x140188451]
mov edx, 0x40b
mov r8d, 5
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
mov rdi, qword [rsp + 0xdb0]
jne 0x1400d8931
test bl, 0x20
je 0x1400d8956
mov eax, dword [0x1401fbbd0]
lea r9, [rbp + 0x650]
add eax, 5
movsxd r8, eax
mov rcx, qword [0x1401fbb40]
mov edx, 0x40b
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, qword [rsp + 0xdc0]
test bl, 1
je 0x1400d896f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140071cf0
mov rcx, qword [rbp + 0xc60]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0xd88
pop r13
pop rsi
pop rbx
pop rbp
ret