Function at 0x10023060
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 [0x1012266c]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [edi + 0x1928]
mov dword [esp + 0x24], edx
cmp byte [edx + 0x7b], 0
je 0x10023097
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x153c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movss dword [esp + 0x3c], xmm0
test esi, esi
jne 0x100230cf
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x100230cf
mov cl, byte [esi]
test cl, cl
je 0x100230cc
cmp cl, 0x23
jne 0x100230c6
cmp byte [esi + 1], cl
je 0x100230cc
inc esi
cmp esi, 0xffffffff
jb 0x100230b6
mov ecx, dword [ebp + 8]
movss xmm1, dword [edi + 0x1854]
mov eax, dword [edi + 0x1850]
mov dword [esp + 0x38], eax
movss dword [esp + 0x40], xmm1
cmp ecx, esi
jne 0x100230f3
xorps xmm2, xmm2
xorps xmm4, xmm4
jmp 0x10023152
movss xmm3, dword [0x1009b504]
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.100498d0
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x10023135
mov eax, dword [esp + 0x38]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x1009b37c]
movss xmm1, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm0, dword [edi + 0x1540]
addss xmm1, xmm2
movss xmm6, dword [edi + 0x1854]
addss xmm0, xmm0
movss xmm3, dword [edx + 0xe8]
xorps xmm5, xmm5
mov eax, dword [edi + 0x1928]
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 0x1002320c
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x1928]
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 + 0x1928]
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 0x1002326d
addss xmm0, xmm4
jmp 0x10023270
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.10014090
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [edi + 0x154c]
mov eax, dword [edi + 0x1928]
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 + 0x1a20]
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 0x1002336d
mov edx, dword [esp + 0x20]
test al, 1
je 0x1002331a
mov al, byte [edi + 0x1a1c]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push edx
call fcn.10013020
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1a20], 0
jmp 0x10023381
push 0xffffffffffffffff
push edx
call fcn.10012fd0
cmp eax, 0xffffffff
jne 0x10023358
mov al, byte [edi + 0x1a1c]
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.10013020
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1a20], 0
jmp 0x10023381
test eax, eax
mov dword [edi + 0x1a20], 0
setne cl
mov dword [esp + 0x10], ecx
jmp 0x10023381
push 0
push dword [esp + 0x24]
call fcn.10012fd0
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edi + 0x2b8c], 0
je 0x100233a9
mov eax, dword [esp + 0xc]
mov edx, 1
movzx ecx, cl
mov eax, dword [eax + 0xfc]
cmp eax, dword [edi + 0x2ba4]
cmovl ecx, edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push 0
call fcn.10014980
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 0x10023482
mov eax, dword [esp + 0x10]
test al, al
je 0x100237b8
mov ecx, dword [0x1012266c]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1928]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1928]
movss xmm0, dword [ecx + 0x1564]
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 0x1002346a
inc ecx
test edi, edi
je 0x10023458
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002345d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10032f60
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.10022250
add esp, 0xc
mov byte [esp + 0xc], 0
test al, al
mov eax, dword [esp + 0x10]
je 0x100234ce
cmp byte [edi + 0x1bd8], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
je 0x100234ce
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 [0x1012266c]
cmp dword [edi + 0x1a28], ecx
jne 0x1002358b
cmp byte [edi + 0x1a9d], 0
je 0x10023530
cmp dword [edi + 0x1aa8], 0
jne 0x10023530
test al, al
je 0x10023530
mov byte [edx + 0x1a9d], 0
cmp byte [edx + 0x1a9d], 0
mov byte [esp + 0xc], 1
jne 0x1002351d
cmp byte [edx + 0x1a85], 0
mov byte [esp + 0xa], 0
je 0x10023522
mov byte [esp + 0xa], 1
mov al, byte [esp + 0xa]
mov byte [edx + 0x1a84], al
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x1a28], ecx
jne 0x1002358b
cmp byte [edi + 0x1a9d], 0
je 0x1002358b
cmp dword [edi + 0x1aa8], 1
jne 0x1002358b
test al, al
jne 0x1002358b
mov byte [edx + 0x1a9d], al
test al, al
jne 0x10023572
cmp byte [edx + 0x1a85], al
jne 0x10023572
mov cl, al
mov byte [esp + 0xa], al
mov byte [edx + 0x1a84], cl
mov ecx, dword [esp + 0x20]
jmp 0x10023592
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa], 1
mov cl, byte [esp + 0xa]
mov byte [edx + 0x1a84], cl
mov ecx, dword [esp + 0x20]
jmp 0x10023592
cmp byte [esp + 0xc], 0
je 0x100235b5
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.10013020
mov edx, dword [0x1012266c]
cmp byte [esp + 0xb], 0
mov al, byte [esp + 9]
je 0x100235cb
test al, al
je 0x100235cb
mov ecx, 0x1a
jmp 0x100235d5
xor ecx, ecx
test al, al
setne cl
add ecx, 0x18
movss xmm1, dword [0x1009b380]
call fcn.10012ab0
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 0x1002367e
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 + 0x1928]
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.100471f0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push 2
call fcn.1001a980
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 + 0x1854]
mulss xmm0, dword [0x1009b334]
lea ecx, [ecx*2 + 1]
addss xmm0, xmm1
movss xmm1, dword [0x1009b368]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1001a7f0
add esp, 8
cmp byte [edi + 0x2b8c], 0
je 0x100236ff
push 0
lea edx, [esp + 0x10]
mov word [esp + 0x10], 0x3e
lea ecx, [esp + 0x54]
mov byte [esp + 0x12], 0
call fcn.1001a010
add esp, 4
push dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [esp + 0x54]
push 0
call fcn.1001a140
mov eax, dword [esp + 0x1c]
add esp, 0xc
test al, al
je 0x100237b8
mov ecx, dword [0x1012266c]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1928]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1928]
movss xmm0, dword [ecx + 0x1564]
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 0x100237a6
inc ecx
test edi, edi
je 0x10023794
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10023799
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10032f60
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