Function at 0x10022a40
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 0x10022d56
mov ecx, dword [esi + 0x1c8]
xor edx, edx
mov eax, dword [esi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.10012520
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [edi + 0x1944], eax
jne 0x10022aa1
mov byte [edi + 0x1950], 1
cmp dword [edi + 0x1948], eax
jne 0x10022ab0
mov byte [edi + 0x1954], 1
mov ecx, ebx
cmp ebx, 0xffffffff
jae 0x10022acd
mov dl, byte [ecx]
test dl, dl
je 0x10022acd
cmp dl, 0x23
jne 0x10022ac7
cmp byte [ecx + 1], dl
je 0x10022acd
inc ecx
cmp ecx, 0xffffffff
jb 0x10022ab7
movss xmm4, dword [edi + 0x1854]
mov eax, dword [edi + 0x1850]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm4
cmp ebx, ecx
jne 0x10022aee
xorps xmm3, xmm3
jmp 0x10022b4a
movss xmm3, dword [0x1009b554]
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.10049cc0
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x1009b338]
jbe 0x10022b31
mov eax, dword [esp + 0x18]
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1009b3d0]
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 0x10022b90
movss xmm2, dword [edi + 0x1540]
movss xmm0, dword [esi + 0xec]
comiss xmm0, xmm2
jbe 0x10022b90
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.10014e00
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.10014080
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push 0
call fcn.10014970
add esp, 0xc
test al, al
je 0x10022d56
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.100223d0
add esp, 0xc
mov byte [esp + 0xf], al
test al, al
je 0x10022c7d
mov ecx, dword [0x1012266c]
mov byte [ecx + 0x1953], 1
cmp byte [esp + 0xd], 0
mov dl, byte [esp + 0xe]
je 0x10022c93
test dl, dl
je 0x10022c93
mov ecx, 0x17
jmp 0x10022c9d
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x15
movss xmm1, dword [0x1009b3d4]
call fcn.10012aa0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
mov esi, eax
call fcn.1001a970
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.1001a5d0
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.1001a270
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