Function at 0x1400543f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [0x1400b1428]
mov edx, 0x63
call qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, qword [rbx + 0x88]
xor r8d, r8d
mov r9, rax
mov edx, 0x80
call qword [sym.imp.USER32.dll_SendMessageW]
xor r14d, r14d
cmp qword [rbx + 0x30], r14
jbe 0x140054454
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp qword [rbx + 0x70], r14
jbe 0x140054479
mov rcx, qword [rbx + 0x88]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rbx + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, 0x3e9
cmp qword [rbx + 0x50], r14
jbe 0x1400544a0
mov rcx, qword [rbx + 0x88]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rbx + 0x48]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp word [rbx + 0x20], r14w
je 0x1400544c6
movzx r9d, word [rbx + 0x20]
mov rcx, qword [rbx + 0x88]
mov r8d, 0xcc
mov edx, edi
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp dword [rbx + 0x14], r14d
jle 0x1400544ea
movsxd r9, dword [rbx + 0x14]
mov rcx, qword [rbx + 0x88]
mov r8d, 0xc5
mov edx, edi
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rbx + 0x88]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x30]
call fcn.140045ae0
mov r12d, dword [rsp + 0x30]
mov esi, dword [rsp + 0x34]
mov ebp, dword [rsp + 0x38]
mov edi, dword [rsp + 0x3c]
lea rdx, [0x14009a680]
sub ebp, r12d
sub edi, esi
cmp dword [rbx + 8], r14d
cmovge r12d, dword [rbx + 8]
cmp dword [rbx + 0xc], r14d
lea rcx, [rbx + 0x28]
cmovge esi, dword [rbx + 0xc]
cmp dword [rbx], r14d
cmovg ebp, dword [rbx]
cmp dword [rbx + 4], r14d
cmovg edi, dword [rbx + 4]
call fcn.140046560
cmp al, r14b
je 0x140054561
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x30]
call fcn.140045ae0
test byte [rbx + 0x10], 0x40
mov ecx, 2
je 0x14005459a
mov eax, dword [rsp + 0x38]
sub eax, ebp
sub eax, dword [rsp + 0x30]
cdq
idiv ecx
mov r12d, eax
test byte [rbx + 0x10], 0x80
je 0x1400545af
mov eax, dword [rsp + 0x3c]
sub eax, edi
sub eax, dword [rsp + 0x34]
cdq
idiv ecx
mov esi, eax
mov rcx, qword [rbx + 0x88]
mov r9d, ebp
mov r8d, esi
mov edx, r12d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x88]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rcx, [rsp + 0x30]
call fcn.140045ae0
mov r8d, dword [rsp + 0x3c]
mov rcx, qword [rbx + 0x88]
sub r8d, dword [rsp + 0x34]
shl r8d, 0x10
sub r8d, dword [rsp + 0x30]
add r8d, dword [rsp + 0x38]
movsxd r9, r8d
xor r8d, r8d
lea edx, [r8 + 5]
call qword [sym.imp.USER32.dll_PostMessageW]
movsd xmm5, qword [rbx + 0x18]
comisd xmm5, xmmword [0x1400a2c98]
jbe 0x140054651
mulsd xmm5, qword [0x1400a2c88]
mov rcx, qword [rbx + 0x88]
xor r9d, r9d
mov edx, 0x40a
cvttsd2si r8, xmm5
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [rbx + 0x90], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop r12
ret