Function at 0x14000ae90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov r8d, dword [0x140094a2c]
mov ecx, dword [0x140094a24]
mov r9d, dword [0x140094a30]
mov eax, dword [0x140094a28]
cmp r8d, ecx
ja 0x14000afd7
cmp r9d, eax
ja 0x14000afd7
cmp r8d, ecx
jb 0x14000aee6
cmp r9d, eax
jb 0x14000aee6
xor edx, edx
mov dword [0x140094a44], r8d
mov qword [0x140094a4c], rdx
mov dword [0x140094a48], r9d
add rsp, 0x38
ret
mov dword [rsp + 0x28], eax
lea rdx, str.DISPLAY:_Upscaling_required:_Screen_size___ix_i__smaller_than_display_size___ix_i_
mov dword [rsp + 0x20], ecx
mov ecx, 3
call fcn.1400349a0
mov edx, dword [0x140094a2c]
mov r8d, dword [0x140094a28]
mov eax, dword [0x140094a24]
test edx, edx
je 0x14000af20
mov ecx, dword [0x140094a30]
test ecx, ecx
jne 0x14000af31
mov ecx, r8d
mov dword [0x140094a2c], eax
mov dword [0x140094a30], ecx
mov edx, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mov eax, edx
cvtsi2ss xmm0, r8
xorps xmm2, xmm2
xorps xmm3, xmm3
cvtsi2ss xmm2, rax
mov eax, ecx
divss xmm1, xmm0
cvtsi2ss xmm3, rax
movaps xmm0, xmm2
divss xmm0, xmm3
comiss xmm0, xmm1
jb 0x14000af9b
divss xmm2, xmm1
mov dword [0x140094a44], edx
cvtps2pd xmm0, xmm2
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
xor edx, edx
mov dword [0x140094a4c], edx
mov dword [0x140094a48], eax
sub eax, dword [0x140094a30]
mov dword [0x140094a50], eax
add rsp, 0x38
ret
mulss xmm3, xmm1
cvtps2pd xmm0, xmm3
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mov eax, dword [0x140094a30]
cvttsd2si ecx, xmm0
mov dword [0x140094a48], eax
mov dword [0x140094a44], ecx
sub ecx, dword [0x140094a2c]
xor edx, edx
mov dword [0x140094a4c], ecx
mov dword [0x140094a50], edx
add rsp, 0x38
ret
mov dword [rsp + 0x28], eax
lea rdx, str.DISPLAY:_Downscaling_required:_Screen_size___ix_i__is_bigger_than_display_size___ix_i_
mov dword [rsp + 0x20], ecx
mov ecx, 4
call fcn.1400349a0
mov eax, dword [0x140094a2c]
xorps xmm3, xmm3
mov ecx, dword [0x140094a24]
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [0x140094a30]
cvtsi2ss xmm1, rax
mov eax, dword [0x140094a28]
cvtsi2ss xmm2, rax
cvtsi2ss xmm3, rcx
divss xmm2, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jb 0x14000b075
mulss xmm1, xmm3
mov dword [0x140094a44], ecx
cvtps2pd xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mov r9d, dword [0x140094a28]
xor edx, edx
mov r8d, dword [0x140094a24]
mov eax, r9d
cvttsd2si ecx, xmm0
mov dword [0x140094a4c], edx
sub eax, ecx
mov ecx, dword [0x140094a44]
mov dword [0x140094a50], eax
jmp 0x14000b0a7
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mov r8d, dword [0x140094a24]
mov eax, r8d
mov r9d, dword [0x140094a28]
cvttsd2si ecx, xmm0
sub eax, ecx
xor edx, edx
mov dword [0x140094a4c], eax
mov dword [0x140094a50], edx
mov eax, ecx
lea rdx, str.DISPLAY:_Downscale_matrix_generated__content_will_be_rendered_at___ix_i_
xorps xmm1, xmm1
mov qword [0x140094a68], 0
xorps xmm0, xmm0
mov qword [0x140094a70], 0
mov ecx, 4
mov dword [0x140094a7c], 0
cvtsi2ss xmm1, rax
mov eax, dword [0x140094a2c]
mov dword [0x140094aa0], 0x3f800000
mov dword [0x140094a44], r8d
mov dword [0x140094a48], r9d
cvtsi2ss xmm0, rax
divss xmm1, xmm0
movaps xmm0, xmmword [0x1400506d0]
movss dword [0x140094a64], xmm1
movss dword [0x140094a78], xmm1
xorps xmm1, xmm1
movaps xmmword [0x140094a90], xmm1
movaps xmmword [0x140094a80], xmm0
add rsp, 0x38
jmp fcn.1400349a0