Function at 0x1003ebd0
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 0x1003ec09
cmp eax, 5
je 0x1003ec09
xor cl, cl
jmp 0x1003ec0b
mov cl, 1
ucomiss xmm4, xmm3
mov byte [ebp - 1], cl
lahf
test ah, 0x44
jnp 0x1003ec1b
mov al, 1
jmp 0x1003ec1d
xor al, al
movss xmm7, dword [0x1017f0d8]
movss xmm0, dword [ebp + 0x10]
movss xmm2, dword [0x1017f334]
ucomiss xmm0, xmm7
mov byte [ebp - 2], al
lahf
test ah, 0x44
jnp 0x1003ec58
test cl, cl
je 0x1003ec58
test al, al
je 0x1003ec58
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1003ec58
mov byte [ebp - 3], 1
jmp 0x1003ec63
movaps xmm0, xmm3
mov byte [ebp - 3], 0
subss xmm0, xmm4
xorps xmm6, xmm6
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x1003ec88
test al, al
je 0x1003ec88
comiss xmm2, xmm0
jbe 0x1003ec88
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 0x1003ed1b
test esi, esi
jne 0x1003eca5
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [esi + 0xe0]
movss xmm2, dword [0x1017f3a8]
comiss xmm0, xmm2
movss xmm7, dword [esi + 0xe4]
jb 0x1003eef4
comiss xmm7, xmm2
movss xmm7, dword [0x1017f0d8]
jb 0x1003eefc
movss xmm0, dword [esi + 0x434]
comiss xmm0, xmm7
jbe 0x1003eefc
cmp byte [esi + 0xfa], 0
movss xmm5, dword [esi + 0x370]
je 0x1003ed01
mulss xmm5, dword [0x1017f024]
cmp byte [esi + 0xf9], 0
je 0x1003eefc
mulss xmm5, dword [0x1017f1a4]
jmp 0x1003eefc
cmp eax, 2
jne 0x1003eefc
test cl, cl
je 0x1003ed34
mov ecx, dword [ebp + 0xc]
call fcn.10135de0
mov edx, eax
jmp 0x1003ed36
xor edx, edx
movss xmm0, dword [esi + 0x1490]
lea eax, [esi + 0x18]
comiss xmm6, xmm0
mov dword [ebp - 8], eax
movss xmm5, dword [0x1017f06c]
movss xmm1, dword [0x1017f0c0]
jbe 0x1003ed5e
xorps xmm7, xmm7
jmp 0x1003ed97
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.10116eb0
movss xmm1, dword [0x1017f0c0]
movd xmm7, eax
lea eax, [esi + 0x18]
cvtdq2ps xmm7, xmm7
mov dword [ebp - 8], eax
movss xmm0, dword [esi + 0x148c]
comiss xmm6, xmm0
jbe 0x1003eda9
xorps xmm0, xmm0
jmp 0x1003edd4
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.10116eb0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
movss xmm0, dword [esi + 0x145c]
comiss xmm6, xmm0
addss xmm7, xmm6
jbe 0x1003edee
xorps xmm5, xmm5
jmp 0x1003ee20
mov eax, dword [ebp - 8]
movaps xmm1, xmm0
movss xmm3, dword [esi + 0x8c]
movss xmm2, dword [esi + 0x88]
mulss xmm2, dword [0x1017f0c0]
subss xmm1, dword [eax]
mulss xmm3, xmm5
call fcn.10116eb0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss xmm0, dword [esi + 0x1458]
comiss xmm6, xmm0
jbe 0x1003ee32
xorps xmm0, xmm0
jmp 0x1003ee68
mov eax, dword [ebp - 8]
movaps xmm1, xmm0
movss xmm3, dword [esi + 0x8c]
movss xmm2, dword [esi + 0x88]
mulss xmm3, dword [0x1017f06c]
subss xmm1, dword [eax]
mulss xmm2, dword [0x1017f0c0]
call fcn.10116eb0
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 0x1003ee8f
mulss xmm5, dword [0x1017f050]
movss dword [ebp - 8], xmm5
movss xmm0, dword [esi + 0x338]
comiss xmm0, xmm6
movss xmm0, dword [0x1017f1a4]
jbe 0x1003eead
mulss xmm5, xmm0
movss dword [ebp - 8], xmm5
test edx, edx
jns 0x1003eebb
movss xmm0, dword [0x1017eff0]
jmp 0x1003eee1
cmp edx, 0xa
jge 0x1003eecb
movss xmm0, dword [edx*4 + 0x1017e5d0]
jmp 0x1003eee1
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 [0x1017f0d8]
mov bl, byte [ebp - 2]
mov dl, byte [esi + 0x1a14]
mulss xmm5, xmm1
movss dword [ebp - 8], xmm5
test bl, bl
je 0x1003ef2e
movss xmm0, dword [edi]
comiss xmm0, xmm3
jb 0x1003ef20
comiss xmm5, xmm6
ja 0x1003ef2a
comiss xmm4, xmm0
jb 0x1003ef2e
comiss xmm6, xmm5
jbe 0x1003ef2e
mov cl, 1
jmp 0x1003ef30
xor cl, cl
mov ch, byte [ebp - 3]
test ch, ch
je 0x1003ef5b
comiss xmm6, xmm5
jbe 0x1003ef49
movss xmm0, dword [esi + 0x2c60]
comiss xmm0, xmm6
ja 0x1003ef57
comiss xmm5, xmm6
jbe 0x1003ef5b
comiss xmm6, dword [esi + 0x2c60]
jbe 0x1003ef5b
mov al, 1
jmp 0x1003ef5d
xor al, al
test dl, dl
jne 0x1003ef8e
test cl, cl
jne 0x1003ef8e
test al, al
jne 0x1003ef8e
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1003ef9f
movaps xmm0, xmm5
mov byte [esi + 0x2c5c], 1
addss xmm0, dword [esi + 0x2c60]
movss dword [esi + 0x2c60], xmm0
jmp 0x1003ef9f
mov dword [esi + 0x2c60], 0
mov byte [esi + 0x2c5c], 0
cmp byte [esi + 0x2c5c], 0
je 0x1003f137
movss xmm0, dword [edi]
subss xmm3, xmm4
movss xmm2, dword [esi + 0x2c60]
movss dword [ebp - 0x10], xmm3
test ch, ch
je 0x1003f07d
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 0x1003f004
xorps xmm2, xmm2
jmp 0x1003f010
movss xmm2, dword [0x1017f0d8]
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.10041d00
movss xmm1, dword [0x1017f0d8]
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 0x1003f0b1
mov edx, dword [ebp - 0x14]
addss xmm2, xmm0
mov ecx, dword [ebp + 0xc]
call fcn.10041d00
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 0x1003f0c0
xorps xmm2, xmm2
movss xmm3, dword [edi]
ucomiss xmm3, xmm2
movaps xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1003f121
test bl, bl
je 0x1003f121
movss xmm4, dword [ebp - 0xc]
comiss xmm4, xmm2
mov al, byte [ebp - 1]
movss xmm0, dword [ebp - 8]
ja 0x1003f0f7
comiss xmm2, xmm3
movaps xmm5, xmm3
jbe 0x1003f0fd
comiss xmm1, xmm0
jbe 0x1003f0fd
test al, al
jne 0x1003f0fd
movaps xmm2, xmm4
movaps xmm5, xmm3
movss xmm6, dword [ebp + 8]
comiss xmm2, xmm6
ja 0x1003f11b
comiss xmm3, xmm2
movaps xmm4, xmm3
jbe 0x1003f121
comiss xmm0, xmm1
jbe 0x1003f121
movaps xmm4, xmm5
test al, al
jne 0x1003f121
movaps xmm2, xmm6
movaps xmm4, xmm5
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1003f137
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