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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [0x100bd09c]
mov byte [esp + 0xa], dl
mov edx, esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x198c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
mov byte [eax + 0x7c], 1
mov ebx, dword [edx + 0x198c]
cmp byte [ebx + 0x7f], 0
jne 0x1004efda
mov eax, ecx
and eax, 2
mov dword [esp + 0x18], eax
je 0x1004ec47
cmp dword [ebx + 0x1bc], 0
je 0x1004ec47
mov byte [ebx + 0x7c], 1
mov esi, dword [edx + 0x198c]
mov ecx, dword [esi + 0x274]
dec dword [ecx + 0x3c]
call fcn.1003a930
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1cc], eax
movss dword [esi + 0x1d0], xmm0
movss dword [esi + 0x1d4], xmm1
movss dword [esi + 0x1d8], xmm2
mov esi, dword [0x100bd09c]
mov ecx, dword [ebx + 0x1c0]
xor edx, edx
mov eax, dword [ebx + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10021e30
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [esi + 0x19ac], eax
jne 0x1004ec75
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x1004ec84
mov byte [esi + 0x19c0], 1
mov eax, edi
cmp edi, 0xffffffff
jae 0x1004eca6
nop dword [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x1004eca6
cmp cl, 0x23
jne 0x1004eca0
cmp byte [eax + 1], cl
je 0x1004eca6
inc eax
cmp eax, 0xffffffff
jb 0x1004ec90
movss xmm0, dword [esi + 0x18ac]
xorps xmm7, xmm7
cmp edi, eax
jne 0x1004ecba
xorps xmm6, xmm6
jmp 0x1004ed02
movss xmm3, dword [0x1009f000]
movaps xmm2, xmm0
push ecx
push eax
push edi
push ecx
mov ecx, dword [esi + 0x18a8]
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
call fcn.1003f3d0
movss xmm0, dword [esp + 0x38]
xorps xmm7, xmm7
addss xmm0, dword [0x1009ee68]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [ebp + 0xc]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x44], xmm6
movss xmm2, dword [esi + 4]
ucomiss xmm2, xmm7
movss dword [esp + 0x28], xmm2
lahf
test ah, 0x44
jp 0x1004ed2e
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
movss xmm1, dword [esi]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1004ed3e
movaps xmm1, xmm6
movss xmm3, dword [ebx + 0xcc]
lea ecx, [esp + 0x1c]
addss xmm3, dword [ebx + 0xf0]
movss xmm5, dword [ebx + 0xc8]
movaps xmm0, xmm5
movss dword [esp + 0x38], xmm5
addss xmm0, xmm1
movss dword [esp + 0x5c], xmm5
movaps xmm1, xmm3
movss dword [esp + 0x30], xmm3
addss xmm1, xmm2
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm0
subss xmm0, xmm5
movss dword [esp + 0x68], xmm1
subss xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm1
xorps xmm1, xmm1
call fcn.10024330
cmp dword [esp + 0x18], 0
movss xmm3, dword [ebx + 0x3c]
mov eax, dword [0x100bd09c]
je 0x1004edd4
mov eax, dword [eax + 0x198c]
movss xmm1, dword [eax + 0x214]
subss xmm1, dword [eax + 0xc]
movss dword [esp + 0x1c], xmm1
jmp 0x1004ee30
mov edi, dword [eax + 0x198c]
movss xmm1, dword [edi + 0x214]
subss xmm1, dword [edi + 0xc]
mov esi, dword [edi + 0x1bc]
movss dword [esp + 0x1c], xmm1
test esi, esi
je 0x1004ee2d
mov edx, dword [esi + 0xc]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [esi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [esi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [esi + 0x14]
subss xmm1, dword [edi + 0x3c]
movss dword [esp + 0x1c], xmm1
mov esi, dword [ebp + 0xc]
movaps xmm0, xmm1
movss xmm1, dword [esi + 4]
addss xmm0, dword [ebx + 0xc]
ucomiss xmm1, xmm7
subss xmm0, xmm3
lahf
subss xmm0, xmm5
maxss xmm6, xmm0
test ah, 0x44
jp 0x1004ee58
movss xmm1, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esi]
and ecx, 0x2000
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1004ee76
test ecx, ecx
jne 0x1004ee76
movaps xmm6, xmm0
ucomiss xmm0, xmm7
addss xmm5, xmm6
movss xmm6, dword [esp + 0x30]
movaps xmm2, xmm6
addss xmm2, xmm1
lahf
movss dword [esp + 0x30], xmm2
test ah, 0x44
jnp 0x1004ee9a
test ecx, ecx
je 0x1004ee9e
addss xmm5, xmm3
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
movss xmm1, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov edx, edi
push 0
movss xmm4, dword [esi + 0x1544]
movss xmm3, dword [esi + 0x1548]
movaps xmm0, xmm4
mulss xmm0, dword [0x1009ee38]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1009ee38]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm3, xmm0
subss xmm1, xmm2
subss xmm6, xmm0
addss xmm4, xmm5
addss xmm3, dword [esp + 0x34]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x5c], xmm3
call fcn.10024440
add esp, 4
test al, al
jne 0x1004efe3
cmp dword [esp + 0x18], 0
je 0x1004efda
cmp dword [ebx + 0x1bc], 0
je 0x1004efda
mov edx, dword [0x100bd09c]
mov eax, dword [edx + 0x198c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x34]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
push dword [ecx + esi*4 + 0x18]
mov edi, dword [edx + 0x198c]
push dword [ecx + esi*4 + 0x14]
push dword [ecx + esi*4 + 0x10]
push dword [ecx + esi*4 + 0xc]
mov ecx, dword [edi + 0x274]
push 0
call fcn.1003aaf0
mov eax, dword [edi + 0x274]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x1cc], eax
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x400
add ecx, ecx
mov edx, ecx
or edx, 4
and eax, 0x800
mov eax, dword [esp + 0x10]
cmove edx, ecx
mov ecx, edx
or ecx, 8
and eax, 0x1000
mov eax, dword [esp + 0x10]
cmove ecx, edx
and eax, 8
mov edx, ecx
mov dword [esp + 0x28], eax
or edx, 0x100
test eax, eax
movzx eax, byte [esp + 0xe]
cmove edx, ecx
xor ecx, ecx
cmp dword [esp + 0x28], ecx
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, edx
or ecx, 0x12
and al, 4
lea eax, [esp + 0xf]
cmove ecx, edx
mov edx, edi
push ecx
push eax
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x58]
call fcn.10041290
mov edi, dword [0x100bd09c]
mov cl, al
add esp, 0xc
mov byte [esp + 0xd], cl
test cl, cl
jne 0x1004f078
mov cl, byte [esp + 0xe]
test cl, cl
je 0x1004f0de
cmp byte [esi + 0x1aff], 0
jne 0x1004f0bb
cmp dword [esi + 0x1a9c], ebx
jne 0x1004f0bb
mov eax, dword [esi + 0x1af4]
cmp eax, dword [ebx + 0x134]
jne 0x1004f0bb
mov edx, dword [esp + 0x14]
mov byte [esi + 0x1afe], 1
mov ecx, dword [ebx + 0x134]
mov eax, dword [edi + 0x1a9c]
mov dword [edi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
cmp byte [esp + 0xd], 0
je 0x1004f0d6
mov eax, dword [edi + 0x198c]
mov byte [edi + 0x19bf], 1
or dword [eax + 0x110], 4
mov cl, byte [esp + 0xe]
test cl, cl
jne 0x1004f0e9
cmp byte [esp + 0x38], 0
je 0x1004f178
cmp byte [esp + 0xf], 0
je 0x1004f0fb
test cl, cl
je 0x1004f0fb
mov esi, 0x1a
jmp 0x1004f10b
xor eax, eax
test cl, cl
setne al
add eax, 0x18
mov dword [esp + 0x38], eax
mov esi, eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
movss xmm1, dword [0x1009ee70]
push 0xf
push ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x198c]
mov dword [esp + 0x38], eax
mov dword [esp], 0
call fcn.10022610
mov ecx, dword [edx + 0x274]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1003c7f0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push 0xa
call fcn.100232b0
mov edi, dword [0x100bd09c]
add esp, 4
cmp dword [esp + 0x18], 0
je 0x1004f289
cmp dword [ebx + 0x1bc], 0
je 0x1004f289
mov eax, dword [edi + 0x198c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x34]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edi + 0x198c]
mov byte [eax + 0x7c], 1
push dword [ecx + edx*4 + 0x18]
mov esi, dword [edi + 0x198c]
push dword [ecx + edx*4 + 0x14]
push dword [ecx + edx*4 + 0x10]
push dword [ecx + edx*4 + 0xc]
mov ecx, dword [esi + 0x274]
push 0
call fcn.1003aaf0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1cc], eax
movss dword [esi + 0x1d0], xmm0
movss dword [esi + 0x1d4], xmm1
movss dword [esi + 0x1d8], xmm2
mov edi, dword [0x100bd09c]
mov eax, dword [edi + 0x198c]
movss xmm1, dword [eax + 0x214]
mov esi, dword [eax + 0x1bc]
subss xmm1, dword [eax + 0xc]
test esi, esi
je 0x1004f273
mov edx, dword [esi + 0xc]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [esi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [esi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x198c]
addss xmm1, dword [esi + 0x14]
subss xmm1, dword [eax + 0x3c]
subss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x54], xmm0
cmp dword [esp + 0x28], 0
je 0x1004f2ce
movups xmm0, xmmword [edi + 0x15a8]
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0
push eax
lea ecx, [edi + 0x19f4]
movups xmmword [esp + 0x74], xmm0
call fcn.10032c90
mov edx, dword [esp + 0x24]
movups xmm0, xmmword [edx + 0x15b8]
movups xmmword [edi + 0x15a8], xmm0
mov edi, dword [0x100bd09c]
jmp 0x1004f2d2
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x1004f2f5
nop dword [eax]
mov al, byte [esi]
test al, al
je 0x1004f2f5
cmp al, 0x23
jne 0x1004f2ef
cmp byte [esi + 1], al
je 0x1004f2f5
inc esi
cmp esi, 0xffffffff
jb 0x1004f2e0
mov eax, esi
sub eax, ecx
je 0x1004f34b
lea eax, [esp + 0x4c]
push eax
lea eax, [edx + 0x1584]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
push ecx
mov ecx, dword [edi + 0x198c]
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x74]
mov ecx, dword [ecx + 0x274]
call fcn.100229f0
add esp, 0x18
cmp byte [edi + 0x2c68], 0
je 0x1004f345
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
push esi
call fcn.10031c90
add esp, 4
mov edi, dword [0x100bd09c]
cmp dword [esp + 0x28], 0
je 0x1004f37a
mov eax, dword [edi + 0x19f4]
mov ecx, dword [edi + 0x19fc]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [edi + eax*8 + 0x15a8], xmm0
dec dword [edi + 0x19f4]
cmp byte [esp + 0xd], 0
je 0x1004f499
test dword [ebx + 8], 0x4000000
je 0x1004f499
test byte [esp + 0x10], 1
jne 0x1004f499
test byte [ebx + 0x168], 0x20
jne 0x1004f499
mov esi, dword [edi + 0x1a24]
sub esi, 1
js 0x1004f499
cmp esi, dword [edi + 0x1a18]
jge 0x1004f499
mov eax, dword [edi + 0x1a2c]
lea ecx, [esi + esi*8]
mov edx, dword [edi + 0x1a20]
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x1004f499
test esi, esi
jle 0x1004f417
lea eax, [ecx*4 - 0x20]
add eax, edx
nop dword [eax]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax]
test edx, edx
je 0x1004f417
test dword [edx + 8], 0x10000000
je 0x1004f417
test ecx, ecx
je 0x1004f40f
test dword [ecx + 8], 0x8000000
jne 0x1004f417
dec esi
sub eax, 0x24
test esi, esi
jg 0x1004f3f0
mov ebx, dword [edi + 0x1a20]
test esi, esi
jle 0x1004f42a
lea eax, [esi + esi*8]
mov ebx, dword [ebx + eax*4 - 0x20]
jmp 0x1004f42d
mov ebx, dword [ebx + 8]
mov eax, dword [edi + 0x1a1c]
cmp esi, eax
jle 0x1004f467
test eax, eax
je 0x1004f44d
cdq
sub eax, edx
lea edx, [edi + 0x1a18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1004f458
mov ecx, 8
lea edx, [edi + 0x1a18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10033190
mov dword [edi + 0x1a18], esi
cmp dword [edi + 0x1af4], 0
jne 0x1004f481
mov eax, dword [ebx + 0x2fc]
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.1002c1c0
mov eax, dword [edi + 0x1a9c]
test eax, eax
je 0x1004f499
mov byte [eax + 0x144], 1
mov al, byte [esp + 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret