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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x102782dc]
mov dword [ebp - 8], ecx
cmp byte [esi + 0x2c], 0
je 0x10081b50
cmp byte [esi + 0x2d], 0
jne 0x10081d85
cmp byte [0x101ac00e], 0
push ebx
push edi
jne 0x10081bb2
mov edi, dword [0x101ac038]
cmp dword [0x102780c4], edi
je 0x10081bb2
mov eax, dword [0x10274ae8]
test eax, eax
je 0x10081b77
lea ebx, [eax + 1]
jmp 0x10081b79
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push ebx
add edi, 3
mov dword [ebp - 4], 0
call esi
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call esi
mov eax, dword [0x101ac038]
mov esi, dword [0x102782dc]
mov dword [0x102780c4], eax
mov bl, byte [0x101ac013]
test bl, bl
jne 0x10081bdb
cmp byte [esi + 0x2e], bl
je 0x10081bdb
mov ecx, dword [0x101ac088]
mov eax, dword [esi + 0x34]
sub eax, dword [ecx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x10081bdb
mov cl, 1
jmp 0x10081bdd
xor cl, cl
mov eax, dword [0x102740ac]
test eax, eax
je 0x10081bf1
mov al, byte [eax + 0x20]
test al, al
jne 0x10081d6f
mov eax, dword [0x10274274]
test al, 1
jne 0x10081c0e
or eax, 1
mov dword [0x10274274], eax
mov eax, dword [0x10274250]
mov dword [0x10274270], eax
jmp 0x10081c13
mov eax, dword [0x10274270]
mov edi, dword [0x101ac07c]
test byte [eax + edi], 0x40
jne 0x10081d6f
test cl, cl
jne 0x10081d6f
mov eax, dword [0x10258560]
mov edi, dword [eax + edi]
test edi, edi
je 0x10081c84
cmp byte [esi + 0x2c], cl
je 0x10081c41
cmp byte [esi + 0x2d], cl
jne 0x10081c78
mov ecx, dword [0x102782e0]
call fcn.1007bbf0
test al, al
jne 0x10081c78
cmp byte [edi + 0x109], al
jne 0x10081c78
mov eax, dword [0x102782dc]
cmp byte [eax + 0x18], 0
jne 0x10081c6f
cmp byte [eax + 0x19], 0
je 0x10081c6f
cmp dword [eax + 0x1c], 0
jle 0x10081c78
cmp byte [0x102662c8], 0
jne 0x10081c84
mov ecx, dword [ebp - 8]
call fcn.100817d0
mov esi, eax
jmp case.default.0x10081ca9
movzx eax, byte [0x102662ac]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
call fcn.100817d0
movzx esi, byte [0x102662ac]
mov edi, eax
mov eax, dword [0x102662cc]
cmp eax, 3
ja case.default.0x10081ca9
jmp dword [eax*4 + 0x10081d8c]
mov esi, 1
jmp case.default.0x10081ca9
push dword [0x102662d0]
push 1
call fcn.10064a60
add esp, 8
mov esi, eax
jmp case.default.0x10081ca9
mov eax, dword [0x10274034]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x102780c0]
sub eax, ecx
mov dword [ebp - 8], ecx
cdq
lea ecx, [edi + 1]
xor eax, edx
sub eax, edx
cmp eax, ecx
jle case.0x10081ca9.2
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [0x102780c0], eax
jmp case.default.0x10081ca9
mov esi, edi
mov eax, dword [0x102782dc]
cmp byte [eax + 0x18], 0
jne 0x10081d76
test esi, esi
je 0x10081d76
test bl, bl
jne 0x10081d44
mov eax, dword [0x1027433c]
test al, 1
jne 0x10081d2a
mov ecx, dword [0x10274310]
or eax, 1
mov dword [0x1027433c], eax
mov dword [0x10274338], ecx
jmp 0x10081d30
mov ecx, dword [0x10274338]
mov eax, dword [0x101ac07c]
mov eax, dword [ecx + eax]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x10081d53
mov ecx, dword [0x102782e0]
call fcn.1007bbf0
test al, al
je 0x10081d76
mov eax, dword [0x1027408c]
pop edi
pop ebx
cmp dword [eax + 0x4d30], esi
mov eax, dword [0x101ac08c]
setge cl
pop esi
mov byte [eax], cl
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x34], 0
mov eax, dword [0x101ac08c]
cmp byte [eax], 0
jne 0x10081d83
mov byte [eax], 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret