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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, dword [0x100daf00]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [edi + 0x1a20]
mov dword [esp + 0x24], edx
cmp byte [edx + 0x7b], 0
je 0x10022927
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1544]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movss dword [esp + 0x3c], xmm0
test esi, esi
jne 0x1002295f
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x1002295f
mov cl, byte [esi]
test cl, cl
je 0x1002295c
cmp cl, 0x23
jne 0x10022956
cmp byte [esi + 1], cl
je 0x1002295c
inc esi
cmp esi, 0xffffffff
jb 0x10022946
mov ecx, dword [ebp + 8]
movss xmm1, dword [edi + 0x1938]
mov eax, dword [edi + 0x1934]
mov dword [esp + 0x38], eax
movss dword [esp + 0x40], xmm1
cmp ecx, esi
jne 0x10022983
xorps xmm2, xmm2
xorps xmm4, xmm4
jmp 0x100229e2
movss xmm3, dword [0x1005ec10]
movaps xmm2, xmm1
push ecx
push esi
push ecx
push ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10049e70
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x100229c5
mov eax, dword [esp + 0x38]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1005ead0]
movss xmm1, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm0, dword [edi + 0x1548]
addss xmm1, xmm2
movss xmm6, dword [edi + 0x1938]
addss xmm0, xmm0
movss xmm3, dword [edx + 0xe8]
xorps xmm5, xmm5
mov eax, dword [edi + 0x1a20]
maxss xmm5, dword [edx + 0xec]
addss xmm0, xmm6
mov ecx, dword [eax + 0x1c4]
movss dword [esp + 0x34], xmm5
minss xmm3, xmm0
maxss xmm3, xmm1
movss xmm1, dword [eax + 0x21c]
subss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [edx + 0xcc]
movss dword [esp + 0x28], xmm0
test ecx, ecx
je 0x10022a9c
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x1a20]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [eax + 0x1c4]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x24]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x1a20]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
subss xmm1, dword [eax + 0x3c]
comiss xmm4, xmm2
addss xmm1, dword [edx + 0xc]
movss xmm7, dword [edx + 0xc8]
movss xmm5, dword [edx + 0xcc]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x68], xmm1
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x38], xmm5
addss xmm1, xmm0
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x50], xmm1
jbe 0x10022afd
addss xmm0, xmm4
jmp 0x10022b00
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x34]
addss xmm6, xmm0
lea ecx, [esp + 0x10]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm6
call fcn.10013ac0
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [edi + 0x1554]
mov eax, dword [edi + 0x1a20]
addss xmm1, xmm1
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
movss dword [esp + 0x10], xmm7
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x158]
mov eax, dword [edi + 0x1b18]
addss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x70], xmm0
test eax, eax
je 0x10022bfd
mov edx, dword [esp + 0x20]
test al, 1
je 0x10022baa
mov al, byte [edi + 0x1b14]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push edx
call fcn.10012a20
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1b18], 0
jmp 0x10022c11
push 0xffffffffffffffff
push edx
call fcn.100129d0
cmp eax, 0xffffffff
jne 0x10022be8
mov al, byte [edi + 0x1b14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x24]
mov ecx, dword [ecx + 0x158]
call fcn.10012a20
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1b18], 0
jmp 0x10022c11
test eax, eax
mov dword [edi + 0x1b18], 0
setne cl
mov dword [esp + 0x10], ecx
jmp 0x10022c11
push 0
push dword [esp + 0x24]
call fcn.100129d0
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edi + 0x2cb4], 0
je 0x10022c39
mov eax, dword [esp + 0xc]
mov edx, 1
movzx ecx, cl
mov eax, dword [eax + 0xfc]
cmp eax, dword [edi + 0x2ccc]
cmovl ecx, edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push 0
call fcn.100143b0
mov ecx, dword [esp + 0x28]
add esp, 4
movups xmm0, xmmword [esp + 0x60]
or dword [ecx + 0x108], 2
movups xmmword [ecx + 0x11c], xmm0
test al, al
jne 0x10022d12
mov eax, dword [esp + 0x10]
test al, al
je 0x10023048
mov ecx, dword [0x100daf00]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1a20]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [ecx + 0x1574]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10022cfa
inc ecx
test edi, edi
je 0x10022ce8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10022ced
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10032760
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xb]
push 0x1400
push eax
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x7c]
call fcn.10021ab0
add esp, 0xc
mov byte [esp + 0xc], 0
test al, al
mov eax, dword [esp + 0x10]
je 0x10022d5e
cmp byte [edi + 0x1d00], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
je 0x10022d5e
xor edx, edx
movzx ecx, cl
test al, al
cmovne ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [0x100daf00]
cmp dword [edi + 0x1b20], ecx
jne 0x10022e1b
cmp byte [edi + 0x1b95], 0
je 0x10022dc0
cmp dword [edi + 0x1ba0], 0
jne 0x10022dc0
test al, al
je 0x10022dc0
mov byte [edx + 0x1b95], 0
cmp byte [edx + 0x1b95], 0
mov byte [esp + 0xc], 1
jne 0x10022dad
cmp byte [edx + 0x1b7d], 0
mov byte [esp + 0xa], 0
je 0x10022db2
mov byte [esp + 0xa], 1
mov al, byte [esp + 0xa]
mov byte [edx + 0x1b7c], al
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x1b20], ecx
jne 0x10022e1b
cmp byte [edi + 0x1b95], 0
je 0x10022e1b
cmp dword [edi + 0x1ba0], 1
jne 0x10022e1b
test al, al
jne 0x10022e1b
mov byte [edx + 0x1b95], al
test al, al
jne 0x10022e02
cmp byte [edx + 0x1b7d], al
jne 0x10022e02
mov cl, al
mov byte [esp + 0xa], al
mov byte [edx + 0x1b7c], cl
mov ecx, dword [esp + 0x20]
jmp 0x10022e22
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa], 1
mov cl, byte [esp + 0xa]
mov byte [edx + 0x1b7c], cl
mov ecx, dword [esp + 0x20]
jmp 0x10022e22
cmp byte [esp + 0xc], 0
je 0x10022e45
test al, al
sete al
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x158]
call fcn.10012a20
mov edx, dword [0x100daf00]
cmp byte [esp + 0xb], 0
mov al, byte [esp + 9]
je 0x10022e5b
test al, al
je 0x10022e5b
mov ecx, 0x1a
jmp 0x10022e65
xor ecx, ecx
test al, al
setne cl
add ecx, 0x18
movss xmm1, dword [0x1005ead4]
call fcn.100124b0
cmp byte [esp + 9], 0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x34]
mov dword [esp + 0x24], eax
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss dword [esp + 0x54], xmm0
je 0x10022f0e
mov ecx, dword [esp + 0x64]
movss xmm0, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push 0xf
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x1a20]
push ecx
mov dword [esp], 0
push dword [esp + 0x2c]
mov ecx, dword [ecx + 0x27c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x6c], xmm0
push eax
call fcn.10047540
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push 2
call fcn.1001a440
movss xmm1, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x3c]
xor ecx, ecx
addss xmm0, dword [esp + 0x40]
cmp byte [esp + 0x10], cl
setne cl
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x1938]
mulss xmm0, dword [0x1005ea88]
lea ecx, [ecx*2 + 1]
addss xmm0, xmm1
movss xmm1, dword [0x1005eabc]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1001a2b0
add esp, 8
cmp byte [edi + 0x2cb4], 0
je 0x10022f8f
push 0
lea edx, [esp + 0x10]
mov word [esp + 0x10], 0x3e
lea ecx, [esp + 0x54]
mov byte [esp + 0x12], 0
call fcn.10019a30
add esp, 4
push dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [esp + 0x54]
push 0
call fcn.10019b60
mov eax, dword [esp + 0x1c]
add esp, 0xc
test al, al
je 0x10023048
mov ecx, dword [0x100daf00]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1a20]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [ecx + 0x1574]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10023036
inc ecx
test edi, edi
je 0x10023024
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10023029
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10032760
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret