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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x1012266c]
mov ebx, ecx
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x1928]
mov byte [eax + 0x78], 1
mov esi, dword [edi + 0x1928]
cmp byte [esi + 0x7b], 0
jne 0x10022bd6
mov ecx, dword [esi + 0x1c8]
xor edx, edx
mov eax, dword [esi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.10012530
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [edi + 0x1944], eax
jne 0x10022921
mov byte [edi + 0x1950], 1
cmp dword [edi + 0x1948], eax
jne 0x10022930
mov byte [edi + 0x1954], 1
mov ecx, ebx
cmp ebx, 0xffffffff
jae 0x1002294d
mov dl, byte [ecx]
test dl, dl
je 0x1002294d
cmp dl, 0x23
jne 0x10022947
cmp byte [ecx + 1], dl
je 0x1002294d
inc ecx
cmp ecx, 0xffffffff
jb 0x10022937
movss xmm4, dword [edi + 0x1854]
mov eax, dword [edi + 0x1850]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm4
cmp ebx, ecx
jne 0x1002296e
xorps xmm3, xmm3
jmp 0x100229ca
movss xmm3, dword [0x1009b504]
movaps xmm2, xmm4
push ecx
push ecx
push ebx
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 0x100229b1
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
test dword [ebp + 8], 0x200
movss xmm1, dword [esi + 0xcc]
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x14], xmm1
je 0x10022a10
movss xmm2, dword [edi + 0x1540]
movss xmm0, dword [esi + 0xec]
comiss xmm0, xmm2
jbe 0x10022a10
subss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x1540]
lea ecx, [esp + 0x28]
movss xmm1, dword [edi + 0x153c]
movaps xmm2, xmm0
mov eax, dword [esp + 0x20]
addss xmm2, xmm0
addss xmm1, xmm1
push dword [eax + 4]
addss xmm2, xmm4
push dword [eax]
addss xmm1, xmm3
call fcn.10014e10
movss xmm1, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
movss xmm3, dword [esi + 0xc8]
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x34]
movaps xmm0, xmm3
movss dword [esp + 0x3c], xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x44], xmm2
subss xmm2, xmm1
movss xmm1, dword [edi + 0x1540]
movss dword [esp + 0x40], xmm0
subss xmm0, xmm3
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x30], xmm0
call fcn.10014090
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push 0
call fcn.10014980
add esp, 0xc
test al, al
je 0x10022bd6
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xd]
mov edx, dword [esp + 0x10]
or ecx, 1
test byte [esi + 0x164], 2
cmove ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x3c]
call fcn.10022250
add esp, 0xc
mov byte [esp + 0xf], al
test al, al
je 0x10022afd
mov ecx, dword [0x1012266c]
mov byte [ecx + 0x1953], 1
cmp byte [esp + 0xd], 0
mov dl, byte [esp + 0xe]
je 0x10022b13
test dl, dl
je 0x10022b13
mov ecx, 0x17
jmp 0x10022b1d
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x15
movss xmm1, dword [0x1009b380]
call fcn.10012ab0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
mov esi, eax
call fcn.1001a980
movss xmm2, dword [edi + 0x1544]
add esp, 4
mov dl, 1
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1001a5e0
movss xmm2, dword [edi + 0x153c]
lea eax, [esp + 0x40]
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x38]
movss xmm1, dword [edi + 0x1540]
subss xmm0, xmm2
addss xmm2, dword [esp + 0x40]
push eax
lea eax, [edi + 0x157c]
push eax
movss dword [esp + 0x40], xmm0
lea eax, [esp + 0x30]
movss xmm0, dword [esp + 0x54]
lea ecx, [esp + 0x38]
subss xmm0, xmm1
movss dword [esp + 0x38], xmm2
addss xmm1, dword [esp + 0x4c]
push eax
push 0
push ebx
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x48], xmm1
call fcn.1001a280
mov al, byte [esp + 0x33]
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret