Function at 0x1004eb40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
mov esi, dword [0x1017bfd8]
push edi
mov edi, ecx
mov edx, dword [esi + 0x19e4]
mov eax, dword [esi + 0x1b4c]
cmp eax, dword [edx + 0x134]
jne 0x1004f023
inc dword [esi + 0x1b30]
mov eax, dword [esi + 0x1af4]
cmp dword [edx + 0x2ec], eax
jne 0x1004ec50
mov eax, dword [eax + 8]
or eax, dword [edx + 8]
test eax, 0x800000
jne 0x1004eb98
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm6, dword [ebp + 8]
comiss xmm6, dword [edx + 0x1cc]
jb 0x1004f023
movss xmm4, dword [edx + 0x1d0]
movss xmm1, dword [ebp + 0xc]
comiss xmm1, xmm4
jb 0x1004f023
movss xmm5, dword [edx + 0x1d4]
movss xmm3, dword [ebp + 0x10]
comiss xmm5, xmm3
jb 0x1004f023
movss xmm0, dword [edx + 0x1d8]
movss xmm2, dword [ebp + 0x14]
comiss xmm0, xmm2
jb 0x1004f023
comiss xmm4, xmm1
ja 0x1004ebf8
movaps xmm4, xmm0
minss xmm4, xmm1
minss xmm5, xmm6
movss dword [ebp + 0xc], xmm4
movss dword [ebp + 8], xmm5
movss xmm7, dword [edx + 0x1d0]
comiss xmm7, xmm2
movss dword [esp + 8], xmm7
ja 0x1004ec2b
movss xmm7, dword [edx + 0x1d8]
minss xmm7, xmm2
movss dword [esp + 8], xmm7
movss xmm6, dword [edx + 0x1cc]
comiss xmm6, xmm3
ja 0x1004ec44
movss xmm6, dword [edx + 0x1d4]
minss xmm6, xmm3
movss dword [ebp + 0x10], xmm6
movss dword [ebp + 0x14], xmm7
jmp 0x1004ec6a
movss xmm7, dword [ebp + 0x14]
movss xmm6, dword [ebp + 0x10]
movss xmm4, dword [ebp + 0xc]
movss xmm5, dword [ebp + 8]
movss dword [esp + 8], xmm7
mov eax, dword [esi + 0x1b84]
test eax, eax
je 0x1004ecbd
cmp eax, 1
je 0x1004ecbd
movss xmm0, dword [edx + 0x1cc]
comiss xmm0, xmm5
ja 0x1004ec92
movss xmm0, dword [edx + 0x1d4]
minss xmm0, xmm5
movaps xmm5, xmm0
movss dword [ebp + 8], xmm5
movss xmm0, dword [edx + 0x1cc]
comiss xmm0, xmm6
ja 0x1004ecb3
movss xmm0, dword [edx + 0x1d4]
minss xmm0, xmm6
movaps xmm6, xmm0
movss dword [ebp + 0x10], xmm6
jmp 0x1004ed05
movss xmm0, dword [edx + 0x1d0]
comiss xmm0, xmm4
ja 0x1004ecd6
movss xmm0, dword [edx + 0x1d8]
minss xmm0, xmm4
movaps xmm4, xmm0
movss dword [ebp + 0xc], xmm4
movss xmm0, dword [edx + 0x1d0]
comiss xmm0, xmm7
ja 0x1004ecf7
movss xmm0, dword [edx + 0x1d8]
minss xmm0, xmm7
movaps xmm7, xmm0
movss dword [esp + 8], xmm7
movss dword [ebp + 0x14], xmm7
movss xmm1, dword [esi + 0x1b20]
xorps xmm3, xmm3
comiss xmm1, xmm6
movss xmm0, dword [esi + 0x1b28]
movss dword [esp + 0x18], xmm1
jbe 0x1004ed2c
movaps xmm2, xmm6
subss xmm2, xmm1
jmp 0x1004ed3d
comiss xmm5, xmm0
jbe 0x1004ed3a
movaps xmm2, xmm5
subss xmm2, xmm0
jmp 0x1004ed3d
xorps xmm2, xmm2
movss xmm7, dword [esi + 0x1b24]
movss xmm0, dword [esi + 0x1b2c]
subss xmm0, xmm7
movss dword [esp + 0xc], xmm0
mulss xmm0, dword [0x1014501c]
addss xmm0, xmm7
movss xmm7, dword [esp + 0xc]
mulss xmm7, dword [0x10144f90]
addss xmm7, dword [esi + 0x1b24]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm7
movss xmm7, dword [esp + 8]
movss xmm0, dword [esp + 0xc]
subss xmm7, xmm4
movss dword [esp + 0x14], xmm7
mulss xmm7, dword [0x1014501c]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10144f90]
addss xmm7, xmm4
addss xmm1, xmm4
comiss xmm0, xmm7
ja 0x1004edcc
movss xmm0, dword [esp + 0x10]
comiss xmm1, xmm0
jbe 0x1004ee13
movaps xmm7, xmm1
subss xmm7, xmm0
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x1004ee16
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1004ee16
comiss xmm2, xmm3
jbe 0x1004edfd
mulss xmm2, dword [0x10144ee4]
movss xmm0, dword [0x10145040]
addss xmm2, xmm0
jmp 0x1004ee16
mulss xmm2, dword [0x10144ee4]
movss xmm0, dword [0x10145324]
addss xmm2, xmm0
jmp 0x1004ee16
xorps xmm7, xmm7
movss xmm3, dword [esi + 0x1b2c]
addss xmm5, xmm6
movss xmm6, dword [esi + 0x1b28]
movaps xmm1, xmm7
addss xmm6, dword [esp + 0x18]
addss xmm3, dword [esi + 0x1b24]
addss xmm4, dword [esp + 8]
movss xmm0, dword [0x10145710]
andps xmm1, xmm0
subss xmm5, xmm6
movss dword [esp + 0x14], xmm1
movaps xmm1, xmm2
subss xmm4, xmm3
andps xmm1, xmm0
movss dword [esp + 0x1c], xmm1
addss xmm1, dword [esp + 0x14]
movaps xmm3, xmm5
andps xmm3, xmm0
movaps xmm6, xmm4
movss dword [esp + 0x10], xmm3
andps xmm6, xmm0
movaps xmm0, xmm3
xorps xmm3, xmm3
movss dword [esp + 0x18], xmm6
ucomiss xmm2, xmm3
addss xmm0, xmm6
xorps xmm6, xmm6
lahf
test ah, 0x44
jp 0x1004ef11
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jp 0x1004ef11
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1004eecc
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jp 0x1004eecc
mov eax, dword [edx + 0x10c]
movaps xmm4, xmm3
cmp eax, dword [esi + 0x1af8]
movaps xmm5, xmm3
sbb eax, eax
inc eax
jmp 0x1004ef3f
movss xmm3, dword [esp + 0x10]
movaps xmm6, xmm5
comiss xmm3, dword [esp + 0x18]
movss dword [esp + 0xc], xmm4
xorps xmm3, xmm3
movss dword [esp + 8], xmm0
jbe 0x1004eef8
xor eax, eax
comiss xmm5, xmm3
movaps xmm5, xmm0
seta al
jmp 0x1004ef3f
movss xmm5, dword [esp + 8]
xor eax, eax
comiss xmm4, xmm3
movss xmm4, dword [esp + 0xc]
seta al
add eax, 2
jmp 0x1004ef3f
movss xmm3, dword [esp + 0x1c]
movaps xmm6, xmm2
comiss xmm3, dword [esp + 0x14]
movaps xmm4, xmm7
movaps xmm5, xmm1
xorps xmm3, xmm3
jbe 0x1004ef34
xor eax, eax
comiss xmm2, xmm3
seta al
jmp 0x1004ef3f
xor eax, eax
comiss xmm7, xmm3
seta al
add eax, 2
mov edx, dword [esi + 0x1b7c]
xor cl, cl
cmp eax, edx
jne 0x1004efab
movss xmm3, dword [edi + 0xc]
comiss xmm3, xmm1
xorps xmm3, xmm3
jbe 0x1004ef6a
movss dword [edi + 0xc], xmm1
mov al, 1
movss dword [edi + 0x10], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
ucomiss xmm1, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1004efab
movss xmm1, dword [edi + 0x10]
comiss xmm1, xmm0
jbe 0x1004ef87
movss dword [edi + 0x10], xmm0
mov cl, 1
jmp 0x1004efab
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004efab
cmp edx, 2
je 0x1004ef9a
cmp edx, 3
jne 0x1004ef9d
movaps xmm2, xmm7
comiss xmm3, xmm2
movzx ecx, cl
mov eax, 1
cmova ecx, eax
movss xmm0, dword [edi + 0xc]
ucomiss xmm0, dword [0x101452dc]
lahf
test ah, 0x44
jp 0x1004f01b
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm5
jbe 0x1004f01b
cmp dword [esi + 0x1b4c], 1
jne 0x1004f01b
mov eax, dword [esi + 0x1af4]
test dword [eax + 8], 0x10000000
jne 0x1004f01b
mov eax, dword [esi + 0x1b7c]
test eax, eax
jne 0x1004eff6
comiss xmm3, xmm6
ja 0x1004f014
mov al, cl
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1004f000
comiss xmm6, xmm3
ja 0x1004f014
cmp eax, 2
jne 0x1004f00a
comiss xmm3, xmm4
ja 0x1004f014
cmp eax, 3
jne 0x1004f01b
comiss xmm4, xmm3
jbe 0x1004f01b
movss dword [edi + 0x14], xmm5
mov cl, 1
mov al, cl
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret