Function at 0x1400d8210
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xe0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor r13d, r13d
mov qword [rcx + 0x25c0], r13
mov qword [rcx + 0x2610], r13
mov dword [rcx + 0x25e8], r13d
movups xmmword [rcx + 0x25ec], xmm0
movups xmmword [rcx + 0x25fc], xmm0
lea rdx, [0x1401855b8]
lea rcx, [rbp - 0x59]
call fcn.14004df84
mov r8, rax
lea rdx, [rbp - 0x51]
lea rcx, [0x14021cdd0]
call fcn.1400cdc10
mov rdx, qword [rax]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d82ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
and r8d, 0xff3fffff
cmp eax, r8d
je 0x1400d82f7
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
btr r8d, 0x12
cmp eax, r8d
je 0x1400d8322
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x20], 0x52000000
lea r9, [0x1401cc718]
lea r8, section..data
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 0xa8]
call fcn.1400d1900
mov qword [rdi + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [0x14021cdd0]
call fcn.1400cd750
mov eax, dword [rbp - 0xd]
sub eax, dword [rbp - 0x15]
test eax, eax
jle 0x1400d83c2
mov eax, dword [rbp - 0x11]
sub eax, dword [rbp - 0x19]
test eax, eax
jle 0x1400d83c2
lea rdx, [rbp - 0x19]
lea rcx, [rdi + 0xa8]
call fcn.1400d57e0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea rcx, [0x14021ce90]
call fcn.1400d7400
mov rbx, rax
lea rcx, [rdi + 0x70]
mov qword [rbp - 0x49], rcx
lea rcx, [rax + 8]
lea rdx, [rbp - 0x49]
call fcn.1400d6460
lea rcx, [rdi + 0x78]
mov qword [rbp - 0x61], rcx
lea rcx, [rbx + 0x18]
lea rdx, [rbp - 0x61]
call fcn.1400d63b0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
imul ecx, dword [rbp + 3], 0x19
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov r15d, edx
shr r15d, 0x1f
add edx, 0x1c2
add r15d, edx
imul ecx, dword [rbp - 1], 0x19
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov r12d, edx
shr r12d, 0x1f
add edx, 0x12c
add r12d, edx
mov eax, 0x190
cmp r12d, eax
cmovl r12d, eax
mov eax, 0x258
cmp r15d, eax
cmovl r15d, eax
mov eax, dword [rbp - 0x1d]
sub eax, dword [rbp - 0x25]
cmp r15d, eax
cmovg r15d, eax
lea rdx, [rbp - 0x69]
lea rcx, [rdi + 0xa8]
call fcn.1400d3090
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x69]
lea rcx, [0x14021cdd0]
call fcn.1400cc4c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi + 0x25d8], xmm0
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
lea rcx, [0x14021cdd0]
call fcn.1400cc320
mov r9, qword [rbp - 0x71]
xor r8d, r8d
lea rdx, str.Width
lea rcx, str.Sytem_Old_Resolution
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbp + 0xf], eax
mov r9, qword [rbp - 0x71]
xor r8d, r8d
lea rdx, str.Height
lea rcx, str.Sytem_Old_Resolution
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbp + 0x13], eax
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_EqualRect]
mov r13d, dword [rbp + 3]
test eax, eax
jne 0x1400d85aa
imul ecx, dword [rbp + 0xf], 0x19
mov eax, 0x51eb851f
imul ecx
mov r8d, edx
sar r8d, 5
mov eax, r8d
shr eax, 0x1f
add r8d, eax
imul ecx, dword [rbp - 1], 0x19
mov eax, 0x51eb851f
imul ecx
mov r9d, edx
sar r9d, 5
mov eax, r9d
shr eax, 0x1f
add r9d, eax
sub r9d, r8d
add r9d, dword [rdi + 0x25e0]
mov dword [rbp - 0x31], r9d
imul ecx, dword [rbp + 0x13], 0x19
mov eax, 0x51eb851f
imul ecx
mov r8d, edx
sar r8d, 5
mov ecx, r8d
shr ecx, 0x1f
add r8d, ecx
imul ecx, r13d, 0x19
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, r8d
add edx, dword [rdi + 0x25e4]
mov dword [rbp - 0x2d], edx
jmp 0x1400d85b1
mov edx, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
mov ebx, edx
mov r8d, dword [rbp - 0x35]
mov r11d, r9d
mov eax, dword [rbp - 0x39]
sub r11d, eax
sub ebx, r8d
jne 0x1400d85ed
test r11d, r11d
jne 0x1400d85ed
mov r9d, r12d
mov dword [rbp - 0x31], r12d
mov edx, r15d
mov dword [rbp - 0x2d], edx
mov ecx, dword [rbp - 0x29]
mov r10d, dword [rbp - 0x25]
mov r8d, r10d
mov dword [rbp - 0x35], r10d
mov ebx, r15d
mov r11d, r12d
jmp 0x1400d8613
mov r10d, dword [rbp - 0x25]
mov ecx, dword [rbp - 0x29]
cmp r8d, r10d
jg 0x1400d8607
mov r8d, r10d
mov dword [rbp - 0x35], r10d
lea edx, [r10 + rbx]
mov dword [rbp - 0x2d], edx
cmp eax, ecx
jg 0x1400d8618
lea r9d, [rcx + r11]
mov dword [rbp - 0x31], r9d
mov eax, ecx
mov dword [rbp - 0x39], ecx
mov r14d, dword [rbp - 0x21]
cmp r14d, r9d
jge 0x1400d8636
mov r9d, r14d
mov dword [rbp - 0x31], r14d
mov eax, r14d
sub eax, r11d
cmp eax, ecx
cmovl eax, ecx
mov dword [rbp - 0x39], eax
mov ecx, dword [rbp - 0x1d]
cmp ecx, edx
jge 0x1400d8657
lea edx, [rcx + rcx]
sub edx, r13d
mov dword [rbp - 0x2d], edx
mov r8d, ecx
sub r8d, ebx
cmp r8d, r10d
cmovl r8d, r10d
mov dword [rbp - 0x35], r8d
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi + 0x25d8], xmm0
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi + 0x25c8], xmm0
sub edx, r8d
sub r9d, eax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edx
mov edx, eax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d86a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400d86c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400dd830
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret