Function at 0x10022150
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 [0x100daf00]
mov ebx, ecx
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [edi + 0x1a20]
cmp byte [esi + 0x7b], 0
jne 0x10022466
mov ecx, dword [esi + 0x1c8]
xor edx, edx
mov eax, dword [esi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.10011f30
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [edi + 0x1a3c], eax
jne 0x100221b1
mov byte [edi + 0x1a48], 1
cmp dword [edi + 0x1a40], eax
jne 0x100221c0
mov byte [edi + 0x1a4c], 1
mov ecx, ebx
cmp ebx, 0xffffffff
jae 0x100221dd
mov dl, byte [ecx]
test dl, dl
je 0x100221dd
cmp dl, 0x23
jne 0x100221d7
cmp byte [ecx + 1], dl
je 0x100221dd
inc ecx
cmp ecx, 0xffffffff
jb 0x100221c7
movss xmm4, dword [edi + 0x1938]
mov eax, dword [edi + 0x1934]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm4
cmp ebx, ecx
jne 0x100221fe
xorps xmm3, xmm3
jmp 0x1002225a
movss xmm3, dword [0x1005ec10]
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.10049e70
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x1005ea38]
jbe 0x10022241
mov eax, dword [esp + 0x18]
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1005ead0]
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 0x100222a0
movss xmm2, dword [edi + 0x1548]
movss xmm0, dword [esi + 0xec]
comiss xmm0, xmm2
jbe 0x100222a0
subss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x1548]
lea ecx, [esp + 0x28]
movss xmm1, dword [edi + 0x1544]
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.10014840
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 + 0x1548]
movss dword [esp + 0x40], xmm0
subss xmm0, xmm3
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x30], xmm0
call fcn.10013ac0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push 0
call fcn.100143b0
add esp, 0xc
test al, al
je 0x10022466
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.10021ab0
add esp, 0xc
mov byte [esp + 0xf], al
test al, al
je 0x1002238d
mov ecx, dword [0x100daf00]
mov byte [ecx + 0x1a4b], 1
cmp byte [esp + 0xd], 0
mov dl, byte [esp + 0xe]
je 0x100223a3
test dl, dl
je 0x100223a3
mov ecx, 0x17
jmp 0x100223ad
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x15
movss xmm1, dword [0x1005ead4]
call fcn.100124b0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
mov esi, eax
call fcn.1001a440
movss xmm2, dword [edi + 0x154c]
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.1001a0a0
movss xmm2, dword [edi + 0x1544]
lea eax, [esp + 0x40]
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x38]
movss xmm1, dword [edi + 0x1548]
subss xmm0, xmm2
addss xmm2, dword [esp + 0x40]
push eax
lea eax, [edi + 0x15a0]
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.10019cd0
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