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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4c
mov eax, dword [0x1008b040]
xor eax, esp
mov dword [esp + 0xf48], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [esp + 0x28], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x10068eb7
comiss xmm0, dword [ebx + 0x20]
jae 0x10068eb7
mov esi, dword [0x10116ebc]
test esi, esi
je 0x100685b9
mov esi, dword [esi + 0x78]
jmp 0x100685bb
xor esi, esi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x38]
mov edi, dword [esi + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x100685f0
mov eax, dword [eax]
cmp eax, dword [ebx + 0xc]
jge 0x10068664
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [esi + 0xc]
mov dword [edx], 0
jmp 0x100685f7
mov dword [esp + 0xc], eax
lea edx, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0xc]
add eax, 0x1388
push edx
push 0
mov dword [esp + 0xf58], 0
lea edx, [esp + 0xf44]
mov dword [ecx], eax
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
mov dword [esp + 0xf48], 2
mov dword [esp + 0xf44], eax
mov dword [esp + 0xf4c], 1
mov dword [esp + 0xf50], 0x10000
mov dword [esp + 0xf54], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x10068eb7
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10068680
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x100686df
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
mov ecx, dword [esi]
add eax, 0x2710
push edx
mov dword [esi + 0x3c], eax
lea edx, [esp + 0xf40]
add eax, eax
mov dword [esp + 0xf44], 2
xorps xmm0, xmm0
mov dword [esp + 0xf40], eax
push 0
movlpd qword [esp + 0xf54], xmm0
mov dword [esp + 0xf4c], 2
mov dword [esp + 0xf50], 0x10000
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x10068eb7
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x10068eb7
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x10068eb7
cmp dword [ebx + 4], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
jle 0x1006878e
xor edi, edi
nop
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
inc edi
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
lea edx, [edx + eax*2]
mov dword [esp + 0x10], edx
cmp edi, dword [ebx + 4]
jl 0x10068730
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [esp + 0xf3c]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x10068eb7
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x10085730]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [esp + 0xf3c]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x20]
push 0
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [esp + 0xf40]
subss xmm0, xmm4
mov dword [eax + 4], 0
mov eax, dword [esp + 0xf40]
divss xmm2, xmm0
mov dword [eax + 8], 0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0xf40]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [esp + 0xf40]
subss xmm6, xmm3
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0xf40]
divss xmm0, xmm6
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x2c], 0
mov eax, dword [esp + 0xf40]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [esp + 0xf40]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [esp + 0xf40]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [esp + 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x50]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [esp + 0x2d0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [esp + 0x2e8]
push ecx
lea ecx, [esp + 0x2dc]
push ecx
lea ecx, [esp + 0x2dc]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [esp + 0x2ec]
push ecx
lea ecx, [esp + 0x2f4]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [esp + 0x2f4]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [esp + 0x2f8]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [esp + 0x308]
mov dword [esp + 0x310], 0x100
push ecx
lea ecx, [esp + 0x318]
mov dword [esp + 0x310], 0x100
push ecx
mov dword [esp + 0x310], 0x100
lea ecx, [esp + 0x304]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0x718]
push ecx
lea ecx, [esp + 0x308]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [esp + 0xf20]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [esp + 0x310]
push ecx
lea ecx, [esp + 0xb18]
push ecx
lea ecx, [esp + 0x30c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [esp + 0xf14]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [esp + 0xf24]
push ecx
lea ecx, [esp + 0xf34]
push ecx
lea ecx, [esp + 0xf20]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [esp + 0xf2c]
push ecx
lea ecx, [esp + 0xf2c]
push ecx
lea ecx, [esp + 0xf24]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [esp + 0xf34]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.10068410
movss xmm0, dword [ebx + 0x14]
xor ecx, ecx
movss xmm4, dword [ebx + 0x18]
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x10], xmm4
mov dword [esp + 0x18], esi
cmp dword [ebx + 4], ecx
jle 0x10068c3e
nop dword [eax + eax]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], 0
mov ebx, dword [eax + esi*4]
cmp dword [ebx], 0
jle 0x10068c1e
xor eax, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10068b4d
cmp eax, 0xffffffff
jne 0x10068b41
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.10068410
jmp 0x10068bec
push esi
push ebx
call eax
add esp, 8
jmp 0x10068bec
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x10068bf2
comiss xmm1, xmm0
jae 0x10068bf2
cvttss2si eax, xmm3
lea ecx, [esp + 0xf3c]
push ecx
push 1
push edi
mov dword [esp + 0xf48], eax
cvttss2si eax, xmm1
mov dword [esp + 0xf4c], eax
cvttss2si eax, xmm2
mov dword [esp + 0xf50], eax
cvttss2si eax, xmm0
mov dword [esp + 0xf54], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push 1
mov dword [esp + 0x34], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x18]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm0, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
jl 0x10068b20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
add ecx, dword [ebx + 0xc]
inc esi
add edx, dword [ebx + 0x18]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], esi
cmp esi, dword [ebx + 4]
jl 0x10068b00
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
push dword [esp + 0x4c]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [esp + 0x150]
push ecx
push dword [esp + 0x50]
push edi
call dword [eax + 0xb0]
push dword [esp + 0x2d0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [esp + 0x2d0]
test ecx, ecx
je 0x10068c86
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x2e8]
mov eax, dword [edi]
lea ecx, [esp + 0x2dc]
push ecx
push dword [esp + 0x2dc]
push edi
call dword [eax + 0x8c]
mov ecx, dword [esp + 0x2d4]
test ecx, ecx
je 0x10068cb6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x2ec]
mov eax, dword [edi]
push dword [esp + 0x2f4]
push edi
call dword [eax + 0x90]
mov ecx, dword [esp + 0x2f0]
test ecx, ecx
je 0x10068cde
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x2f4]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [esp + 0x2f4]
test ecx, ecx
je 0x10068d01
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x2f8]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x2f8]
test ecx, ecx
je 0x10068d24
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x308]
mov eax, dword [edi]
lea ecx, [esp + 0x318]
push ecx
push dword [esp + 0x304]
push edi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x2fc]
test ecx, ecx
je 0x10068d51
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x308]
xor esi, esi
test eax, eax
je 0x10068d7d
nop
mov ecx, dword [esp + esi*4 + 0x314]
test ecx, ecx
je 0x10068d78
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x308]
inc esi
cmp esi, eax
jb 0x10068d60
push dword [esp + 0x30c]
mov eax, dword [edi]
lea ecx, [esp + 0x718]
push ecx
push dword [esp + 0x308]
push edi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x300]
test ecx, ecx
je 0x10068daa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0xf20]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [esp + 0xf20]
test ecx, ecx
je 0x10068dcd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x310]
mov eax, dword [edi]
lea ecx, [esp + 0xb18]
push ecx
push dword [esp + 0x30c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x304]
test ecx, ecx
je 0x10068dfa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x30c]
xor esi, esi
test eax, eax
je 0x10068e2d
nop word [eax + eax]
mov ecx, dword [esp + esi*4 + 0x714]
test ecx, ecx
je 0x10068e28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x30c]
inc esi
cmp esi, eax
jb 0x10068e10
push dword [esp + 0xf14]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [esp + 0xf24]
mov eax, dword [edi]
push dword [esp + 0xf34]
push dword [esp + 0xf20]
push edi
call dword [eax + 0x4c]
mov ecx, dword [esp + 0xf18]
test ecx, ecx
je 0x10068e66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0xf2c]
push ecx
lea ecx, [esp + 0xf2c]
push ecx
lea ecx, [esp + 0xf24]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [esp + 0xf1c]
test ecx, ecx
je 0x10068e99
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0xf34]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [esp + 0xf34]
test ecx, ecx
je 0x10068eb7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0xf54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret