Function at 0x180003498
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movsd xmm10, qword [0x180030e48]
movaps xmmword [rax - 0x68], xmm11
movss xmm11, dword [0x180030f4c]
movaps xmmword [rax - 0x78], xmm12
movsd xmm12, qword [0x180030d90]
movaps xmmword [rsp + 0x40], xmm13
movsd xmm13, qword [0x180030e00]
movaps xmmword [rsp + 0x30], xmm14
movsd xmm14, qword [0x180030e38]
movaps xmmword [rsp + 0x20], xmm15
movsd xmm15, qword [0x180030e50]
movss xmm7, dword [0x180030ef4]
movaps xmm0, xmm11
mulss xmm0, xmm11
xorps xmm2, xmm2
mov eax, 0x46
cvtss2sd xmm2, xmm0
movaps xmm11, xmm0
ucomisd xmm2, qword [0x180030e70]
jp 0x18000353d
je 0x18000358d
movsd xmm6, qword [0x180030da8]
mov cl, al
call fcn.180003bc4
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
subsd xmm6, xmm1
cvttsd2si rax, xmm6
xorps xmm6, xmm6
cvtsi2ss xmm0, rax
cvtsi2sd xmm6, rax
divss xmm0, xmm7
movaps xmm2, xmm6
movaps xmm7, xmm0
addsd xmm2, xmm1
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
ucomisd xmm2, qword [0x180030e70]
jp 0x180003545
jne 0x180003545
ucomisd xmm2, qword [0x180030e80]
jp 0x180003599
je 0x1800035c8
movsd xmm0, qword [0x180030dc8]
call fcn.180003d38
movsx ecx, al
movd xmm6, ecx
mov ecx, 0x50
cvtdq2ps xmm6, xmm6
call fcn.18000395c
xorps xmm2, xmm2
cvtps2pd xmm1, xmm6
cvtss2sd xmm2, xmm0
addsd xmm2, xmm1
comisd xmm14, xmm2
movss xmm9, dword [0x180030fac]
jb 0x1800036ee
movsd xmm10, qword [0x180030e30]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
call fcn.180003498
movsx ecx, al
movd xmm9, ecx
cvtdq2ps xmm9, xmm9
cvttss2si ecx, xmm9
call fcn.18000395c
movsd xmm8, qword [0x180030cf8]
movsd xmm7, qword [0x180030e58]
cvttss2si eax, xmm0
movaps xmm0, xmm9
movsx ecx, al
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
cvtps2pd xmm2, xmm0
comisd xmm10, xmm2
jb 0x180003685
movaps xmm6, xmm12
call qword [sym.imp.KERNEL32.dll_GetACP]
divsd xmm6, xmm8
cvttsd2si ecx, xmm8
cvttsd2si ebx, xmm6
call fcn.180003bc4
movd xmm8, eax
movsx eax, bl
cvtdq2pd xmm8, xmm8
movd xmm6, eax
cvtdq2pd xmm6, xmm6
movaps xmm0, xmm8
subsd xmm7, xmm6
movaps xmm2, xmm6
divsd xmm0, xmm7
subsd xmm2, xmm0
comisd xmm10, xmm2
jae 0x18000363d
ucomisd xmm2, qword [0x180030e68]
movaps xmm7, xmm13
jp 0x180003695
je 0x1800036da
movsd xmm6, qword [0x180030dd8]
call qword [sym.imp.USER32.dll_GetClipboardViewer]
movaps xmm0, xmm6
call fcn.180003498
cvttsd2si ecx, xmm7
movsx ebx, al
call fcn.180003bc4
movd xmm6, ebx
cvtdq2pd xmm6, xmm6
movd xmm7, eax
cvtdq2pd xmm7, xmm7
movaps xmm2, xmm6
mulsd xmm2, xmm7
ucomisd xmm2, qword [0x180030e68]
jp 0x18000369d
jne 0x18000369d
comisd xmm14, xmm2
jae 0x1800035e5
movsd xmm10, qword [0x180030e48]
comisd xmm15, xmm2
movsd xmm6, qword [0x180030d98]
jb 0x1800037d5
movsd xmm12, qword [0x180030cd0]
movaps xmm0, xmm6
call fcn.180003d38
movsx ecx, al
movd xmm6, ecx
cvtdq2pd xmm6, xmm6
comisd xmm6, xmmword [0x180030ce8]
jae 0x180003751
mov cl, 0x44
call fcn.180003bc4
movsxd r8, eax
xorps xmm2, xmm2
mov eax, 0x20
cqo
idiv r8
movsx rcx, al
sub r8, rcx
cvtsi2sd xmm2, r8
comisd xmm12, xmm2
jbe 0x180003773
movsd xmm0, qword [0x180030ca0]
call fcn.180003498
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x180030c60]
cvtps2pd xmm2, xmm0
comisd xmm13, xmm2
movss xmm3, dword [0x180030f48]
jb 0x1800037a9
movsd xmm2, qword [0x180030ec0]
movaps xmm1, xmm2
movaps xmm0, xmm3
subss xmm0, xmm3
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
movaps xmm3, xmm0
mulsd xmm2, xmm1
comisd xmm13, xmm2
jae 0x18000378a
mov eax, 2
jmp 0x1800037ba
add eax, eax
movd xmm2, eax
cvtdq2pd xmm2, xmm2
comisd xmm2, xmm10
ja 0x1800037b0
comisd xmm15, xmm2
jae 0x18000370a
movsd xmm12, qword [0x180030d90]
comisd xmm2, xmmword [0x180030dd0]
ja 0x180003510
comisd xmm2, xmmword [0x180030d70]
jb 0x180003819
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, 0x1a
call fcn.18000395c
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x180030d58]
divsd xmm1, qword [0x180030e98]
jmp 0x180003910
mov ecx, 0x4e
call fcn.18000395c
movss xmm6, dword [0x180030fd8]
mov eax, 6
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.180003498
movsx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
subss xmm0, xmm6
mulss xmm1, xmm0
movaps xmm6, xmm0
cvtps2pd xmm1, xmm1
ucomisd xmm1, xmm10
jp 0x180003830
jne 0x180003830
comisd xmm1, xmm12
jb 0x1800038aa
call qword [sym.imp.USER32.dll_CreateMenu]
movsd xmm0, qword [0x180030d48]
call fcn.180003498
movss xmm0, dword [0x180030f40]
xorps xmm2, xmm2
movsx rcx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
imul rcx, rcx
subss xmm0, xmm1
cvtsi2ss xmm2, rcx
mulss xmm2, xmm1
subss xmm2, xmm0
cvtps2pd xmm1, xmm2
comisd xmm1, xmmword [0x180030cc8]
jb 0x1800038d2
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
movsd xmm0, qword [0x180030e08]
call fcn.180003d38
movsx ecx, al
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
movsd xmm6, qword [0x180030d00]
mov dil, 0x7f
mov ecx, 0x4d
jmp 0x18000390a
movsx eax, cl
movsx edi, dil
imul edi, eax
movsx ebx, dil
mov ecx, ebx
call fcn.18000395c
cvttss2si ecx, xmm0
mov eax, ebx
cdq
idiv ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm6, xmm1
jae 0x1800038e4
movaps xmm14, xmmword [rsp + 0x30]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm15, xmmword [rsp + 0x20]
cvttsd2si eax, xmm1
mov rsp, r11
pop rdi
ret