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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1019b00e], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
jne 0x10081d2e
mov ebx, dword [0x1019b03c]
cmp dword [0x1026ba74], ebx
je 0x10081d2c
mov esi, dword [0x10268468]
test esi, esi
je 0x10081cf2
inc esi
jmp 0x10081cf4
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 [0x1019b03c]
mov ebx, dword [ebp - 8]
mov dword [0x1026ba74], eax
jmp 0x10081d2e
mov ebx, ecx
mov eax, dword [0x10267a5c]
test eax, eax
je 0x10081d42
mov al, byte [eax + 0x20]
test al, al
jne 0x10081f44
mov eax, dword [0x10267c04]
test al, 1
jne 0x10081d61
mov ecx, dword [0x10267be0]
or eax, 1
mov dword [0x10267c04], eax
mov dword [0x10267c00], ecx
jmp 0x10081d67
mov ecx, dword [0x10267c00]
mov eax, dword [0x1019b080]
test byte [ecx + eax], 0x40
jne 0x10081f44
mov eax, dword [0x1026bc6c]
cmp byte [eax + 0x2c], 0
je 0x10081d8b
cmp byte [eax + 0x2d], 0
jne 0x10081ec0
mov ecx, dword [0x1026bc70]
call fcn.1007bb50
test al, al
jne 0x10081ec0
mov eax, dword [0x1026bc6c]
cmp byte [eax + 0x18], 0
jne 0x10081db9
cmp byte [eax + 0x19], 0
je 0x10081db9
cmp dword [eax + 0x1c], 0
jle 0x10081ec0
cmp byte [0x10259428], 0
je 0x10081ec0
mov ecx, ebx
call fcn.10081970
mov ecx, dword [0x102689f4]
mov edi, eax
movzx esi, byte [0x10259400]
mov eax, dword [0x102686d4]
test cl, 1
jne 0x10081df9
or ecx, 1
mov edx, eax
mov dword [0x102689f4], ecx
mov dword [0x102689f0], edx
jmp 0x10081dff
mov edx, dword [0x102689f0]
test cl, 1
jne 0x10081e15
or ecx, 1
mov edx, eax
mov dword [0x102689f4], ecx
mov dword [0x102689f0], edx
mov eax, dword [0x1019b080]
movss xmm0, dword [edx + eax]
movss xmm1, dword [edx + eax + 4]
mov eax, dword [0x10259430]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x10171704]
comiss xmm0, xmm1
seta cl
test al, 1
je 0x10081e4c
test cl, cl
jne 0x10081e7b
test al, 2
je 0x10081e68
test cl, cl
jne 0x10081e68
mov ecx, dword [0x1026bc54]
call fcn.1009de20
test al, al
jne 0x10081e7b
mov eax, dword [0x10259430]
test al, 4
je 0x10081e7d
mov ecx, dword [0x1026bc54]
call fcn.1009de20
test al, al
jne 0x10081e7d
mov esi, edi
mov ecx, dword [0x1026bc54]
call fcn.1009de20
test al, al
jne 0x10081ec9
cmp byte [0x10259429], al
je 0x10081ec9
mov eax, dword [0x102679e4]
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x1c]
mov eax, dword [0x1026ba70]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x10081ebc
mov esi, 1
mov dword [0x1026ba70], ebx
jmp 0x10081ec9
mov esi, edi
jmp 0x10081ec9
mov ecx, ebx
call fcn.10081970
mov esi, eax
mov ecx, dword [0x1026bc6c]
cmp byte [ecx + 0x2c], 0
je 0x10081f27
cmp byte [ecx + 0x2d], 0
je 0x10081f27
mov bl, 1
mov al, byte [0x1019b014]
cmp byte [ecx + 0x18], 0
jne 0x10081f44
test esi, esi
je 0x10081f44
test bl, bl
jne 0x10081f03
test al, al
je 0x10081f03
mov ecx, dword [0x1026bc70]
call fcn.1007bb50
test al, al
je 0x10081f44
mov eax, dword [0x1019b090]
mov byte [eax], 0
mov eax, dword [0x10267a3c]
cmp dword [eax + 0x4d30], esi
jl 0x10081f51
mov eax, dword [0x1019b090]
pop edi
pop esi
pop ebx
mov byte [eax], 1
mov esp, ebp
pop ebp
ret
xor bl, bl
cmp byte [0x10259435], bl
jne 0x10081edd
mov ecx, dword [0x1026bc54]
call fcn.1009daa0
mov ecx, dword [0x1026bc6c]
jmp 0x10081ee2
mov eax, dword [0x1019b090]
cmp byte [eax], 0
jne 0x10081f51
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret