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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov esi, dword [0x100e4e78]
push edi
mov dword [esp + 0x24], edx
mov edi, ecx
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ebx, dword [esi + 0x1928]
cmp byte [ebx + 0x7b], 0
jne 0x100227c8
mov ecx, dword [ebx + 0x1c8]
xor edx, edx
mov eax, dword [ebx + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000f1b0
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x1944], eax
jne 0x10022271
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x10022280
mov byte [esi + 0x1954], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1002229d
mov dl, byte [ecx]
test dl, dl
je 0x1002229d
cmp dl, 0x23
jne 0x10022297
cmp byte [ecx + 1], dl
je 0x1002229d
inc ecx
cmp ecx, 0xffffffff
jb 0x10022287
movss xmm2, dword [esi + 0x1854]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm2
cmp edi, ecx
jne 0x100222c1
xorps xmm0, xmm0
xorps xmm5, xmm5
jmp 0x10022319
movss xmm3, dword [0x100a068c]
push ecx
push ecx
push edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100465c0
movss xmm1, dword [esp + 0x38]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10022300
mov eax, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
divss xmm2, dword [eax]
subss xmm1, xmm2
addss xmm1, dword [0x100a0530]
movss xmm2, dword [esp + 0x3c]
cvttss2si eax, xmm1
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm0
movss xmm3, dword [esi + 0x1540]
movss xmm7, dword [esi + 0x1540]
addss xmm3, xmm3
movss xmm6, dword [ebx + 0xc8]
movaps xmm1, xmm7
movss xmm4, dword [ebx + 0xcc]
addss xmm1, xmm7
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x14], xmm6
addss xmm3, dword [esi + 0x1854]
movss dword [esp + 0x18], xmm4
addss xmm1, xmm2
movss dword [esp + 0x30], xmm3
jbe 0x10022378
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x1554]
addss xmm0, xmm3
movss dword [esp + 0x40], xmm6
addss xmm1, xmm4
movss dword [esp + 0x44], xmm4
lea ecx, [esp + 0x38]
addss xmm0, xmm6
movss dword [esp + 0x4c], xmm1
subss xmm1, xmm4
movss dword [esp + 0x48], xmm0
subss xmm0, xmm6
movss dword [esp + 0x3c], xmm1
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm0
call fcn.10010d10
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0
call fcn.10011600
add esp, 4
test al, al
je 0x100227c8
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xe]
push 0
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x4c]
call fcn.1001ece0
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x10022406
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
movss xmm1, dword [esp + 0x30]
lea ecx, [esp + 0x40]
cvtps2pd xmm1, xmm1
mov edx, dword [esp + 0x1c]
push 1
movaps xmm0, xmm1
mulsd xmm1, qword [0x100a0550]
mulsd xmm0, qword [0x100a0568]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x14], xmm0
cvtpd2ps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
call fcn.10017600
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
movss xmm2, dword [esp + 0x34]
add esp, 4
addss xmm1, dword [0x100a0574]
addss xmm2, dword [0x100a0574]
movss xmm0, dword [esp + 0x14]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
mov dword [esp], 0x41200000
push 0xff463d34
push eax
movss dword [esp + 0x50], xmm0
lea eax, [esp + 0x50]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm2
call fcn.10043ee0
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [0x100a0508]
addss xmm1, xmm0
movaps xmm3, xmmword [0x100a0990]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm1, xmm4
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x48], xmm1
movss xmm1, dword [0x100a0534]
movups xmmword [esp + 0x50], xmm3
jbe 0x1002252b
xorps xmm2, xmm2
jmp 0x10022532
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100a0640]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x10022556
xorps xmm2, xmm2
jmp 0x1002255d
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1002257e
xorps xmm2, xmm2
jmp 0x10022585
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x5c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x100225a6
xorps xmm1, xmm1
jmp 0x100225aa
minss xmm1, xmm2
mulss xmm1, xmm3
push 0xf
push ecx
mov dword [esp], 0x41200000
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10043ee0
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x10022771
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x24]
addss xmm0, dword [0x100a0508]
movss xmm1, dword [esp + 0x1c]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x100a0534]
addss xmm1, xmm0
mov dword [esp], 0x41200000
push 0xffbf9f3a
push eax
lea eax, [esp + 0x2c]
push eax
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x40]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call fcn.10043ee0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x100a0574]
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [0x100a0574]
movaps xmm3, xmmword [0x100a0990]
movss xmm2, dword [esp + 0x38]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [0x100a0534]
movss dword [esp + 0x40], xmm2
movups xmmword [esp + 0x50], xmm3
jbe 0x100226b9
xorps xmm2, xmm2
jmp 0x100226c0
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100a0640]
movss xmm4, dword [0x100a0508]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x100226ec
xorps xmm2, xmm2
jmp 0x100226f3
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10022714
xorps xmm2, xmm2
jmp 0x1002271b
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x5c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x1002273c
xorps xmm1, xmm1
jmp 0x10022740
minss xmm1, xmm2
mulss xmm1, xmm3
push 0xf
push ecx
mov dword [esp], 0x41200000
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10043ee0
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100227bd
movss xmm0, dword [esp + 0x10]
xor edx, edx
addss xmm0, dword [esi + 0x1554]
mov ecx, edi
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esi + 0x1540]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 1
call fcn.10016dc0
add esp, 0xc
mov al, byte [esp + 0xe]
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