Function at 0x140006d10
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
movaps xmmword [rax - 0x18], xmm6
lea rdx, [rax - 0x40]
movaps xmmword [rax - 0x28], xmm7
mov esi, r9d
mov ebx, r8d
movaps xmmword [rax - 0x38], xmm8
lea r9, [rax - 0x48]
movaps xmm7, xmm1
lea r8, [rax - 0x44]
mov edi, ecx
call fcn.140005490
movsd xmm6, qword [rsp + 0x28]
xorps xmm0, xmm0
ucomisd xmm6, xmm0
xorps xmm8, xmm8
jp 0x140006ef7
jne 0x140006ef7
ucomiss xmm7, xmm8
jp 0x140006ef0
jne 0x140006ef0
test ebx, ebx
je 0x140006eae
test esi, esi
je 0x140006eae
movd xmm6, ebx
movd xmm0, esi
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm6, xmm6
divsd xmm6, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cmp ebx, eax
cmovg ebx, eax
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cmp esi, eax
cmovg esi, eax
mov edi, esi
mov eax, esi
test ebx, ebx
je 0x140006f2d
test eax, eax
je 0x140006f2d
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, ebx
sar ecx, 0x18
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, ebx
sar ecx, 0x10
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, ebx
sar ecx, 8
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov byte [rax], bl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, edi
sar ecx, 0x18
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, edi
sar ecx, 0x10
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, edi
sar ecx, 8
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov byte [rax], dil
mov eax, 3
jmp 0x140007040
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Unable_to_determine_dimensions_of_image__d
mov r8d, edi
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm6, xmm6
cvtss2sd xmm6, xmm7
test esi, esi
jne 0x140006fd4
test ebx, ebx
jne 0x140006fb9
mov ebx, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
test ebx, ebx
jne 0x140006fb1
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si ebx, xmm0
ucomiss xmm7, xmm8
jp 0x140006f39
je 0x140006de4
cvtpd2ps xmm0, xmm6
call fcn.140001073
call fcn.1400015c8
mov rax, qword [0x140028118]
test esi, esi
je 0x140006feb
mov ecx, edi
sar ecx, 0x18
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, edi
sar ecx, 0x10
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, edi
sar ecx, 8
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov byte [rax], dil
mov eax, 1
jmp 0x140007040
test edi, edi
jne 0x140006f2d
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si edi, xmm0
jmp 0x140006f2d
movd xmm0, esi
cvtdq2pd xmm0, xmm0
test ebx, ebx
jne 0x140006da2
mov edi, esi
jmp 0x140006f1f
mov ecx, ebx
sar ecx, 0x18
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, ebx
sar ecx, 0x10
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov ecx, ebx
sar ecx, 8
mov byte [rax], cl
inc qword [0x140028118]
call fcn.1400015c8
mov rax, qword [0x140028118]
mov byte [rax], bl
mov eax, 2
inc qword [0x140028118]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x30]
add rsp, 0x60
pop rdi
ret