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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1025767c]
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp byte [esi + 0x34], 0
je 0x10082ae3
cmp byte [esi + 0x35], 0
jne 0x10082d10
cmp byte [0x1018c00f], 0
push edi
jne 0x10082b47
mov edi, dword [0x1018c038]
cmp dword [0x10250714], edi
je 0x10082b47
mov eax, dword [0x1024d140]
test eax, eax
je 0x10082b09
lea ebx, [eax + 1]
jmp 0x10082b0b
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 [0x1018c038]
mov esi, dword [0x1025767c]
mov ebx, dword [ebp - 8]
mov dword [0x10250714], eax
cmp byte [0x1018c014], 0
jne 0x10082b70
cmp byte [esi + 0x36], 0
je 0x10082b70
mov ecx, dword [0x1018c088]
mov eax, dword [esi + 0x3c]
sub eax, dword [ecx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x10082b70
mov cl, 1
jmp 0x10082b72
xor cl, cl
mov eax, dword [0x1024c72c]
test eax, eax
je 0x10082b86
mov al, byte [eax + 0x20]
test al, al
jne 0x10082cfb
mov eax, dword [0x1024c8f4]
test al, 1
jne 0x10082ba3
or eax, 1
mov dword [0x1024c8f4], eax
mov eax, dword [0x1024c8d0]
mov dword [0x1024c8f0], eax
jmp 0x10082ba8
mov eax, dword [0x1024c8f0]
mov edi, dword [0x1018c07c]
test byte [eax + edi], 0x40
jne 0x10082cfb
test cl, cl
jne 0x10082cfb
mov eax, dword [0x10238560]
mov edi, dword [eax + edi]
test edi, edi
je 0x10082c1e
cmp byte [esi + 0x34], cl
je 0x10082bd6
cmp byte [esi + 0x35], cl
jne 0x10082c13
mov ecx, dword [0x10257680]
call fcn.1007cbd0
test al, al
jne 0x10082c13
cmp byte [edi + 0x109], al
jne 0x10082c13
mov eax, dword [0x1025767c]
cmp byte [eax + 0x1c], 0
jne 0x10082c0a
cmp byte [eax + 0x1d], 0
je 0x10082c0a
cmp dword [eax + 0x20], 0
jg 0x10082c0a
cmp byte [eax + 0xb], 0
je 0x10082c13
cmp byte [0x10254040], 0
jne 0x10082c1e
mov ecx, ebx
call fcn.10082750
mov esi, eax
jmp case.default.0x10082c38
movzx esi, byte [0x10254024]
mov ecx, ebx
call fcn.10082750
mov edi, eax
mov eax, dword [0x10254044]
cmp eax, 3
ja case.default.0x10082c38
jmp dword [eax*4 + 0x10082d18]
mov esi, 1
jmp case.default.0x10082c38
push dword [0x10254048]
push 1
call fcn.100644f0
add esp, 8
mov esi, eax
jmp case.default.0x10082c38
mov eax, dword [0x1024c6b4]
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x1c]
mov eax, dword [0x10250710]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle case.0x10082c38.2
mov dword [0x10250710], ebx
jmp case.default.0x10082c38
mov esi, edi
mov eax, dword [0x1025767c]
cmp byte [eax + 0x1c], 0
jne 0x10082d02
test esi, esi
je 0x10082d02
cmp byte [0x1018c014], 0
jne 0x10082cd0
mov eax, dword [0x1024c9bc]
test al, 1
jne 0x10082cb6
mov ecx, dword [0x1024c990]
or eax, 1
mov dword [0x1024c9bc], eax
mov dword [0x1024c9b8], ecx
jmp 0x10082cbc
mov ecx, dword [0x1024c9b8]
mov eax, dword [0x1018c07c]
mov eax, dword [ecx + eax]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x10082cdf
mov ecx, dword [0x10257680]
call fcn.1007cbd0
test al, al
je 0x10082d02
mov eax, dword [0x1024c70c]
pop edi
cmp dword [eax + 0x4d30], esi
mov eax, dword [0x1018c08c]
setge cl
pop esi
pop ebx
mov byte [eax], cl
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x3c], 0
mov eax, dword [0x1018c08c]
cmp byte [eax], 0
jne 0x10082d0f
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret