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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb8
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, r9
mov r14, r8
mov rbp, rdx
mov rbx, rcx
xor esi, esi
cmp qword [rcx + 0x270], rsi
je 0x1402e3542
mov rax, qword [rcx + 0x270]
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov rcx, qword [rbx + 0x270]
call rax
test al, al
jne case.default.0x1402e36d0
mov eax, dword [r14 + 8]
cmp eax, 0x218
ja 0x1402e384b
je 0x1402e383d
sub eax, 5
je 0x1402e3806
sub eax, 0xb
je 0x1402e37f5
sub eax, 0x73
je 0x1402e373b
sub eax, 1
je 0x1402e3720
cmp eax, 0x190
jne 0x1402e3951
mov rax, qword [rbx + 0x28]
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x38]
call qword [rax + 0x28]
movss xmm6, dword [rax + 0x1c]
movss xmm0, dword [rbx + 0x24c]
subss xmm0, xmm6
andps xmm0, xmmword [0x1404be560]
comiss xmm0, dword [0x1404be52c]
jbe 0x1402e3612
movss dword [rbx + 0x24c], xmm6
mov esi, 1
mov edi, esi
cvtps2pd xmm1, xmm6
movsd xmm0, qword [0x140479ff0]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
movsd xmm7, qword [0x1404be530]
comisd xmm0, xmm7
jbe 0x1402e360c
cmp edi, 0x27
jg 0x1402e360a
inc edi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
comisd xmm0, xmm7
ja 0x1402e35e4
cmp edi, 0x27
jle 0x1402e360c
mov edi, esi
mov dword [rbx + 0x248], edi
mov edi, dword [rbx + 0x248]
mov rsi, qword [r14 + 0x18]
mov eax, dword [rsi + 8]
sub eax, dword [rsi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1404a7b80]
addss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvttss2si ebx, xmm0
mov eax, dword [rsi + 0xc]
sub eax, dword [rsi + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1404a7b80]
addss xmm0, xmm1
movd xmm2, edi
cvtdq2ps xmm2, xmm2
divss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov edx, dword [rsi + 8]
sub edx, ebx
mov r9d, dword [rsi]
add r9d, ebx
mov r8d, dword [rsi + 0xc]
sub r8d, ecx
mov r10d, dword [rsi + 4]
add r10d, ecx
mov rax, qword [r14 + 0x10]
dec rax
cmp rax, 7
ja case.default.0x1402e36d0
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x2e3994]
add rax, rcx
jmp rax
mov dword [rsi + 0xc], r10d
mov al, 1
jmp 0x1402e3963
mov dword [rsi + 0xc], r10d
mov dword [rsi], edx
mov al, 1
jmp 0x1402e3963
mov dword [rsi + 0xc], r10d
mov dword [rsi + 8], r9d
mov al, 1
jmp 0x1402e3963
mov dword [rsi + 4], r8d
mov al, 1
jmp 0x1402e3963
mov dword [rsi + 4], r8d
mov dword [rsi], edx
mov al, 1
jmp 0x1402e3963
mov dword [rsi + 4], r8d
mov dword [rsi + 8], r9d
mov al, 1
jmp 0x1402e3963
movsx edx, word [r14 + 0x18]
movsx r8d, word [r14 + 0x1a]
mov rcx, rbx
call fcn.1402e85a0
mov dword [rdi], eax
mov al, 1
jmp 0x1402e3963
mov rax, qword [r14 + 0x18]
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x38], xmm7
mov r9, rax
mov r8, qword [r14 + 0x10]
mov edx, dword [r14 + 8]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rax, qword [r14 + 0x18]
movups xmm6, xmmword [rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x58], 0x2c
lea rdx, [rsp + 0x58]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x1402e37e1
cmp dword [rsp + 0x60], 3
jne 0x1402e37e1
movd dword [rsp + 0x38], xmm6
movdqa xmm0, xmm6
psrldq xmm0, 8
movd dword [rsp + 0x40], xmm0
psrldq xmm6, 0xc
movd dword [rsp + 0x44], xmm6
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_class_QScreen____ptr64___cdecl_QWindow::screen_void_const___ptr64]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.Qt5Gui.dll_public:_class_QRect___cdecl_QScreen::availableGeometry_void____ptr64]
mov ecx, dword [rax + 4]
mov dword [rsp + 0x3c], ecx
movups xmm7, xmmword [rsp + 0x38]
mov rax, qword [r14 + 0x18]
movups xmmword [rax], xmm7
mov dword [rdi], 1
mov al, 1
jmp 0x1402e3963
mov rcx, qword [rbx + 0x268]
call fcn.1402f0380
jmp 0x1402e3951
cmp qword [r14 + 0x10], 2
jne 0x1402e3820
mov dl, 1
mov rcx, qword [rbx + 0x268]
call fcn.1402f03a0
jmp 0x1402e3951
cmp qword [r14 + 0x10], rsi
jne 0x1402e3951
xor edx, edx
mov rcx, qword [rbx + 0x268]
call fcn.1402f03a0
jmp 0x1402e3951
mov ecx, dword [r14 + 0x10]
call fcn.1402b7700
jmp 0x1402e3951
sub eax, 0x231
je 0x1402e3945
sub eax, 1
je 0x1402e392b
sub eax, 0x233
je 0x1402e3881
cmp eax, 1
jne 0x1402e3951
mov rcx, qword [rbx + 0x238]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1402e3951
mov rdx, qword [rbx + 0x240]
mov edx, dword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QWindow::setFlags_class_QFlags_enum_Qt::WindowType_____ptr64]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_class_QSize___cdecl_QWindow::maximumSize_void____ptr64]
mov r15, rax
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_class_QSize___cdecl_QWindow::minimumSize_void____ptr64]
mov ecx, dword [r15]
cmp dword [rax], ecx
jne 0x1402e38c8
mov ecx, dword [r15 + 4]
cmp dword [rax + 4], ecx
jne 0x1402e38c8
mov esi, 1
test sil, sil
jne 0x1402e38ec
lea rdx, [rsp + 0x24]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_class_QFlags_enum_Qt::WindowType____cdecl_QWindow::flags_void____ptr64]
test dword [rax], 0x800
jne 0x1402e38ec
mov byte [rbx + 0x250], 1
jmp 0x1402e38f3
mov byte [rbx + 0x250], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QWindow::setWindowState_enum_Qt::WindowState____ptr64]
mov dl, 1
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QWindow::setVisible_bool____ptr64]
mov r8, qword [rbx + 0x240]
mov edx, dword [r8 + 0x20]
mov r8d, dword [r8 + 0x24]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QWindow::resize_int__int____ptr64]
mov rcx, rbx
call fcn.1402e10c0
jmp 0x1402e3951
mov rcx, qword [rbx + 0x268]
call fcn.1402f0050
lea rcx, [rbx + 0x98]
call fcn.14008e8d0
jmp 0x1402e3951
mov rcx, qword [rbx + 0x268]
call fcn.1402f0010
mov r9, rdi
mov r8, r14
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_protected_virtual:_bool___cdecl_QWindow::nativeEvent_class_QByteArray_const____ptr64__void____ptr64__long_int____ptr64____ptr64]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1402f2210
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret