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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
mov esi, dword [0x100d83e0]
push edi
mov edi, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], edi
mov eax, dword [esi + 0x1a40]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x198c]
mov dword [esi + 0x1a40], 0
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x198c]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x7f], 0
jne 0x10041897
mov ecx, dword [eax + 0x1c0]
xor edx, edx
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100200b0
add esp, 4
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x19ac], eax
jne 0x1004135e
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x1004136d
mov byte [esi + 0x19c0], 1
mov edi, dword [ebp + 8]
xorps xmm1, xmm1
mov eax, edi
and eax, 0x20
mov dword [esp + 0x70], eax
je 0x10041386
movss dword [esp + 0x44], xmm1
jmp 0x100413a0
movss xmm0, dword [esi + 0x1538]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18ac]
movss dword [esp + 0x44], xmm0
mov edx, dword [esp + 0x30]
mov eax, edx
cmp edx, 0xffffffff
jae 0x100413c6
nop dword [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x100413c6
cmp cl, 0x23
jne 0x100413c0
cmp byte [eax + 1], cl
je 0x100413c6
inc eax
cmp eax, 0xffffffff
jb 0x100413b0
movss xmm7, dword [esi + 0x18ac]
cmp edx, eax
jne 0x100413d7
movaps xmm6, xmm1
jmp 0x1004141f
movss xmm3, dword [0x100c4f20]
movaps xmm2, xmm7
push ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x18a8]
lea eax, [esp + 0x60]
mov dword [esp], 0xbf800000
push eax
call fcn.1003d280
movss xmm0, dword [esp + 0x50]
xorps xmm1, xmm1
addss xmm0, dword [0x100c4bc0]
movss xmm7, dword [esp + 0x54]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov eax, edi
and eax, 0x40
mov dword [esp + 0x30], eax
je 0x10041435
movss xmm0, dword [esp + 0x44]
jmp 0x100414c7
mov edi, dword [esi + 0x198c]
movss xmm2, dword [edi + 0x16c]
comiss xmm1, xmm2
jbe 0x100414bc
movss xmm3, dword [edi + 0xc8]
movss xmm1, dword [edi + 0x214]
mov ecx, dword [edi + 0x1bc]
subss xmm3, dword [edi + 0xc]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x100414a5
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100c4bc8]
maxss xmm2, xmm1
xorps xmm1, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm1
mov eax, dword [esp + 0x48]
movss xmm2, dword [esi + 0x1538]
movss xmm4, dword [eax + 0xc8]
addss xmm2, xmm7
movss xmm7, dword [esi + 0x1538]
movaps xmm3, xmm4
movss xmm5, dword [eax + 0xcc]
addss xmm3, xmm0
movss dword [esp + 0x4c], xmm0
subss xmm4, xmm1
movaps xmm0, xmm7
addss xmm2, dword [0x100c4c04]
addss xmm0, dword [0x100c4c04]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x34], xmm4
addss xmm2, xmm5
subss xmm5, xmm0
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x38], xmm5
jbe 0x10041546
movss xmm0, dword [esi + 0x154c]
addss xmm0, xmm6
jmp 0x10041549
movaps xmm0, xmm1
addss xmm2, xmm1
movss dword [esp + 0x10], xmm4
addss xmm3, xmm0
movss dword [esp + 0x14], xmm5
movaps xmm1, xmm7
lea ecx, [esp + 0x50]
movss dword [esp + 0x1c], xmm2
subss xmm2, xmm5
movss dword [esp + 0x18], xmm3
subss xmm3, xmm4
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x50], xmm3
call fcn.100224b0
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.100225c0
add esp, 4
test al, al
je 0x10041897
push 0
lea eax, [esp + 0x13]
mov edx, edi
push eax
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x40]
call fcn.1003f210
mov edi, dword [0x100d83e0]
add esp, 0xc
mov byte [esp + 0xf], al
mov ecx, dword [edi + 0x1a24]
cmp dword [edi + 0x1a18], ecx
jle 0x100415f1
mov eax, dword [esp + 0x2c]
lea edx, [ecx + ecx*8]
mov ecx, dword [edi + 0x1a20]
mov byte [esp + 0xe], 1
cmp dword [ecx + edx*4], eax
je 0x100415f6
mov byte [esp + 0xe], 0
cmp dword [esp + 0x30], 0
movss xmm4, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [0x100c4c50]
jne 0x10041718
movss xmm1, dword [esp + 0x40]
lea eax, [esp + 0x24]
subss xmm1, dword [0x100c4c04]
movss xmm0, dword [esi + 0x153c]
mov edi, dword [esp + 0x48]
push 5
push ecx
movss dword [esp + 0x80], xmm1
mov ecx, dword [edi + 0x274]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x3c]
addss xmm1, xmm2
movss dword [esp], xmm0
push 0xff323232
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x34], xmm4
push eax
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x24], xmm1
movaps xmm1, xmm3
addss xmm1, dword [0x100c4c04]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x28], xmm1
call fcn.1003a5d0
movss xmm1, dword [esp + 0x3c]
lea eax, [esp + 0x10]
movss xmm0, dword [esi + 0x153c]
push ecx
mov dword [esp], 0x3f800000
push 5
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 0x84]
movss dword [esp], xmm0
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x88]
push 0xff000000
push eax
movss dword [esp + 0x38], xmm1
lea eax, [esp + 0x38]
movss xmm1, dword [esp + 0x64]
push eax
movss dword [esp + 0x40], xmm1
call fcn.1003a4f0
mov edi, dword [0x100d83e0]
movss xmm2, dword [0x100c4c50]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
cmp dword [esp + 0x70], 0
jne 0x1004181a
subss xmm4, dword [esp + 0x44]
movss xmm1, dword [esi + 0x1538]
xor ecx, ecx
movss xmm7, dword [edi + 0x18ac]
movss xmm0, dword [0x100c4b74]
movaps xmm5, xmm7
mulss xmm5, dword [0x100c4b68]
addss xmm4, xmm1
mulss xmm7, xmm0
addss xmm1, xmm3
mulss xmm5, xmm0
movaps xmm6, xmm7
mulss xmm7, xmm0
addss xmm6, xmm4
movaps xmm3, xmm5
mulss xmm3, dword [0x100c4ac8]
addss xmm1, xmm2
movaps xmm4, xmm5
movaps xmm2, xmm5
mulss xmm4, dword [0x100c4b94]
mulss xmm2, dword [0x100c4f38]
addss xmm7, xmm1
movaps xmm1, xmm5
movaps xmm0, xmm6
mulss xmm1, dword [0x100c4bb0]
mulss xmm5, dword [0x100c4f34]
addss xmm0, xmm1
movaps xmm1, xmm7
addss xmm7, xmm4
addss xmm1, xmm5
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x74], xmm7
addss xmm6, xmm3
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x100c4bc8]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x70], xmm6
call fcn.10020880
mov ecx, dword [edi + 0x198c]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, dword [ecx + 0x274]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.1003a8b0
mov edi, dword [0x100d83e0]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004187d
cmp dword [esp + 0x30], 0
jne 0x1004187d
movss xmm0, dword [esi + 0x1534]
xor edx, edx
addss xmm0, dword [esp + 0x34]
mov ecx, eax
addss xmm0, dword [0x100c4c50]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x1538]
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100c4bc8]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 1
call fcn.10020b10
mov edi, dword [0x100d83e0]
add esp, 0xc
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x2c]
jne 0x1004189f
cmp dword [esi + 0x1aa4], eax
je 0x1004189f
cmp byte [esp + 0xe], 0
jne 0x100418c6
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xe], 0
jne 0x100418c6
mov ecx, dword [esp + 0x48]
cmp dword [ecx + 0x134], 0
jne 0x100418b9
mov dword [ecx + 0x300], eax
mov ecx, eax
call fcn.1002b4f0
mov edi, dword [0x100d83e0]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100418ef
movss xmm0, dword [esi + 0x1a70]
maxss xmm0, dword [esp + 0x4c]
mov dword [esi + 0x1a40], eax
movss dword [esi + 0x1a70], xmm0
jmp 0x100419b3
mov edx, dword [ebp + 8]
mov eax, edx
mov ecx, edx
or ecx, 4
and al, 0x1e
cmovne ecx, edx
mov eax, ecx
mov dword [ebp + 8], eax
test al, 4
je 0x1004190e
mov eax, 8
jmp 0x10041922
test al, 2
je 0x10041919
mov eax, 4
jmp 0x10041922
test al, 8
je 0x10041957
mov eax, 0x14
movss xmm1, dword [edi + 0x1548]
movss xmm3, dword [edi + 0x18ac]
movss xmm2, dword [edi + 0x1508]
addss xmm3, xmm1
movd xmm0, eax
addss xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
subss xmm3, xmm1
addss xmm3, xmm2
jmp 0x1004195f
movss xmm3, dword [0x100c4f20]
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [0x100c4c50]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x7f7fffff
movss dword [esp + 0x1c], xmm3
mov dword [edi + 0x1a40], 1
movss dword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x10]
mov dword [edi + 0x1a80], 0
mov dword [edi + 0x1a84], 0
movups xmmword [edi + 0x1a70], xmm0
push dword [esi + 0x1a24]
lea eax, [esp + 0x84]
push 0x100c279c
push 0x10
push eax
call fcn.10020070
add esp, 0x10
lea ecx, [esp + 0x80]
call fcn.100259b0
mov edi, eax
test edi, edi
je 0x10041b44
cmp byte [edi + 0x7b], 0
je 0x10041b44
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.10026010
mov eax, ecx
lea ecx, [esp + 0x24]
push eax
call fcn.100260d0
add esp, 4
lea ecx, [esp + 0x68]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.10025e40
add esp, 8
lea eax, [edi + 0xa0]
test byte [ebp + 8], 1
je 0x10041a2f
mov dword [eax], 0
mov edi, dword [0x100d83e0]
xorps xmm2, xmm2
movss xmm5, dword [0x100c5790]
movss xmm4, dword [edi + 0x1598]
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x1594]
addss xmm0, xmm4
movss xmm6, dword [edi + 0x10]
movaps xmm1, xmm7
subss xmm1, xmm2
comiss xmm1, xmm0
jbe 0x10041a72
xorps xmm4, xmm5
jmp 0x10041a75
xorps xmm4, xmm4
movaps xmm1, xmm6
movaps xmm0, xmm3
subss xmm1, xmm2
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x10041a8d
xorps xmm3, xmm5
jmp 0x10041a90
xorps xmm3, xmm3
xorps xmm0, xmm0
lea ecx, [esp + 0x34]
subss xmm0, xmm3
push 1
push ecx
lea ecx, [esp + 0x60]
push ecx
movss dword [esp + 0x64], xmm0
addss xmm3, xmm6
xorps xmm0, xmm0
lea edx, [esp + 0x1c]
subss xmm0, xmm4
addss xmm4, xmm7
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x70], xmm3
push eax
movss dword [esp + 0x70], xmm0
lea ecx, [esp + 0x38]
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x28], xmm0
call fcn.1002ba40
movss xmm1, dword [esp + 0x38]
add esp, 0x14
movss xmm0, dword [esp + 0x28]
addss xmm1, dword [0x100c4c50]
addss xmm0, dword [0x100c4ac8]
mov dword [edi + 0x1a54], 0
mov dword [edi + 0x1a58], 0
mov dword [edi + 0x1a30], 1
movss dword [edi + 0x1a4c], xmm1
movss dword [edi + 0x1a50], xmm0
jmp 0x10041b4a
mov edi, dword [0x100d83e0]
movss xmm0, dword [esi + 0x1534]
lea eax, [esp + 0x10]
movss xmm1, dword [edi + 0x1504]
lea ecx, [edi + 0x1a00]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esi + 0x1508]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x1508]
push eax
mov dword [esp + 0x14], 1
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm0
call fcn.10030720
movss xmm0, dword [esp + 0x68]
lea ecx, [esp + 0x80]
movss dword [edi + 0x1504], xmm0
xor edx, edx
movss xmm0, dword [esp + 0x58]
push 0x4000143
movss dword [edi + 0x1508], xmm0
call fcn.10027010
add esp, 4
mov byte [esp + 0xf], al
mov ecx, 1
call fcn.1002a970
cmp byte [esp + 0xf], 0
jne 0x10041bff
mov ecx, dword [0x100d83e0]
mov ecx, dword [ecx + 0x198c]
call fcn.1002c840
call fcn.1002a1b0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret