Function at 0x100806c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1019a00e], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
jne 0x1008072e
mov ebx, dword [0x1019a03c]
cmp dword [0x1027c524], ebx
je 0x1008072c
mov esi, dword [0x10278f08]
test esi, esi
je 0x100806f2
inc esi
jmp 0x100806f4
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
add ebx, 3
mov dword [ebp - 4], 0
call edi
lea eax, [ebp - 4]
mov dword [esi], ebx
push eax
push dword [ebp - 4]
push 4
push esi
call edi
mov eax, dword [0x1019a03c]
mov ebx, dword [ebp - 8]
mov dword [0x1027c524], eax
jmp 0x1008072e
mov ebx, ecx
mov eax, dword [0x1027850c]
test eax, eax
je 0x10080742
mov al, byte [eax + 0x20]
test al, al
jne 0x10080944
mov eax, dword [0x102786b4]
test al, 1
jne 0x10080761
mov ecx, dword [0x10278690]
or eax, 1
mov dword [0x102786b4], eax
mov dword [0x102786b0], ecx
jmp 0x10080767
mov ecx, dword [0x102786b0]
mov eax, dword [0x1019a080]
test byte [ecx + eax], 0x40
jne 0x10080944
mov eax, dword [0x1027c74c]
cmp byte [eax + 0x2c], 0
je 0x1008078b
cmp byte [eax + 0x2d], 0
jne 0x100808c0
mov ecx, dword [0x1027c750]
call fcn.1007a480
test al, al
jne 0x100808c0
mov eax, dword [0x1027c74c]
cmp byte [eax + 0x18], 0
jne 0x100807b9
cmp byte [eax + 0x19], 0
je 0x100807b9
cmp dword [eax + 0x1c], 0
jle 0x100808c0
cmp byte [0x10269db8], 0
je 0x100808c0
mov ecx, ebx
call fcn.10080390
mov ecx, dword [0x10279494]
mov edi, eax
movzx esi, byte [0x10269d90]
mov eax, dword [0x10279174]
test cl, 1
jne 0x100807f9
or ecx, 1
mov edx, eax
mov dword [0x10279494], ecx
mov dword [0x10279490], edx
jmp 0x100807ff
mov edx, dword [0x10279490]
test cl, 1
jne 0x10080815
or ecx, 1
mov edx, eax
mov dword [0x10279494], ecx
mov dword [0x10279490], edx
mov eax, dword [0x1019a080]
movss xmm0, dword [edx + eax]
movss xmm1, dword [edx + eax + 4]
mov eax, dword [0x10269dc0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x10170764]
comiss xmm0, xmm1
seta cl
test al, 1
je 0x1008084c
test cl, cl
jne 0x1008087b
test al, 2
je 0x10080868
test cl, cl
jne 0x10080868
mov ecx, dword [0x1027c734]
call fcn.1009cbe0
test al, al
jne 0x1008087b
mov eax, dword [0x10269dc0]
test al, 4
je 0x1008087d
mov ecx, dword [0x1027c734]
call fcn.1009cbe0
test al, al
jne 0x1008087d
mov esi, edi
mov ecx, dword [0x1027c734]
call fcn.1009cbe0
test al, al
jne 0x100808c9
cmp byte [0x10269db9], al
je 0x100808c9
mov eax, dword [0x10278494]
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x1c]
mov eax, dword [0x1027c520]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x100808bc
mov esi, 1
mov dword [0x1027c520], ebx
jmp 0x100808c9
mov esi, edi
jmp 0x100808c9
mov ecx, ebx
call fcn.10080390
mov esi, eax
mov ecx, dword [0x1027c74c]
cmp byte [ecx + 0x2c], 0
je 0x10080927
cmp byte [ecx + 0x2d], 0
je 0x10080927
mov bl, 1
mov al, byte [0x1019a014]
cmp byte [ecx + 0x18], 0
jne 0x10080944
test esi, esi
je 0x10080944
test bl, bl
jne 0x10080903
test al, al
je 0x10080903
mov ecx, dword [0x1027c750]
call fcn.1007a480
test al, al
je 0x10080944
mov eax, dword [0x1019a090]
mov byte [eax], 0
mov eax, dword [0x102784ec]
cmp dword [eax + 0x4d28], esi
jl 0x10080951
mov eax, dword [0x1019a090]
pop edi
pop esi
pop ebx
mov byte [eax], 1
mov esp, ebp
pop ebp
ret
xor bl, bl
cmp byte [0x10269dc5], bl
jne 0x100808dd
mov ecx, dword [0x1027c734]
call fcn.1009c860
mov ecx, dword [0x1027c74c]
jmp 0x100808e2
mov eax, dword [0x1019a090]
cmp byte [eax], 0
jne 0x10080951
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret