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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a38f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
push esi
push edi
mov eax, dword [0x100c50e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
cmp dword [edi + 8], 0
jne 0x10076fed
cmp dword [esi + 0xac], 0
jle 0x10076fed
mov edx, 1
jmp 0x10076fef
xor edx, edx
mov eax, dword [esi + 0xd4]
movsd xmm0, qword [ebx + 0x24]
sub eax, edx
mov dword [ebp - 0x4c], edx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x10077aa2
cmp byte [ecx + 0x19], 0
mov edx, dword [ebx + 8]
mov eax, edx
mov dword [ebp - 0x2c], edx
je 0x10077025
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
cmp dword [edi + 0x8c], 2
sete cl
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 0xb8]
mov byte [ebp - 0x6c], cl
push dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x2c]
push dword [eax + 0x1e4]
call edx
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, edi
call dword [eax + 8]
cvttsd2si eax, qword [ebx + 0x1c]
lea ecx, [esi + 0x48]
mov dword [ebp - 0x30], ecx
cdq
idiv dword [ecx]
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 0x1c]
mov dword [ebp - 0x68], eax
cvttsd2si eax, qword [ebp - 0x118]
shr ecx, 0x1f
sub eax, dword [edi + 8]
add eax, dword [esi + 0xd4]
xor cl, 1
mov dword [ebp - 0x58], eax
jne 0x10077095
mov edx, dword [edi + 0x60]
shl edx, 4
add edx, dword [edi + 0x38]
mov eax, dword [edi + 0xb8]
mov edx, dword [edx]
push edx
mov dword [ebp - 0x40], edx
mov ecx, dword [eax + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [edi + 0xb8]
add edx, 4
mov dword [ebp - 0xbc], eax
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
movups xmm0, xmmword [ebx + 0x34]
sub dword [ebp - 0x40], eax
mov al, byte [esi + 0xd0]
movups xmmword [ebp - 0x98], xmm0
movups xmm0, xmmword [ebx + 0x44]
movups xmmword [ebp - 0x88], xmm0
test al, al
je 0x1007712d
movd xmm2, dword [esi + 0xd4]
movd xmm0, dword [esi + 0xb0]
movsd xmm1, qword [ebp - 0x88]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
subsd xmm1, xmm0
addsd xmm2, qword [ebx + 0x34]
movsd qword [ebp - 0x88], xmm1
movups xmm1, xmmword [ebp - 0x88]
movsd qword [ebp - 0x98], xmm2
movups xmm0, xmmword [ebp - 0x98]
jmp 0x10077144
movups xmm0, xmmword [ebx + 0x14]
movups xmm1, xmmword [ebx + 0x24]
movups xmmword [ebp - 0x98], xmm0
movsd xmm2, qword [ebp - 0x98]
mov ecx, dword [ebp - 0x18]
movups xmmword [ebp - 0x108], xmm1
movups xmmword [ebp - 0xf8], xmm0
cmp byte [ecx + 0x19], 0
jne 0x100771a4
test al, al
je 0x100771a4
mov ecx, dword [ebx + 8]
sub esp, 0x20
movups xmmword [ebp - 0xe0], xmm0
mov byte [ebp - 0x1a], 1
movd xmm0, dword [ebp - 0x4c]
mov eax, dword [ecx]
cvtdq2pd xmm0, xmm0
mov edx, dword [eax + 0xa8]
mov eax, esp
subsd xmm2, xmm0
movsd qword [ebp - 0xe0], xmm2
movups xmm0, xmmword [ebp - 0xe0]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
call edx
mov ecx, dword [ebp - 0x18]
jmp 0x100771a8
mov byte [ebp - 0x1a], 0
cmp byte [esi + 0x128], 0
je 0x100771b7
cmp dword [edi + 0x2c], 0x22
je 0x100771c6
cmp byte [esi + 0x130], 0
je 0x100771cc
cmp dword [edi + 0x2c], 0x23
jne 0x100771cc
mov byte [ebp - 0x11], 1
jmp 0x100771d0
mov byte [ebp - 0x11], 0
or eax, 0xffffffff
xor esi, esi
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x1c], 2
jne 0x10077248
cmp byte [ecx + 0x19], dl
jne 0x10077248
mov eax, 1
xor edi, edi
mov dword [ebp - 0x24], eax
nop word [eax + eax]
cmp edx, edi
je 0x1007721e
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x60], edx
jmp 0x10077234
lea eax, [ebp - 0x24]
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.1005d3a0
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x60]
add eax, eax
mov dword [ebp - 0x24], eax
cmp eax, 0x100
jle 0x10077210
mov dword [ebp - 0x48], edi
mov edi, dword [ebx + 0xc]
jmp 0x10077263
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1ff
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.1005d3a0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x60]
je 0x10077840
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x50], ecx
cmp byte [eax + 0x19], cl
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
jne 0x1007728f
mov ecx, eax
imul ecx, edx
mov dword [ebp - 0x50], ecx
imul eax, edx
mov ecx, edi
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x9c]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edx, dword [ebp - 0x38]
cmp edx, eax
jge 0x1007782e
nop dword [eax]
movd xmm1, dword [ebp - 0x24]
movsd xmm0, qword [ebx + 0x2c]
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x1007782e
mov ecx, dword [edi + 0x9c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [edi + 0x9c]
push eax
mov dword [ebp - 0x28], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x44], ecx
cmp edx, dword [ebp - 0x74]
je 0x100773b2
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xe8]
push edi
push edx
push eax
call fcn.1006e4a0
mov edi, dword [ebp - 0x54]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], eax
test edi, edi
je 0x10077361
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10077361
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10077361
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0xe4]
test edi, edi
je 0x1007738e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1007738e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x1007738e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x18]
push 0
push dword [edi + 0xb4]
push esi
push dword [ebx + 0x10]
push dword [ebp - 0x2c]
push edi
call fcn.1006e860
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x74], edx
test esi, esi
je 0x100777f4
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x78], 0
je 0x10077435
cmp edx, dword [ebp - 0xbc]
jne 0x10077435
mov edx, dword [esi + 0x48]
cmp edx, 1
je 0x10077431
cmp byte [eax + 0xfd], 0
je 0x10077431
test ecx, ecx
jg 0x100773e4
xor eax, eax
jmp 0x100773f7
cmp ecx, edx
jge 0x100773f4
mov eax, dword [esi + 8]
test eax, eax
je 0x100773f4
mov eax, dword [eax + ecx*4]
jmp 0x100773f7
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x40], eax
jl 0x10077422
lea eax, [ecx + 1]
test eax, eax
jg 0x10077407
xor eax, eax
jmp 0x1007741a
cmp eax, edx
jge 0x10077417
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10077417
mov eax, dword [ecx + eax*4]
jmp 0x1007741a
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x40], eax
jl 0x10077431
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x18]
jne 0x10077435
lea eax, [edx - 1]
cmp ecx, eax
jne 0x10077435
mov al, 1
jmp 0x10077437
xor al, al
movups xmm0, xmmword [ebp - 0xf8]
mov ecx, dword [ebp - 0x50]
mov byte [esi + 0x29], al
mov eax, dword [ebp - 0x30]
mov edx, dword [edi + 0xb8]
movups xmmword [ebp - 0x98], xmm0
add edx, 4
movups xmm0, xmmword [ebp - 0x108]
mov eax, dword [eax]
add eax, ecx
movups xmmword [ebp - 0x88], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x90], xmm0
movd xmm0, eax
mov eax, dword [edx]
cvtdq2pd xmm0, xmm0
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x28]
inc eax
push eax
push edx
movsd qword [ebp - 0x80], xmm0
call ecx
mov edx, dword [edi + 0xb8]
push dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x20], eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
cmp byte [ebp - 0x11], 0
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
movd xmm0, dword [ecx + 0x30]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [eax + 0x68]
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
jne 0x1007754a
mov edx, dword [ecx + 0x24]
cmp edi, eax
jge 0x100774e4
cmp edx, edi
jl 0x100774dc
cmp edx, eax
jl 0x100774ec
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x34], edx
jmp 0x10077512
cmp edx, edi
jge 0x1007751e
cmp edx, eax
jl 0x1007751e
sub edx, edi
cmp edx, dword [esi + 0x18]
jge 0x10077508
mov ecx, dword [esi + 0x34]
mov al, byte [edx + ecx]
mov byte [esi + 0x3c], al
mov al, byte [ebp - 0x19]
mov byte [edx + ecx], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x34], edx
cmp edi, eax
jge 0x10077524
cmp dword [ebp - 0x34], edi
jl 0x1007754a
cmp dword [ebp - 0x34], eax
jge 0x1007754a
jmp 0x1007752e
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], edi
jge 0x1007754a
cmp dword [ebp - 0x34], eax
jl 0x1007754a
sub edx, edi
cmp edx, dword [esi + 0x18]
jge 0x1007754a
mov ecx, dword [esi + 0x34]
mov al, byte [edx + ecx]
mov byte [esi + 0x3d], al
mov al, byte [ebp - 0x19]
mov byte [edx + ecx], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx + 0x24]
cmp edx, edi
jl 0x10077556
cmp dword [ecx + 0x28], eax
jle 0x1007755f
cmp dword [ecx + 0x28], edi
jl 0x10077566
cmp edx, eax
jg 0x10077566
cvttsd2si eax, xmm0
mov dword [esi + 0x24], eax
cmp dword [ebp - 0x4c], 0
movups xmm1, xmmword [ebp - 0x88]
movups xmm0, xmmword [ebp - 0x98]
je 0x100775e8
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x19], 0
jne 0x10077591
cmp dword [eax + 0x1c], 2
jge 0x100775e8
mov eax, dword [ebp - 0x3c]
test byte [eax], 1
je 0x100775e8
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x2c]
movups xmmword [ebp - 0xe0], xmm0
mov eax, dword [eax + 0x14]
mov edx, dword [ecx]
movups xmmword [ebp - 0xd0], xmm1
push dword [eax + 0xf5c]
movsd qword [ebp - 0xd0], xmm0
subsd xmm0, qword [0x100ba990]
sub esp, 0x20
mov eax, esp
movsd qword [ebp - 0xe0], xmm0
movups xmm0, xmmword [ebp - 0xe0]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [eax + 0x10], xmm0
call dword [edx + 0x48]
mov ecx, dword [ebx + 0xc]
call fcn.1002b460
test al, al
je 0x10077600
mov edx, dword [ebx + 0x10]
push esi
call fcn.1006f5a0
mov ecx, dword [ebx + 0xc]
add esp, 4
mov eax, dword [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x98]
push dword [eax]
push dword [ebp - 0x44]
sub esp, 0x20
mov eax, esp
push dword [ebp - 0x58]
movups xmmword [eax], xmm0
push dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x88]
push dword [ebp - 0x28]
movups xmmword [eax + 0x10], xmm0
push esi
push dword [ebx + 0x10]
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
call fcn.10076800
cmp byte [ebp - 0x11], 0
mov ecx, dword [ebx + 0xc]
jne 0x100776ae
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx + 0x24]
cmp edi, eax
jge 0x1007765d
cmp edx, edi
jl 0x10077656
cmp edx, eax
jl 0x10077665
mov edx, dword [ecx + 0x28]
mov eax, edx
jmp 0x10077682
cmp edx, edi
jge 0x1007768d
cmp edx, eax
jl 0x1007768d
sub edx, edi
cmp edx, dword [esi + 0x18]
jge 0x10077678
mov ecx, dword [esi + 0x34]
mov al, byte [esi + 0x3c]
mov byte [edx + ecx], al
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x28]
mov eax, edx
cmp edi, dword [ebp - 0x20]
jge 0x10077692
cmp eax, edi
jl 0x100776ae
cmp eax, dword [ebp - 0x20]
jge 0x100776ae
jmp 0x1007769b
mov edx, dword [ecx + 0x28]
mov eax, edx
cmp eax, edi
jge 0x100776ae
cmp eax, dword [ebp - 0x20]
jl 0x100776ae
sub edx, edi
cmp edx, dword [esi + 0x18]
jge 0x100776ae
mov ecx, dword [esi + 0x34]
mov al, byte [esi + 0x3d]
mov byte [edx + ecx], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x44]
mov dword [esi + 0x24], 0
mov edx, dword [eax]
mov eax, edx
shr eax, 7
test al, 1
je 0x100776fa
movups xmm0, xmmword [ebp - 0x98]
sub esp, 0x20
mov edx, ecx
mov ecx, dword [ebp - 0x2c]
mov eax, esp
push edi
push dword [ebp - 0x28]
movups xmmword [eax], xmm0
push esi
movups xmm0, xmmword [ebp - 0x88]
push dword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm0
call fcn.10074f30
mov eax, dword [ebp - 0x3c]
add esp, 0x30
mov edx, dword [eax]
shr edx, 8
test dl, 1
je 0x10077739
movups xmm0, xmmword [ebp - 0x98]
mov ecx, dword [ebx + 0xc]
sub esp, 0x20
mov eax, esp
push edi
push dword [ebp - 0x58]
mov edi, dword [ebx + 0x10]
push dword [ebp - 0x28]
movups xmmword [eax], xmm0
push esi
movups xmm0, xmmword [ebp - 0x88]
push edi
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
movups xmmword [eax + 0x10], xmm0
call fcn.10072af0
jmp 0x1007773c
mov edi, dword [ebx + 0x10]
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x19], 0
je 0x100777da
mov edx, dword [edi + 0xd4]
lea ecx, [ebp - 0xa8]
sub edx, dword [ebp - 0x4c]
push 0
call fcn.1000a9f0
movd xmm0, dword [edi + 0xb0]
add esp, 4
mov eax, dword [ebp - 0x30]
movsd xmm1, qword [ebx + 0x44]
mov ecx, dword [ebp - 0x24]
cvtdq2pd xmm0, xmm0
mov eax, dword [eax]
add eax, ecx
push eax
subsd xmm1, xmm0
cvttsd2si eax, xmm1
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.1000aa20
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xb4]
push dword [edi + 0x28]
movups xmm0, xmmword [ebp - 0xa8]
mov ecx, dword [ebx + 8]
sub esp, 0x10
mov eax, esp
sub esp, 0x20
mov edx, dword [ecx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x138]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x128]
movups xmmword [eax + 0x10], xmm0
call dword [edx + 0x64]
jmp 0x100777dc
mov edi, eax
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x18]
cvttsd2si ecx, qword [eax + ecx*8]
mov eax, dword [edi + 0x20]
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x20], eax
jmp 0x100777f7
mov edi, dword [ebp - 0x18]
cmp byte [edi + 0x19], 0
mov ecx, dword [ebp - 0x30]
jne 0x10077808
mov eax, dword [ebp - 0x50]
add eax, dword [ecx]
mov dword [ebp - 0x50], eax
mov edi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x24]
add eax, dword [ecx]
inc dword [ebp - 0x38]
mov ecx, dword [edi + 0x9c]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [ebp - 0x38]
cmp edx, eax
jl 0x100772c0
mov edx, dword [ebp - 0x3c]
add edx, 4
mov dword [ebp - 0x3c], edx
cmp edx, dword [ebp - 0x60]
jne 0x10077272
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test ecx, ecx
je 0x10077877
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10077877
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x54]
lock xadd dword [edx + 8], esi
dec esi
jne 0x10077877
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov edx, dword [ebx + 0x10]
lea eax, [ebx + 0x34]
lea esi, [ebx + 0x14]
mov cl, byte [edx + 0xd0]
test cl, cl
cmove eax, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xa8], xmm0
movd xmm0, dword [edx + 0xd4]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0xb8], xmm0
je 0x100778be
mov eax, dword [edx + 0xb0]
jmp 0x100778c0
xor eax, eax
mov ecx, dword [ebx + 0xc]
movsd xmm1, qword [ebp - 0xa8]
mov edi, dword [edi + 0x9c]
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + 4]
subsd xmm1, xmm0
movsd qword [ebp - 0xa8], xmm1
call eax
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
mov edx, dword [edx + 0xc]
call edx
mov ecx, dword [ebp - 0x30]
sub eax, esi
movsd xmm0, qword [ebp - 0xa0]
mov esi, dword [ebx + 8]
mov ecx, dword [ecx]
imul ecx, eax
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
movsd qword [ebp - 0xb0], xmm1
jbe 0x10077a5f
mov edi, dword [ebx + 0x10]
mov ecx, esi
movups xmm0, xmmword [ebp - 0xb8]
mov edx, dword [esi]
mov eax, dword [edi + 0x14]
push dword [eax + 0xf5c]
sub esp, 0x20
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x10], xmm0
call dword [edx + 0x48]
mov eax, dword [edi + 0x138]
cmp eax, 1
jne 0x100779c2
movd xmm0, dword [edi + 0x13c]
mov ecx, esi
cvtdq2pd xmm0, xmm0
mov edx, dword [esi]
push dword [edi + 0x140]
mulsd xmm0, qword [edi + 0x68]
sub esp, 0x20
cvttsd2si eax, xmm0
add eax, dword [ebp - 0x58]
movd xmm0, eax
mov eax, esp
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0xb8], xmm0
addsd xmm0, qword [0x100ba990]
movsd qword [ebp - 0xa8], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x10], xmm0
call dword [edx + 0x48]
jmp 0x10077a5f
cmp eax, 3
jne 0x10077a5f
mov eax, dword [edi + 0x148]
xor esi, esi
mov ecx, dword [edi + 0x144]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x10077a5c
mov eax, dword [ecx + esi*8]
test eax, eax
js 0x10077a46
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov edx, dword [ebx + 8]
mov edx, dword [edx]
push dword [ecx + esi*8 + 4]
mulsd xmm0, qword [edi + 0x68]
mov ecx, dword [ebx + 8]
sub esp, 0x20
cvttsd2si eax, xmm0
add eax, dword [ebp - 0x58]
movd xmm0, eax
mov eax, esp
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0xb8], xmm0
addsd xmm0, qword [0x100ba990]
movsd qword [ebp - 0xa8], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x10], xmm0
call dword [edx + 0x48]
mov eax, dword [edi + 0x148]
inc esi
mov ecx, dword [edi + 0x144]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100779e2
mov esi, dword [ebx + 8]
cmp byte [ebp - 0x1a], 0
je 0x10077a6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xac]
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x10077aa2
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10077a98
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077ab8
push ecx
push edx
call fcn.1008376a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x4c
call fcn.10089306
int3