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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [0x10159260]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x1b94]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b94]
cmp byte [eax + 0x8f], 0
je 0x10068c51
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov ebx, dword [esp + 0x78]
test ebx, ebx
jne 0x10068c64
mov eax, edx
shl eax, 4
mov ebx, dword [eax + 0x101434f0]
mov ebp, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
push ebx
push ebp
push edx
mov edx, 0x40
call fcn.10065f50
xor al, al
mov byte [esp + 0x78], al
mov eax, esi
or esi, 1
test eax, 0x20002
cmovne esi, eax
or esi, 0x200010
cmp dword [esp + 0x70], 0
je 0x10068f9e
mov eax, dword [0x10159260]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x1930]
movss dword [esp + 0x14], xmm0
call fcn.1004cb80
mov eax, dword [0x10159260]
xor edx, edx
mov eax, dword [eax + 0x1b94]
add eax, 0xc0
mov dword [esp + 0x7c], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
call fcn.10040740
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x1c], eax
cmp ecx, eax
jne 0x10068d28
inc ecx
test eax, eax
je 0x10068d12
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
sar eax, 1
add eax, dword [esp + 0x1c]
jmp 0x10068d17
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10052950
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov ebp, dword [esp + 0x20]
mov dword [eax + ecx*4], ebp
mov ecx, dword [0x10159260]
inc dword [edx]
mov edx, dword [ecx + 0x1c78]
mov eax, dword [ecx + 0x1b94]
mov dword [esp + 0x7c], edx
test dl, 1
je 0x10068d5b
movss xmm1, dword [ecx + 0x1c7c]
jmp 0x10068d63
movss xmm1, dword [eax + 0x1b4]
movss xmm4, dword [0x10150be4]
xorps xmm0, xmm0
comiss xmm0, xmm1
mov ebp, dword [esp + 0x6c]
jbe 0x10068da9
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x24c]
jne 0x10068d91
cmp dword [ecx + 0x1ecc], 0
je 0x10068d99
movss xmm0, dword [eax + 0x21c]
subss xmm0, dword [eax + 0xcc]
addss xmm1, xmm0
maxss xmm1, xmm4
movss xmm2, dword [edi + 0x1568]
xor edx, edx
mov eax, dword [esp + 0x7c]
addss xmm2, xmm2
movss xmm0, dword [esp + 0x14]
or eax, 1
mov dword [ecx + 0x1c78], eax
addss xmm0, xmm0
cvttss2si eax, xmm1
push 0
push 0
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
addss xmm0, xmm2
movd xmm1, eax
lea eax, [esp + 0x2c]
cvtdq2ps xmm1, xmm1
push eax
push 0x40
lea eax, [esp + 0x3c]
push eax
subss xmm1, xmm0
maxss xmm1, xmm4
movss dword [ecx + 0x1c7c], xmm1
mov ecx, 0x10136c92
call fcn.1006aa80
test al, al
je 0x10068e35
mov edx, dword [edi + 0x1f7c]
lea ecx, [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x18]
call fcn.10066760
mov byte [esp + 0x78], al
movss xmm0, dword [edi + 0x1550]
and esi, 0x4000
mov eax, dword [edi + 0x1554]
or esi, 0x2400
movss xmm1, dword [edi + 0x1568]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 0x1554]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
mov dword [edi + 0x1550], eax
call fcn.1004c840
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x20]
push esi
mov ecx, 0x10143184
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.10062c40
mov ebx, dword [esp + 0x74]
test al, al
je 0x10068ecb
cmp byte [edi + 0xfc], 0
je 0x10068eb1
mov eax, ebx
test ebx, ebx
jne 0x10068eb5
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, 0x2d
push eax
push ebp
push ebp
call fcn.10066060
mov byte [esp + 0x78], 1
movss xmm1, dword [edi + 0x1568]
xorps xmm0, xmm0
call fcn.1004c840
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x20]
push esi
mov ecx, 0x1013df00
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.10062c40
test al, al
je 0x10068f26
cmp byte [edi + 0xfc], 0
je 0x10068f0d
test ebx, ebx
jne 0x10068f11
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, 0x2b
push ebx
push ebp
push ebp
call fcn.10066060
mov bl, 1
jmp 0x10068f2a
mov bl, byte [esp + 0x78]
mov ebp, dword [esp + 0x18]
mov esi, ebp
cmp ebp, 0xffffffff
jae 0x10068f6a
mov cl, byte [esi]
test cl, cl
je 0x10068f4b
cmp cl, 0x23
jne 0x10068f45
cmp byte [esi + 1], cl
je 0x10068f4b
inc esi
cmp esi, 0xffffffff
jb 0x10068f35
cmp ebp, esi
je 0x10068f6a
movss xmm1, dword [edi + 0x1568]
xorps xmm0, xmm0
call fcn.1004c840
push 0
mov edx, esi
mov ecx, ebp
call fcn.10061d40
movss xmm0, dword [esp + 0x7c]
mov eax, dword [0x10159260]
movss dword [edi + 0x1550], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x1554], xmm0
mov eax, dword [eax + 0x1b94]
dec dword [eax + 0xc0]
call fcn.1004ccb0
jmp 0x10068fe5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push 0
push esi
push eax
push 0x40
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 0
push eax
xor edx, edx
mov dword [esp + 0x3c], 0
call fcn.1006aa80
test al, al
je 0x10069010
mov edx, dword [edi + 0x1f7c]
lea ecx, [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x18]
call fcn.10066760
mov bl, al
test bl, bl
je 0x10069014
mov eax, dword [0x10159260]
mov word [eax + 0x1bd8], 0x101
mov eax, dword [eax + 0x1b94]
or dword [eax + 0x11c], 4
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov bl, byte [esp + 0x78]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x58
ret 0x14