Function at 0x1003ebe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x101e6b78]
mov eax, ecx
mov dword [ebp - 0x14], eax
movaps xmm4, xmm3
movss xmm3, dword [ebp + 8]
movaps xmm1, xmm2
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 0x10], xmm1
push edi
mov edi, edx
cmp eax, 4
je 0x1003ec19
cmp eax, 5
je 0x1003ec19
xor cl, cl
jmp 0x1003ec1b
mov cl, 1
ucomiss xmm4, xmm3
mov byte [ebp - 1], cl
lahf
test ah, 0x44
jnp 0x1003ec2b
mov al, 1
jmp 0x1003ec2d
xor al, al
movss xmm7, dword [0x1017f158]
movss xmm0, dword [ebp + 0x10]
movss xmm2, dword [0x1017f3c0]
ucomiss xmm0, xmm7
mov byte [ebp - 2], al
lahf
test ah, 0x44
jnp 0x1003ec68
test cl, cl
je 0x1003ec68
test al, al
je 0x1003ec68
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1003ec68
mov byte [ebp - 3], 1
jmp 0x1003ec73
movaps xmm0, xmm3
mov byte [ebp - 3], 0
subss xmm0, xmm4
xorps xmm6, xmm6
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x1003ec98
test al, al
je 0x1003ec98
comiss xmm2, xmm0
jbe 0x1003ec98
movaps xmm1, xmm0
mulss xmm1, dword [esi + 0x2c64]
movss dword [ebp - 0x10], xmm1
mov eax, dword [esi + 0x1a34]
xorps xmm5, xmm5
cmp eax, 1
jne 0x1003ed2b
test esi, esi
jne 0x1003ecb5
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [esi + 0xe0]
movss xmm2, dword [0x1017f438]
comiss xmm0, xmm2
movss xmm7, dword [esi + 0xe4]
jb 0x1003ef04
comiss xmm7, xmm2
movss xmm7, dword [0x1017f158]
jb 0x1003ef0c
movss xmm0, dword [esi + 0x434]
comiss xmm0, xmm7
jbe 0x1003ef0c
cmp byte [esi + 0xfa], 0
movss xmm5, dword [esi + 0x370]
je 0x1003ed11
mulss xmm5, dword [0x1017f0a4]
cmp byte [esi + 0xf9], 0
je 0x1003ef0c
mulss xmm5, dword [0x1017f224]
jmp 0x1003ef0c
cmp eax, 2
jne 0x1003ef0c
test cl, cl
je 0x1003ed44
mov ecx, dword [ebp + 0xc]
call fcn.10135cf0
mov edx, eax
jmp 0x1003ed46
xor edx, edx
movss xmm0, dword [esi + 0x1490]
lea eax, [esi + 0x18]
comiss xmm6, xmm0
mov dword [ebp - 8], eax
movss xmm5, dword [0x1017f0ec]
movss xmm1, dword [0x1017f140]
jbe 0x1003ed6e
xorps xmm7, xmm7
jmp 0x1003eda7
movss xmm2, dword [esi + 0x88]
movss xmm3, dword [esi + 0x8c]
mulss xmm2, xmm1
movaps xmm1, xmm0
subss xmm1, dword [eax]
mulss xmm3, xmm5
call fcn.10116d70
movss xmm1, dword [0x1017f140]
movd xmm7, eax
lea eax, [esi + 0x18]
cvtdq2ps xmm7, xmm7
mov dword [ebp - 8], eax
movss xmm0, dword [esi + 0x148c]
comiss xmm6, xmm0
jbe 0x1003edb9
xorps xmm0, xmm0
jmp 0x1003ede4
movss xmm2, dword [esi + 0x88]
movss xmm3, dword [esi + 0x8c]
mulss xmm2, xmm1
movaps xmm1, xmm0
subss xmm1, dword [eax]
mulss xmm3, xmm5
call fcn.10116d70
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
movss xmm0, dword [esi + 0x145c]
comiss xmm6, xmm0
addss xmm7, xmm6
jbe 0x1003edfe
xorps xmm5, xmm5
jmp 0x1003ee30
mov eax, dword [ebp - 8]
movaps xmm1, xmm0
movss xmm3, dword [esi + 0x8c]
movss xmm2, dword [esi + 0x88]
mulss xmm2, dword [0x1017f140]
subss xmm1, dword [eax]
mulss xmm3, xmm5
call fcn.10116d70
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss xmm0, dword [esi + 0x1458]
comiss xmm6, xmm0
jbe 0x1003ee42
xorps xmm0, xmm0
jmp 0x1003ee78
mov eax, dword [ebp - 8]
movaps xmm1, xmm0
movss xmm3, dword [esi + 0x8c]
movss xmm2, dword [esi + 0x88]
mulss xmm3, dword [0x1017f0ec]
subss xmm1, dword [eax]
mulss xmm2, dword [0x1017f140]
call fcn.10116d70
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm5, xmm0
movss xmm0, dword [esi + 0x334]
comiss xmm0, xmm6
addss xmm5, xmm7
movss dword [ebp - 8], xmm5
jbe 0x1003ee9f
mulss xmm5, dword [0x1017f0d0]
movss dword [ebp - 8], xmm5
movss xmm0, dword [esi + 0x338]
comiss xmm0, xmm6
movss xmm0, dword [0x1017f224]
jbe 0x1003eebd
mulss xmm5, xmm0
movss dword [ebp - 8], xmm5
test edx, edx
jns 0x1003eecb
movss xmm0, dword [0x1017f070]
jmp 0x1003eef1
cmp edx, 0xa
jge 0x1003eedb
movss xmm0, dword [edx*4 + 0x1017e650]
jmp 0x1003eef1
neg edx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
call fcn.1000d060
movss xmm5, dword [ebp - 8]
xorps xmm6, xmm6
movss xmm1, dword [ebp - 0x10]
movss xmm4, dword [ebp - 0xc]
maxss xmm1, xmm0
movss xmm3, dword [ebp + 8]
movss xmm7, dword [0x1017f158]
mov bl, byte [ebp - 2]
mov dl, byte [esi + 0x1a14]
mulss xmm5, xmm1
movss dword [ebp - 8], xmm5
test bl, bl
je 0x1003ef3e
movss xmm0, dword [edi]
comiss xmm0, xmm3
jb 0x1003ef30
comiss xmm5, xmm6
ja 0x1003ef3a
comiss xmm4, xmm0
jb 0x1003ef3e
comiss xmm6, xmm5
jbe 0x1003ef3e
mov cl, 1
jmp 0x1003ef40
xor cl, cl
mov ch, byte [ebp - 3]
test ch, ch
je 0x1003ef6b
comiss xmm6, xmm5
jbe 0x1003ef59
movss xmm0, dword [esi + 0x2c60]
comiss xmm0, xmm6
ja 0x1003ef67
comiss xmm5, xmm6
jbe 0x1003ef6b
comiss xmm6, dword [esi + 0x2c60]
jbe 0x1003ef6b
mov al, 1
jmp 0x1003ef6d
xor al, al
test dl, dl
jne 0x1003ef9e
test cl, cl
jne 0x1003ef9e
test al, al
jne 0x1003ef9e
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1003efaf
movaps xmm0, xmm5
mov byte [esi + 0x2c5c], 1
addss xmm0, dword [esi + 0x2c60]
movss dword [esi + 0x2c60], xmm0
jmp 0x1003efaf
mov dword [esi + 0x2c60], 0
mov byte [esi + 0x2c5c], 0
cmp byte [esi + 0x2c5c], 0
je 0x1003f147
movss xmm0, dword [edi]
subss xmm3, xmm4
movss xmm2, dword [esi + 0x2c60]
movss dword [ebp - 0x10], xmm3
test ch, ch
je 0x1003f08d
subss xmm0, xmm4
movaps xmm1, xmm7
divss xmm1, dword [ebp + 0x10]
divss xmm0, xmm3
call fcn.1000d060
movaps xmm1, xmm0
movss xmm0, dword [esi + 0x2c60]
divss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x18], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1003f014
xorps xmm2, xmm2
jmp 0x1003f020
movss xmm2, dword [0x1017f158]
minss xmm2, xmm0
movss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm2
call fcn.1000d060
mulss xmm0, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
addss xmm0, dword [ebp - 0xc]
movaps xmm2, xmm0
call fcn.10041e90
movss xmm1, dword [0x1017f158]
divss xmm1, dword [ebp + 0x10]
mov byte [esi + 0x2c5c], 0
movss dword [ebp - 0x14], xmm0
subss xmm0, dword [ebp - 0xc]
divss xmm0, dword [ebp - 0x10]
call fcn.1000d060
subss xmm0, dword [ebp - 0x18]
movss xmm1, dword [esi + 0x2c60]
movss xmm2, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [esi + 0x2c60], xmm1
jmp 0x1003f0c1
mov edx, dword [ebp - 0x14]
addss xmm2, xmm0
mov ecx, dword [ebp + 0xc]
call fcn.10041e90
movaps xmm2, xmm0
mov byte [esi + 0x2c5c], 0
movss xmm0, dword [esi + 0x2c60]
movaps xmm1, xmm2
subss xmm1, dword [edi]
subss xmm0, xmm1
movss dword [esi + 0x2c60], xmm0
xorps xmm1, xmm1
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1003f0d0
xorps xmm2, xmm2
movss xmm3, dword [edi]
ucomiss xmm3, xmm2
movaps xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1003f131
test bl, bl
je 0x1003f131
movss xmm4, dword [ebp - 0xc]
comiss xmm4, xmm2
mov al, byte [ebp - 1]
movss xmm0, dword [ebp - 8]
ja 0x1003f107
comiss xmm2, xmm3
movaps xmm5, xmm3
jbe 0x1003f10d
comiss xmm1, xmm0
jbe 0x1003f10d
test al, al
jne 0x1003f10d
movaps xmm2, xmm4
movaps xmm5, xmm3
movss xmm6, dword [ebp + 8]
comiss xmm2, xmm6
ja 0x1003f12b
comiss xmm3, xmm2
movaps xmm4, xmm3
jbe 0x1003f131
comiss xmm0, xmm1
jbe 0x1003f131
movaps xmm4, xmm5
test al, al
jne 0x1003f131
movaps xmm2, xmm6
movaps xmm4, xmm5
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1003f147
movss dword [edi], xmm2
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