Function at 0x100738c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [0x1017bfd8]
movaps xmm3, xmm2
push edi
mov edi, edx
movss dword [ebp - 8], xmm3
mov edx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
cmp edx, 4
je 0x100738ef
cmp edx, 5
je 0x100738ef
xor bh, bh
jmp 0x100738f1
mov bh, 1
movsd xmm5, qword [ebp + 0x1c]
movsd xmm4, qword [ebp + 0x14]
ucomisd xmm4, xmm5
lahf
test ah, 0x44
jnp 0x10073909
mov bl, 1
jmp 0x1007390b
xor bl, bl
xorps xmm2, xmm2
movaps xmm1, xmm5
ucomiss xmm3, xmm2
subsd xmm1, xmm4
lahf
test ah, 0x44
jp 0x10073948
test bl, bl
je 0x10073948
movsd xmm0, qword [0x101452c8]
comisd xmm0, xmm1
jbe 0x10073948
movss xmm0, dword [esi + 0x2c60]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvtpd2ps xmm3, xmm0
movss dword [ebp - 8], xmm3
mov eax, dword [esi + 0x1a34]
xorps xmm1, xmm1
cmp eax, 1
jne 0x100739d3
test esi, esi
jne 0x10073961
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [esi + 0xe0]
movss xmm6, dword [0x10145370]
comiss xmm0, xmm6
movss xmm7, dword [esi + 0xe4]
jb 0x10073a92
comiss xmm7, xmm6
jb 0x10073a92
movss xmm0, dword [esi + 0x434]
comiss xmm0, dword [0x10145040]
jbe 0x10073a92
cmp byte [esi + 0xfa], 0
movss xmm1, dword [esi + 0x370]
je 0x100739b9
mulss xmm1, dword [0x10144f1c]
cmp byte [esi + 0xf9], 0
je 0x10073a92
mulss xmm1, dword [0x10145124]
jmp 0x10073a92
cmp eax, 2
jne 0x10073a92
test bh, bh
je 0x10073a48
mov ecx, dword [ebp + 8]
call fcn.10068f90
movss xmm3, dword [0x10144f64]
mov edx, 3
push ecx
mov dword [esp], 0x41200000
lea ecx, [ebp - 0x10]
push 5
mov edi, eax
call fcn.1004f660
add esp, 8
movss xmm1, dword [eax]
movaps xmm0, xmm1
movss dword [ebp - 0xc], xmm0
test edi, edi
jns 0x10073a26
movss xmm0, dword [0x10144ea8]
jmp 0x10073a77
cmp edi, 0xa
jl 0x10073a6e
movss xmm0, dword [0x10145124]
neg edi
movd xmm1, edi
cvtdq2ps xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
movss xmm1, dword [ebp - 0xc]
jmp 0x10073a77
movss xmm3, dword [0x10144f64]
xor edi, edi
push ecx
mov dword [esp], 0x41200000
lea ecx, [ebp - 0x10]
push 5
lea edx, [edi + 3]
call fcn.1004f660
add esp, 8
movss xmm1, dword [eax]
movss xmm0, dword [edi*4 + 0x10142a68]
maxss xmm0, dword [ebp - 8]
movsd xmm4, qword [ebp + 0x14]
xorps xmm2, xmm2
movsd xmm5, qword [ebp + 0x1c]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
movaps xmm3, xmm0
mov cl, byte [esi + 0x1a14]
mulss xmm1, xmm3
movss dword [ebp - 8], xmm1
test bl, bl
je 0x10073ac3
movsd xmm0, qword [edi]
comisd xmm0, xmm5
jb 0x10073ab4
comiss xmm1, xmm2
ja 0x10073abf
comisd xmm4, xmm0
jb 0x10073ac3
comiss xmm2, xmm1
jbe 0x10073ac3
mov al, 1
jmp 0x10073ac5
xor al, al
test cl, cl
jne 0x10073af2
test al, al
jne 0x10073af2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10073b03
movaps xmm0, xmm1
mov byte [esi + 0x2c58], 1
addss xmm0, dword [esi + 0x2c5c]
movss dword [esi + 0x2c5c], xmm0
jmp 0x10073b03
mov dword [esi + 0x2c5c], 0
mov byte [esi + 0x2c58], 0
cmp byte [esi + 0x2c58], 0
je 0x10073bdd
movss xmm2, dword [esi + 0x2c5c]
mov ecx, dword [ebp + 8]
cvtps2pd xmm2, xmm2
addsd xmm2, qword [edi]
call fcn.100756a0
movss xmm2, dword [esi + 0x2c5c]
movaps xmm3, xmm0
movaps xmm1, xmm3
mov byte [esi + 0x2c58], 0
subsd xmm1, qword [edi]
xorps xmm0, xmm0
ucomisd xmm3, xmm0
cvtsd2ss xmm1, xmm1
lahf
subss xmm2, xmm1
movss dword [esi + 0x2c5c], xmm2
test ah, 0x44
jp 0x10073b60
xorps xmm3, xmm3
movsd xmm1, qword [edi]
ucomisd xmm1, xmm3
movaps xmm2, xmm1
lahf
test ah, 0x44
jnp 0x10073bc6
test bl, bl
je 0x10073bd0
movsd xmm2, qword [ebp + 0x14]
xorps xmm5, xmm5
comisd xmm2, xmm3
movss xmm0, dword [ebp - 8]
ja 0x10073b9a
comisd xmm3, xmm1
movaps xmm4, xmm1
jbe 0x10073ba0
comiss xmm5, xmm0
jbe 0x10073ba0
test bh, bh
jne 0x10073ba0
movaps xmm3, xmm2
movaps xmm4, xmm1
movsd xmm6, qword [ebp + 0x1c]
comisd xmm3, xmm6
ja 0x10073bc0
comisd xmm1, xmm3
movaps xmm2, xmm1
jbe 0x10073bc6
comiss xmm0, xmm5
jbe 0x10073bc6
movaps xmm2, xmm4
test bh, bh
jne 0x10073bc6
movaps xmm3, xmm6
movaps xmm2, xmm4
ucomisd xmm2, xmm3
lahf
test ah, 0x44
jnp 0x10073bdd
movsd qword [edi], xmm3
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret