Function at 0x1005f290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], edi
mov ecx, dword [edi + 8]
call fcn.100409b0
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x28]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm3
jb 0x1005f2ea
movss dword [esp + 0x68], xmm2
comiss xmm1, xmm3
jb 0x1005f2f5
movss dword [esp + 0x6c], xmm1
mov edx, dword [ecx + 0x3c]
lea esi, [ecx + 0x3c]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x1005f32c
inc edx
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x1005f31a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, ecx
jmp 0x1005f31f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10045fe0
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [esp + 0x34]
shl eax, 4
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
inc dword [esi]
call fcn.10040db0
mov ecx, dword [0x100c7a1c]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [0x100c7a1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1005f450
mov eax, dword [0x100cd344]
cmp dword [eax], 0
je 0x1005f450
call fcn.1005fd90
call fcn.10021a20
mov eax, dword [0x100cd344]
mov ecx, dword [eax]
call fcn.10025810
cmp byte [eax], 0
je 0x1005f450
call fcn.10013f00
movd xmm0, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
mov dword [esp + 0x48], 0
sar eax, 1
push ecx
mov ecx, dword [ecx + 8]
mov dword [esp], 0x3f800000
movd xmm1, eax
lea eax, [esp + 0x50]
cvtdq2ps xmm1, xmm1
push 0xff000000
push eax
lea eax, [esp + 0x50]
push eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x54], xmm1
call fcn.10042740
call fcn.10013f00
movd xmm0, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x1c]
cdq
cvtdq2ps xmm0, xmm0
sub eax, edx
mov dword [esp + 0x44], 0
sar eax, 1
push ecx
mov ecx, dword [ecx + 8]
mov dword [esp], 0x3f800000
movss dword [esp + 0x50], xmm0
movd xmm0, eax
lea eax, [esp + 0x50]
cvtdq2ps xmm0, xmm0
push 0xff000000
push eax
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x58], xmm0
call fcn.10042740
mov ecx, dword [edi + 8]
call fcn.100409b0
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x28]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm3
jb 0x1005f499
movss dword [esp + 0x68], xmm2
comiss xmm1, xmm3
jb 0x1005f4a4
movss dword [esp + 0x6c], xmm1
mov edx, dword [ecx + 0x3c]
lea esi, [ecx + 0x3c]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x1005f4db
inc edx
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x1005f4c9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, ecx
jmp 0x1005f4ce
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10045fe0
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, eax
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [esp + 0x34]
movups xmmword [edx + eax*8], xmm0
inc dword [esi]
call fcn.10040db0
mov ecx, dword [0x100d0f30]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x100c7a1c]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [0x100c7a1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1005f53b
mov eax, dword [0x100cd344]
cmp dword [eax], 0
je 0x1005f53b
call fcn.1005fd90
call fcn.10021a20
call fcn.10028bb0
mov ecx, eax
call fcn.1000a710
call fcn.10028bb0
call fcn.10009d90
movss xmm0, dword [0x100cd514]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005fac4
mov eax, dword [0x100cd344]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005fac4
call fcn.10060680
test al, al
je 0x1005fac4
mov eax, dword [0x100cd344]
mov ecx, dword [eax]
call fcn.10008d60
mov ecx, dword [0x100c7a3c]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x1005fac4
mov ecx, eax
call fcn.1000c000
movzx eax, word [eax]
cmp ax, 9
je 0x1005f5d3
cmp ax, 0x28
je 0x1005f5d3
cmp ax, 0xb
je 0x1005f5d3
cmp ax, 0x26
jne 0x1005fac4
mov ecx, dword [0x100c7a1c]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x44]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov esi, dword [0x100cd518]
sar eax, 1
mov edi, dword [0x100cd51c]
add esi, edi
mov dword [esp + 0x28], esi
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [esp + 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100b5858]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
call fcn.10013f00
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x100b5820]
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x54]
push 0xff000000
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x100b5874]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x100b5874]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x100b5820]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x5c], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x18]
xorps xmm3, xmm3
addss xmm0, xmm3
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x54]
push 0xff444494
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x100b5820]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x100b5820]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm3
movss dword [esp + 0x5c], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x18]
inc esi
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x60]
push 0xff000000
push ecx
subss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x58], xmm0
addss xmm0, dword [0x100b5820]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100b5820]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x78], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x44]
movd xmm1, dword [esp + 0x28]
push 0xf
push ecx
movss dword [esp + 0x68], xmm0
lea ecx, [esp + 0x68]
movss xmm0, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
mov dword [esp], 0
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x68]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x6c], xmm0
call fcn.10042860
call fcn.10013f00
mov ecx, dword [esp + 0x28]
movd xmm1, edi
cvtdq2ps xmm0, xmm1
push 0xf
push ecx
mov dword [esp], 0
push 0xff000000
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x50], xmm0
subss xmm0, dword [0x100b5874]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x70], xmm0
movd xmm0, ecx
lea ecx, [esp + 0x6c]
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x70], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x100b5820]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x24]
push 0xf
push ecx
movss dword [esp + 0x6c], xmm0
lea ecx, [esp + 0x68]
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [0x100b5820]
mov dword [esp], 0
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x68]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x70], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x60], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x68]
push 0xff000000
push ecx
addss xmm0, dword [esp + 0x24]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x60], xmm0
subss xmm0, dword [0x100b5820]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x6c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x70], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x100b5820]
mov esi, dword [esp + 0x28]
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x68]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x60], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x70], xmm0
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x14]
movd xmm1, edi
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
addss xmm0, dword [0x100b5874]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x58], xmm0
movd xmm0, esi
push 0xf
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea ecx, [esp + 0x68]
push 0xff000000
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
subss xmm2, xmm0
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x70], xmm2
call fcn.10042860
call fcn.10013f00
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x100b5820]
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x68]
push 0xffffffffffffffff
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x100b5820]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x70], xmm0
call fcn.10042860
mov edi, dword [esp + 0x54]
push 0x100c9234
call fcn.10065ce9
add esp, 4
test eax, eax
jne 0x1005fafe
cmp dword [0x100c9260], 0x7fffffff
je 0x1005fb05
push dword [edi + 8]
mov ecx, dword [edi]
call fcn.1005fb20
push 0x100c9234
call fcn.10065d1b
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.10065eb2
push 6
mov dword [0x100c9260], 0x7ffffffe
call fcn.10065eb2
int3