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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x101733b8]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [0x101e252c]
mov dword [esp + 0x50], ecx
push esi
push edi
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
cmp ecx, edx
je 0x10066c9c
nop dword [eax + eax]
mov edi, dword [ecx]
mov dword [esp + 0x38], edi
test edi, edi
je 0x10066c8d
mov eax, dword [0x101e14f0]
mov esi, dword fs:[0x2c]
mov esi, dword [esi + eax*4]
mov eax, dword [0x101e26f4]
cmp eax, dword [esi + 4]
jle 0x1006682f
push 0x101e26f4
call fcn.100b5535
add esp, 4
cmp dword [0x101e26f4], 0xffffffff
jne 0x10066827
mov eax, dword [0x101e26fc]
push 0x101e26f4
mov dword [0x101e26f8], eax
call fcn.100b54eb
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x101e26f8]
cmp dword [eax + edi], 0
jne 0x10066c8d
mov eax, dword [0x101e26ec]
cmp eax, dword [esi + 4]
jle 0x10066878
push 0x101e26ec
call fcn.100b5535
add esp, 4
cmp dword [0x101e26ec], 0xffffffff
jne 0x10066878
mov eax, dword [0x101e2700]
push 0x101e26ec
mov dword [0x101e26f0], eax
call fcn.100b54eb
add esp, 4
mov eax, dword [0x101e26f0]
cmp dword [eax + edi], 0
jle 0x10066c85
cmp edi, dword [0x101e0948]
je 0x10066c85
mov eax, dword [0x101e29d4]
cmp eax, dword [esi + 4]
jle 0x100668cd
push 0x101e29d4
call fcn.100b5535
add esp, 4
cmp dword [0x101e29d4], 0xffffffff
jne 0x100668cd
mov eax, dword [0x101e28cc]
push 0x101e29d4
mov dword [0x101e29bc], eax
call fcn.100b54eb
add esp, 4
mov eax, dword [0x101e29bc]
mov eax, dword [eax + edi]
mov dword [esp + 0x18], eax
mov eax, dword [0x101e0948]
mov dword [esp + 0x14], eax
mov eax, dword [0x101e29d4]
cmp eax, dword [esi + 4]
jle 0x1006691c
push 0x101e29d4
call fcn.100b5535
add esp, 4
cmp dword [0x101e29d4], 0xffffffff
jne 0x1006691c
mov eax, dword [0x101e28cc]
push 0x101e29d4
mov dword [0x101e29bc], eax
call fcn.100b54eb
add esp, 4
mov eax, dword [0x101e29bc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edx + eax]
je 0x10066c85
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov esi, dword [0x101e2500]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0xd20
add eax, esi
mov dword [esp + 0x14], eax
cmp byte [eax], 0
je 0x10066c85
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x10066972
mov eax, dword [esp + 0x14]
add eax, 0xa4
jmp 0x1006697b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
movq xmm0, qword [eax]
lea edx, [esp + 0x18]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
movq qword [esp + 0x78], xmm0
mov esi, 0xd
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x101e2544]
mov dword [esp + 0x14], 0x3f800000
movss xmm0, dword [eax + 0x3468]
movss xmm1, dword [eax + 0x3464]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [0x1016d58c]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm0
cmovbe ecx, edx
xor edx, edx
movss xmm0, dword [ecx]
mov ecx, dword [0x101e2518]
divss xmm0, dword [ecx]
mulss xmm0, dword [0x1016d620]
subss xmm0, xmm1
cvttss2si ecx, xmm0
test ecx, ecx
cmovs ecx, edx
sub esi, ecx
mov dword [esp + 0x18], esi
cmp esi, 0xd
jle 0x10066a22
mov esi, 0xd
mov dword [esp + 0x18], esi
jmp 0x10066a30
test esi, esi
js 0x10066c9c
je 0x10066c9c
movq xmm0, qword [eax + 0x3464]
mov ecx, dword [eax + 0x346c]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], ecx
test esi, esi
jle 0x10066b69
mov edi, edx
mov ecx, dword [0x101e1d20]
inc edi
mov esi, dword fs:[0x2c]
mov edx, dword [0x101e14f0]
movd xmm2, edi
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [ecx + 0x20]
mov ecx, dword [esi + edx*4]
mov esi, dword [esp + 0x18]
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [eax + 0x3464]
mulss xmm0, dword [eax + 0x3468]
mulss xmm2, dword [eax + 0x346c]
mov eax, dword [0x101e0948]
movss dword [esp + 0x60], xmm1
addss xmm1, dword [0x101e080c]
movss dword [esp + 0x64], xmm0
addss xmm0, dword [0x101e0810]
movss dword [esp + 0x68], xmm2
addss xmm2, dword [0x101e0814]
mov dword [esp + 0x14], eax
mov eax, dword [0x101e2744]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm2
cmp eax, dword [ecx + 4]
jle 0x10066b16
push 0x101e2744
call fcn.100b5535
add esp, 4
cmp dword [0x101e2744], 0xffffffff
jne 0x10066b16
mov eax, dword [0x101e2734]
push 0x101e2744
mov dword [0x101e271c], eax
call fcn.100b54eb
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [0x101e271c]
mov eax, dword [ecx + eax]
mov dword [esp + 0x14], eax
and al, 1
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x38]
push eax
push dword [0x101e0948]
call fcn.10078e30
movq xmm0, qword [esp + 0x60]
mov eax, dword [esp + 0x68]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
cmp edi, esi
jge 0x10066b65
mov eax, dword [0x101e2544]
jmp 0x10066a52
mov edi, dword [esp + 0x38]
movss xmm2, dword [esp + 0x48]
lea ecx, [edi + 8]
movss xmm1, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x50]
addss xmm2, dword [0x101e080c]
addss xmm1, dword [0x101e0810]
addss xmm0, dword [0x101e0814]
mov eax, dword [ecx]
mov esi, dword [0x101e2550]
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm1
mov eax, dword [eax + 0x28]
movss dword [esp + 0x74], xmm0
call eax
imul edx, eax, 0x34b4
add edx, esi
mov dword [esp + 0x54], edx
je 0x10066c60
cmp dword [edx + 0x34b0], 0
je 0x10066c60
mov ecx, dword [edx + 0x34b0]
mov esi, dword [edx + 0x34ac]
add ecx, esi
mov eax, dword [edx + 0x34a0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x10066bf8
mov eax, dword [eax]
jmp 0x10066bfa
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ecx
je 0x10066c28
mov edi, eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
dec ecx
and ecx, esi
mov ecx, dword [eax + ecx*4]
call fcn.10086550
test al, al
jne 0x10066c20
inc esi
cmp esi, dword [esp + 0x14]
jne 0x10066c04
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x34ac]
add eax, dword [edx + 0x34b0]
cmp esi, eax
je 0x10066c60
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10066c50
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [eax + ecx*4]
jmp 0x10066c62
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [eax + ecx*4]
jmp 0x10066c62
xor esi, esi
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10066d61
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x28], eax
cmp eax, dword [edx + 0x28]
jne 0x10066cb2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 0xc
mov dword [esp + 0x1c], ecx
cmp ecx, edx
jne 0x100667d0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100b5418
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10066d24
mov ecx, dword [0x101e2528]
push edi
call fcn.1008e910
push ecx
push esi
push edi
call fcn.1008ecb0
lea eax, [esi + 0x1a4]
mov ecx, edi
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
lea eax, [esp + 0x34]
push eax
call fcn.10058330
push ecx
push dword [0x101e0948]
lea eax, [esp + 0x74]
push 0
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10088890
mov ecx, dword [0x101e2528]
push edi
mov byte [esp + 0x27], al
call fcn.1008efc0
mov al, byte [esp + 0x23]
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100b5418
mov esp, ebp
pop ebp
ret
push 0
push dword [eax]
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.10058330
push ecx
push dword [0x101e0948]
lea eax, [esp + 0x74]
push 0
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10088890
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100b5418
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x5c]
mov edx, dword fs:[0x2c]
movq xmm0, qword [esp + 0x78]
mov ecx, dword [0x101e29c8]
mov dword [esp + 0x130], eax
mov eax, dword [0x101e14f0]
movq qword [esp + 0x128], xmm0
mov esi, dword [edx + eax*4]
cmp ecx, dword [esi + 4]
jle 0x10066dcd
push 0x101e29c8
call fcn.100b5535
mov ecx, dword [0x101e29c8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10066dcd
mov eax, dword [0x101e285c]
push 0x101e29c8
mov dword [0x101e29b0], eax
call fcn.100b54eb
mov ecx, dword [0x101e29c8]
add esp, 4
mov eax, dword [0x101e29b0]
movss xmm3, dword [esp + 0x44]
movaps xmm0, xmm3
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x40]
addss xmm2, dword [eax + edi]
addss xmm1, dword [eax + edi + 4]
addss xmm0, dword [eax + edi + 8]
movss dword [esp + 0x134], xmm2
movss dword [esp + 0x138], xmm1
movss dword [esp + 0x13c], xmm0
cmp ecx, dword [esi + 4]
jle 0x10066e4e
push 0x101e29c8
call fcn.100b5535
add esp, 4
cmp dword [0x101e29c8], 0xffffffff
jne 0x10066e48
mov eax, dword [0x101e285c]
push 0x101e29c8
mov dword [0x101e29b0], eax
call fcn.100b54eb
add esp, 4
movss xmm3, dword [esp + 0x44]
mov eax, dword [0x101e29b0]
push 1
mov dword [esp + 0x30], 0x10169770
movss xmm0, dword [eax + edi + 8]
mulss xmm0, dword [0x1016d538]
addss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x144], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x148], xmm0
movss dword [esp + 0x14c], xmm3
call fcn.100b5b8d
mov edi, dword [0x101e1d14]
lea ecx, [esp + 0x84]
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
mov eax, dword [0x101e0948]
add esp, 4
mov dword [esp + 0x30], eax
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xf0], 0
movups xmmword [esp + 0xe0], xmm0
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10057d50
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x30]
push ecx
push 0x4600400b
push eax
mov ecx, edi
call esi
movss xmm0, dword [esp + 0xfc]
comiss xmm0, dword [0x1016d588]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
setae al
xor ecx, esp
call fcn.100b5418
mov esp, ebp
pop ebp
ret