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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, dword [0x1012266c]
mov esi, ecx
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1928]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x7b], 0
jne 0x1000cbc4
mov ecx, dword [eax + 0x1c8]
xor edx, edx
mov eax, dword [eax + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10012530
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [edi + 0x1944], eax
jne 0x1000c8a4
mov byte [edi + 0x1950], 1
cmp dword [edi + 0x1948], eax
jne 0x1000c8b3
mov byte [edi + 0x1954], 1
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1000c8d6
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1000c8d6
cmp dl, 0x23
jne 0x1000c8d0
cmp byte [ecx + 1], dl
je 0x1000c8d6
inc ecx
cmp ecx, 0xffffffff
jb 0x1000c8c0
movss xmm4, dword [edi + 0x1854]
mov eax, dword [edi + 0x1850]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm4
cmp esi, ecx
jne 0x1000c8f7
xorps xmm3, xmm3
jmp 0x1000c953
movss xmm3, dword [0x1009b504]
movaps xmm2, xmm4
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x38]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100498d0
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x1009b2e8]
jbe 0x1000c93a
mov eax, dword [esp + 0x18]
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1009b37c]
movss xmm4, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm0, dword [edi + 0x1540]
lea ecx, [esp + 0x18]
movss xmm1, dword [edi + 0x153c]
movaps xmm2, xmm0
mov eax, dword [esp + 0x10]
addss xmm2, xmm0
addss xmm1, xmm1
push dword [eax + 4]
addss xmm2, xmm4
push dword [eax]
addss xmm1, xmm3
call fcn.10014e10
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
movss xmm1, dword [edi + 0x1540]
movss xmm3, dword [eax + 0xc8]
movss xmm4, dword [eax + 0xcc]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x20]
movaps xmm0, xmm4
movss dword [esp + 0x38], xmm3
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
call fcn.10014090
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push 0
mov edx, edi
call fcn.10014980
add esp, 0xc
test al, al
je 0x1000cbc4
push 0
lea eax, [esp + 0xe]
mov edx, edi
push eax
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x3c]
call fcn.10022250
add esp, 0xc
mov byte [esp + 0xb], al
cmp byte [esp + 9], 0
jne 0x1000ca1f
cmp byte [esp + 0xa], 0
je 0x1000ca2f
mov ecx, dword [0x1012266c]
mov dword [ecx + 0x1bd4], 7
cmp byte [ebp + 8], 0
mov edi, dword [esp + 0xc]
je 0x1000ca95
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x1009b45c]
push 0xf
push ecx
mov ecx, dword [edi + 0x27c]
mov dword [esp], 0x41000000
push 0xc8565673
push eax
movss dword [esp + 0x30], xmm0
lea eax, [esp + 0x30]
movss xmm0, dword [esp + 0x44]
push eax
movss dword [esp + 0x38], xmm0
call fcn.100471f0
mov ecx, dword [0x101224f8]
call fcn.10021190
mov eax, dword [0x1012266c]
mov edi, dword [edi + 0x27c]
movss xmm2, dword [eax + 0x1854]
mov ecx, dword [eax + 0x1850]
mov dword [esp + 0x18], ecx
movss dword [esp + 0x20], xmm2
test esi, esi
je 0x1000cb25
movss xmm3, dword [0x1009b504]
lea eax, [esp + 0x28]
push ecx
push 0
push esi
push ecx
mov dword [esp], 0xbf800000
push eax
call fcn.100498d0
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x1009b2e8]
jbe 0x1000cb06
mov eax, dword [esp + 0x18]
movss xmm1, dword [esp + 0x20]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1009b37c]
movss xmm2, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
mov edx, dword [esp + 0x10]
mov ecx, esi
mulss xmm2, dword [0x1009b354]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [edx + 4]
lea edx, [ecx + 1]
mulss xmm1, dword [0x1009b354]
movss dword [esp + 0x18], xmm0
addss xmm1, dword [esp + 0x34]
subss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cb60
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x1000cbb5
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x28]
add edx, edx
push 0
push ecx
mov dword [esp], 0
push dword [esp + 0x28]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x3c]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
mov ecx, dword [eax + 8]
push 0xffffffffffffffff
push dword [esp + 0x34]
movups xmmword [esp + 0x4c], xmm0
push dword [esp + 0x34]
push edi
call fcn.10049c20
call fcn.10021290
mov al, byte [esp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret