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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6e20
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x100e3274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
movss xmm1, dword [0x100b8700]
movss xmm3, dword [0x100b8708]
movaps xmm6, xmm1
mov edi, dword [ebx + 0x14]
movaps xmm7, xmm1
mov cl, byte [ebx + 0xc]
movaps xmm5, xmm3
mov edx, dword [ebx + 0x10]
movaps xmm4, xmm3
mov eax, dword [ebx + 8]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm6
test edi, edi
jle 0x100788e6
add eax, 8
test cl, cl
mov ecx, edi
je 0x10078890
nop dword [eax]
nop word [eax + eax]
movsd xmm2, qword [eax - 8]
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
add eax, edx
movss xmm6, dword [ebp - 0x1c]
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm1, xmm1
comiss xmm6, xmm2
movss xmm6, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
jbe 0x10078850
movss dword [ebp - 0x1c], xmm2
comiss xmm6, xmm0
jbe 0x1007885d
movaps xmm6, xmm0
movss dword [ebp - 0x18], xmm6
comiss xmm7, xmm1
jbe 0x10078865
movaps xmm7, xmm1
comiss xmm2, xmm3
jbe 0x1007886d
movaps xmm3, xmm2
comiss xmm0, xmm5
jbe 0x10078875
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1007887d
movaps xmm4, xmm1
sub ecx, 1
jne 0x10078820
jmp 0x100788e6
movss xmm2, dword [eax - 8]
movss xmm6, dword [ebp - 0x1c]
movss xmm0, dword [eax - 4]
movss xmm1, dword [eax]
add eax, edx
comiss xmm6, xmm2
movss xmm6, dword [ebp - 0x18]
jbe 0x100788b4
movss dword [ebp - 0x1c], xmm2
comiss xmm6, xmm0
jbe 0x100788c1
movaps xmm6, xmm0
movss dword [ebp - 0x18], xmm6
comiss xmm7, xmm1
jbe 0x100788c9
movaps xmm7, xmm1
comiss xmm2, xmm3
jbe 0x100788d1
movaps xmm3, xmm2
comiss xmm0, xmm5
jbe 0x100788d9
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x100788e1
movaps xmm4, xmm1
sub ecx, 1
jne 0x10078890
movaps xmm1, xmm5
mov dword [ebp - 0x54], 0
subss xmm1, dword [ebp - 0x18]
movaps xmm2, xmm3
movaps xmm6, xmm4
subss xmm2, dword [ebp - 0x1c]
xor ecx, ecx
subss xmm6, xmm7
comiss xmm1, xmm2
jbe 0x10078929
comiss xmm6, xmm1
lea eax, [esi + 0x70]
mov edx, 2
mov dword [ebp - 0x34], eax
seta cl
inc ecx
mov dword [eax], ecx
xor eax, eax
comiss xmm6, xmm2
cmova edx, eax
jmp 0x10078945
comiss xmm6, xmm2
mov eax, 2
cmova ecx, eax
xor edx, edx
comiss xmm6, xmm1
lea eax, [esi + 0x70]
mov dword [eax], ecx
mov dword [ebp - 0x34], eax
setbe dl
inc edx
mov dword [esi + 0x68], edx
mov eax, 3
mov dword [ebp - 0x44], eax
cmp edx, ecx
jne 0x10078964
lea eax, [ecx + 1]
xor edx, edx
div dword [ebp - 0x44]
mov eax, 3
mov dword [esi + 0x68], edx
sub eax, edx
movss xmm0, dword [0x100b943c]
sub eax, ecx
mulss xmm2, xmm0
mov dword [esi + 0x6c], eax
inc eax
cdq
idiv dword [ebp - 0x44]
mulss xmm1, xmm0
mulss xmm6, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x58], xmm6
cmp edx, ecx
je 0x100789d5
movss xmm0, dword [0x100b82c0]
xorps xmm2, xmm0
xorps xmm1, xmm0
xorps xmm6, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x58], xmm6
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi], xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss xmm0, dword [0x100b849c]
lahf
test ah, 0x44
jnp 0x10078a04
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100b849c]
movss dword [ebp - 0x30], xmm2
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10078a1c
divss xmm0, xmm1
movaps xmm1, xmm0
movss dword [ebp - 0x20], xmm1
ucomiss xmm6, xmm2
lahf
test ah, 0x44
jnp 0x10078a39
movss xmm0, dword [0x100b849c]
divss xmm0, xmm6
movaps xmm6, xmm0
movss dword [ebp - 0x40], xmm6
addss xmm3, dword [ebp - 0x1c]
movss xmm0, dword [0x100daea8]
addss xmm4, xmm7
addss xmm5, dword [ebp - 0x18]
mulss xmm3, xmm0
mulss xmm5, xmm0
movss dword [esi + 0x10], xmm3
mulss xmm4, xmm0
movss dword [esi + 0x14], xmm5
movss dword [esi + 0x18], xmm4
mov dword [esi + 0x1c], 0
mov byte [ebp - 0x74], 1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0
test edi, edi
js 0x10078b2c
jle 0x10078b2c
mov eax, edi
shl eax, 4
push 0x10
push eax
call fcn.10076ef0
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x10078ada
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp - 0x78]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [edx + ecx - 0x10], xmm0
sub esi, 1
jne 0x10078ac2
mov esi, dword [ebp - 0x48]
lea eax, [esi + 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x10078af9
cmp byte [ebp - 0x74], 0
je 0x10078af9
push eax
call fcn.10076f00
mov edx, dword [ebp - 0x1c]
add esp, 4
movups xmm0, xmmword [ebp - 0x70]
mov byte [ebp - 0x74], 1
xor eax, eax
mov dword [ebp - 0x78], edx
mov ecx, edi
mov dword [ebp - 0x7c], edi
nop dword [eax + eax]
lea eax, [eax + 0x10]
movups xmmword [edx + eax - 0x10], xmm0
sub ecx, 1
je 0x10078b22
mov edx, dword [ebp - 0x78]
jmp 0x10078b10
movss xmm6, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x20]
cmp byte [ebx + 0xc], 0
mov eax, edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], 0
je 0x10078c07
test edi, edi
jle 0x10078ccd
mov eax, dword [ebx + 8]
xor edx, edx
movss xmm5, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x54], 0
nop
movsd xmm0, qword [eax + 8]
movaps xmm2, xmm6
movsd xmm3, qword [eax]
movsd xmm4, qword [eax - 8]
add eax, dword [ebx + 0x10]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x6c]
cvtpd2ps xmm3, xmm3
subss xmm0, dword [esi + 0x18]
subss xmm3, dword [esi + 0x14]
cvtpd2ps xmm4, xmm4
mulss xmm2, xmm0
movaps xmm0, xmm5
subss xmm4, dword [esi + 0x10]
mulss xmm1, xmm3
movss dword [ebp - 0x58], xmm2
mulss xmm0, xmm4
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [ebp - 0x20]
movss dword [ebp - 0x60], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 8], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x40]
add edx, 0x10
mov dword [ebp - 0x44], ecx
cmp ecx, edi
jl 0x10078b60
jmp 0x10078cca
test edi, edi
jle 0x10078ccd
mov eax, dword [ebx + 8]
xor edx, edx
movss xmm4, dword [ebp - 0x20]
add eax, 8
movss xmm5, dword [ebp - 0x30]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], eax
nop dword [eax + eax]
movss xmm0, dword [eax - 4]
movaps xmm3, xmm6
mov edi, dword [ebp - 0x40]
movss xmm2, dword [eax - 8]
subss xmm0, dword [esi + 0x14]
subss xmm2, dword [esi + 0x10]
movss xmm1, dword [edi]
subss xmm1, dword [esi + 0x18]
mov eax, dword [esi + 0x6c]
add edi, dword [ebx + 0x10]
mov dword [ebp - 0x40], edi
mov edi, dword [ebx + 0x14]
mulss xmm3, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x60], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 8], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x40]
add edx, 0x10
mov dword [ebp - 0x44], ecx
cmp ecx, edi
jl 0x10078c30
mov eax, dword [ebp - 0x80]
cmp eax, 1
jle 0x10078ce5
dec eax
lea ecx, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x11]
push eax
call fcn.100775e0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], edi
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x34], ecx
cmp edi, ecx
jl 0x10078d91
jle 0x10078d7e
cmp dword [esi + 0x58], edi
jge 0x10078d7e
test edi, edi
je 0x10078d27
lea eax, [edi*4]
push 0x10
push eax
call fcn.10076ef0
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, eax
jmp 0x10078d2c
xor edx, edx
mov dword [ebp - 0x44], edx
mov eax, dword [esi + 0x54]
xor ecx, ecx
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x10078d51
mov edi, eax
nop word [eax + eax]
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x10078d40
mov edi, dword [ebx + 0x14]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10078d6e
cmp byte [esi + 0x60], 0
je 0x10078d67
push eax
call fcn.10076f00
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov byte [esi + 0x60], 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], edi
cmp ecx, edi
jge 0x10078d91
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, edi
jl 0x10078d82
xor edx, edx
mov dword [esi + 0x54], edi
mov dword [ebp - 0x34], edx
test edi, edi
jle 0x10078e81
mov dword [ebp - 0x40], edx
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10078e2c
mov edi, dword [esi + 0x24]
test edi, edi
je 0x10078dbe
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
jmp 0x10078def
push 0x10
push 0xc
call fcn.10076ef0
mov ecx, dword [esi + 0x2c]
mov edi, eax
push 0x10
mov dword [edi + 4], ecx
imul ecx, ecx, 0x70
mov dword [edi + 8], 0
push ecx
call fcn.10076ef0
mov dword [edi], eax
add esp, 0x10
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov dword [esi + 0x20], edi
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x44], eax
cmp dword [edi + 4], edx
jle 0x10078e27
mov esi, dword [edi + 4]
nop
inc edx
mov dword [ebp - 0x30], 0
cmp edx, esi
lea ecx, [eax + 0x70]
mov esi, dword [ebp - 0x44]
mov eax, ecx
cmovge eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, ecx
mov esi, dword [edi + 4]
mov dword [ebp - 0x44], eax
cmp edx, esi
jl 0x10078e00
mov esi, dword [ebp - 0x48]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x40]
add dword [ebp - 0x40], 0x10
mov dword [esi + 0x28], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x68], 0xffffffff
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x78]
movups xmm0, xmmword [eax + edi]
mov edi, dword [ebx + 0x14]
movups xmmword [ecx + 0x58], xmm0
mov eax, dword [esi + 0x5c]
mov dword [eax + edx*4], ecx
inc edx
mov dword [ebp - 0x34], edx
cmp edx, edi
jl 0x10078da4
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x10078e97
cmp byte [ebp - 0x74], 0
je 0x10078e97
push eax
call fcn.10076f00
add esp, 4
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [esi + 0x34], eax
mov ecx, esi
lea eax, [edi + edi*2]
mov byte [ebp - 0x74], 1
add eax, eax
mov dword [ebp - 0x78], 0
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x70]
push eax
push edi
push 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x64], 0xfffffffd
movups xmmword [ebp - 0x70], xmm0
call fcn.10078f30
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], 1
test eax, eax
je 0x10078f12
cmp byte [ebp - 0x74], 0
je 0x10078f12
push eax
call fcn.10076f00
add esp, 4
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 0x10