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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100beec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp byte [ebx + 0x7d], 0
movss xmm0, dword [ebx + 0x3c]
movss xmm1, dword [ebx + 0x40]
mov edi, dword [0x100c29e4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], eax
mov byte [ebx + 0x7f], 0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x40], xmm1
je 0x10022eb8
cmp byte [ebp + 0x10], 0
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0x30], xmm0
movss dword [edi + 0x155c], xmm1
je 0x10022d5c
cmp byte [edi + 0x1b76], 0
mov eax, 0xb
je 0x10022d61
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10019560
movss xmm0, dword [esi + 8]
add esp, 8
movss xmm1, dword [ebp - 0x34]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
mov esi, dword [0x100c29e4]
push 0xf
push ecx
movss dword [esp], xmm1
push eax
movss dword [ebp - 8], xmm0
lea eax, [ebp - 0x14]
mov ebx, dword [esi + 0x1a00]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebx + 0x278]
call fcn.1002b1d0
movss xmm0, dword [esi + 0x155c]
comiss xmm0, dword [0x10087068]
movss dword [ebp - 0x2c], xmm0
jbe 0x10022e9a
push ecx
mov dword [esp], 0x3f800000
push 6
call fcn.10019560
movss xmm1, dword [0x100837e4]
add esp, 4
movss xmm0, dword [ebp - 0x14]
addss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [ebx + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1002b0e0
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10019560
movss xmm0, dword [ebp - 0x2c]
add esp, 4
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [ebx + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002b0e0
movss xmm0, dword [ebp - 0x30]
movss dword [edi + 0x155c], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054ef6
mov esp, ebp
pop ebp
ret
test al, al
js 0x10022ff2
test eax, 0x6000000
je 0x10022ece
mov eax, 4
jmp 0x10022edb
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10019560
add esp, 8
mov ecx, eax
test byte [edi + 0x1a80], 0x40
xorps xmm2, xmm2
je 0x10022f37
movss xmm1, dword [edi + 0x1acc]
comiss xmm2, xmm1
jbe 0x10022f0c
xorps xmm0, xmm0
jmp 0x10022f18
movss xmm0, dword [0x100837e4]
minss xmm0, xmm1
mulss xmm0, dword [0x1008ac28]
and ecx, 0xffffff
addss xmm0, dword [0x10087070]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm3, dword [ebx + 0xc]
movss xmm4, dword [ebx + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [ebx + 0x14]
mov esi, dword [ebp - 0x2c]
mov edx, esi
and edx, 1
mov dword [ebp - 0x28], edx
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebx + 0x18]
movss dword [ebp - 0x58], xmm0
je 0x10022f6d
xorps xmm0, xmm0
jmp 0x10022fa9
mov eax, dword [0x100c29e4]
movss xmm1, dword [eax + 0x18d4]
mov eax, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x270]
test eax, eax
je 0x10022f94
mulss xmm1, dword [eax + 0x270]
mov eax, dword [0x100c29e4]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, xmm4
mov dword [ebp - 0x30], 0xf
test edx, edx
addss xmm3, xmm2
mov eax, 0xc
cmovne eax, dword [ebp - 0x30]
push eax
push ecx
movss dword [ebp - 0x60], xmm0
lea eax, [ebp - 0x5c]
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
mov ecx, dword [ebx + 0x278]
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x64], xmm3
push eax
call fcn.1002b1d0
mov eax, dword [ebp - 0x28]
jmp 0x10022ffb
mov esi, dword [ebp - 0x2c]
and eax, 1
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002303b
movzx eax, byte [ebp + 0x10]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.10019560
movss xmm0, dword [ebp - 0x34]
add esp, 8
push 3
push ecx
mov ecx, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [ebx + 0x278]
call fcn.1002b1d0
mov eax, dword [ebp - 0x28]
test esi, 0x400
je 0x10023230
mov edx, dword [ebx + 8]
mov ecx, dword [0x100c29e4]
test dl, 1
je 0x1002305a
xorps xmm2, xmm2
jmp 0x1002308f
movss xmm0, dword [ecx + 0x18d4]
mov edx, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x270]
test edx, edx
je 0x1002307c
mulss xmm0, dword [edx + 0x270]
movss xmm2, dword [ecx + 0x1554]
mov edx, dword [ebx + 8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [ebx + 0x10]
xorps xmm3, xmm3
addss xmm2, xmm5
test edx, 0x400
je 0x100230df
movss xmm1, dword [ecx + 0x18d4]
mov edx, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x270]
test edx, edx
je 0x100230c5
mulss xmm1, dword [edx + 0x270]
movss xmm0, dword [ecx + 0x1554]
addss xmm1, dword [ebx + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x100230e2
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0xc]
addss xmm1, xmm2
movaps xmm4, xmm0
maxss xmm4, xmm0
movss dword [ebp - 0x30], xmm4
movaps xmm4, xmm2
maxss xmm4, xmm5
addss xmm5, dword [ebx + 0x18]
movss dword [ebp - 0x3c], xmm4
movaps xmm4, xmm0
minss xmm1, xmm5
addss xmm4, dword [ebx + 0x1c]
addss xmm0, dword [ebx + 0x14]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm1
minss xmm4, xmm0
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x1c], xmm4
test eax, eax
je 0x10023141
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x38], xmm0
jmp 0x10023146
movss dword [ebp - 0x38], xmm3
push ecx
mov dword [esp], 0x3f800000
push 0xd
call fcn.10019560
movss xmm0, dword [ebp - 0x44]
xorps xmm1, xmm1
subss xmm0, dword [ebp - 0x40]
add esp, 8
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm1
push 3
push ecx
mov ecx, dword [ebx + 0x278]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.1002b1d0
movss xmm0, dword [edi + 0x155c]
comiss xmm0, dword [0x10087068]
jbe 0x10023230
movss xmm0, dword [ebx + 0x10]
addss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [ebp - 0x28]
jbe 0x10023230
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10019560
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [edi + 0x155c]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebx + 0x278]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x78], edx
push eax
call fcn.1002a4c0
cmp byte [ebx + 0x78], 0
je 0x10023240
push 0
call fcn.1004d030
add esp, 4
cmp byte [ebx + 0x79], 0
je 0x10023250
push 1
call fcn.1004d030
add esp, 4
test byte [ebp - 0x2c], 2
jne 0x10023545
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x14], eax
jle 0x10023545
movss xmm4, dword [ebp - 0x40]
mov edi, 0x100bea20
movaps xmm0, xmm4
mov dword [ebp - 0x28], edi
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebx + 0xc]
and eax, 1
movss xmm1, dword [ebx + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [ebx + 0x14]
movaps xmm3, xmm1
mov dword [ebp - 0x44], eax
addss xmm3, dword [ebx + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [edi - 8]
mulss xmm3, dword [edi - 4]
mov edi, dword [ebx + 0x278]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x38], xmm3
je 0x100232d8
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
jmp 0x100232e0
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm1
cmp esi, ecx
jne 0x100233ad
inc esi
test ecx, ecx
je 0x1002331c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10023321
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100233ad
mov eax, dword [0x100c29e4]
test eax, eax
je 0x1002333d
inc dword [eax + 0x374]
push dword [0x100c29ec]
lea eax, [esi*8]
push eax
call dword [0x100bea10]
mov edx, dword [edi + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10023398
mov ecx, dword [edi + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10056a60
mov ecx, dword [edi + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10023385
mov eax, dword [0x100c29e4]
test eax, eax
je 0x10023385
dec dword [eax + 0x374]
push dword [0x100c29ec]
push ecx
call dword [0x100bea14]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x40]
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], esi
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x60]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [edi + 0x58]
cmp dword [ebp - 0x44], 0
mov edi, dword [ebx + 0x278]
je 0x100233d9
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
jmp 0x100233e1
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm1
cmp esi, ecx
jne 0x100234a9
inc esi
test ecx, ecx
je 0x1002341d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10023422
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100234a9
mov eax, dword [0x100c29e4]
test eax, eax
je 0x1002343e
inc dword [eax + 0x374]
push dword [0x100c29ec]
lea eax, [esi*8]
push eax
call dword [0x100bea10]
mov edx, dword [edi + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10023499
mov ecx, dword [edi + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10056a60
mov ecx, dword [edi + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10023486
mov eax, dword [0x100c29e4]
test eax, eax
je 0x10023486
dec dword [eax + 0x374]
push dword [0x100c29ec]
push ecx
call dword [0x100bea14]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], esi
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
movss xmm0, dword [ebp - 8]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [ebp - 0x1c]
inc dword [edi + 0x58]
mov edi, dword [ebp - 0x28]
mulss xmm0, dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
addss xmm0, xmm2
push ecx
mov ecx, dword [ebx + 0x278]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [edi + 4]
addss xmm0, xmm3
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push eax
call fcn.1002ecd0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.10029710
mov eax, dword [ebp - 0x2c]
add edi, 0x18
movss xmm4, dword [ebp - 0x40]
inc eax
mov dword [esi + 0x58], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
cmp eax, dword [ebp + 0x14]
jl 0x10023282
push ebx
call fcn.10023560
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10054ef6
mov esp, ebp
pop ebp
ret