Function at 0x1008a930
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 [0x1023346c]
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp byte [esi + 0x34], 0
je 0x1008a953
cmp byte [esi + 0x35], 0
jne 0x1008ab99
cmp byte [0x101bb00e], 0
push edi
jne 0x1008a9b7
mov edi, dword [0x101bb038]
cmp dword [0x1022c5f4], edi
je 0x1008a9b7
mov eax, dword [0x10229018]
test eax, eax
je 0x1008a979
lea ebx, [eax + 1]
jmp 0x1008a97b
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 [0x101bb038]
mov esi, dword [0x1023346c]
mov ebx, dword [ebp - 8]
mov dword [0x1022c5f4], eax
cmp byte [0x101bb014], 0
jne 0x1008a9e0
cmp byte [esi + 0x36], 0
je 0x1008a9e0
mov ecx, dword [0x101bb088]
mov eax, dword [esi + 0x3c]
sub eax, dword [ecx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x1008a9e0
mov cl, 1
jmp 0x1008a9e2
xor cl, cl
mov eax, dword [0x10228698]
test eax, eax
je 0x1008a9f6
mov al, byte [eax + 0x20]
test al, al
jne 0x1008ab84
mov eax, dword [0x10228844]
test al, 1
jne 0x1008aa13
or eax, 1
mov dword [0x10228844], eax
mov eax, dword [0x10228820]
mov dword [0x10228840], eax
jmp 0x1008aa18
mov eax, dword [0x10228840]
mov edx, dword [0x101bb07c]
test byte [eax + edx], 0x40
jne 0x1008ab84
test cl, cl
jne 0x1008ab84
mov eax, dword [0x101bbb14]
cmp dword [eax + edx], 0
je 0x1008aaaa
cmp byte [esi + 0x34], cl
je 0x1008aa45
cmp byte [esi + 0x35], cl
jne 0x1008aaa1
mov ecx, dword [0x10233470]
call fcn.100848e0
test al, al
jne 0x1008aaa1
cmp byte [0x1022fe69], 0
mov eax, dword [0x1023346c]
je 0x1008aa86
cmp byte [eax + 0x1c], 0
jne 0x1008aa98
cmp byte [eax + 0x1d], 0
je 0x1008aa98
cmp dword [eax + 0x20], 0
jg 0x1008aa98
cmp byte [eax + 0xb], 0
jne 0x1008aa98
mov ecx, ebx
call fcn.1008a5b0
jmp 0x1008ab06
cmp byte [eax + 0x1c], 0
jne 0x1008aa98
cmp byte [eax + 0x1d], 0
je 0x1008aa98
cmp dword [eax + 0x20], 0
jle 0x1008aaa1
cmp byte [0x1022fe68], 0
jne 0x1008aaaa
mov ecx, ebx
call fcn.1008a5b0
jmp 0x1008ab06
movzx esi, byte [0x1022fe4d]
mov ecx, ebx
call fcn.1008a5b0
mov ecx, dword [0x1022fe6c]
mov edi, eax
sub ecx, 0
je 0x1008aaf6
sub ecx, 1
je 0x1008aaf2
sub ecx, 1
jne 0x1008ab08
mov eax, dword [0x10228620]
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x1c]
mov eax, dword [0x1022c5f0]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x1008aaf2
mov dword [0x1022c5f0], ebx
jmp 0x1008ab08
mov esi, edi
jmp 0x1008ab08
push dword [0x1022fe70]
push 1
call fcn.100646d0
add esp, 8
mov esi, eax
mov eax, dword [0x1023346c]
cmp byte [eax + 0x1c], 0
jne 0x1008ab8b
test esi, esi
je 0x1008ab8b
cmp byte [0x101bb014], 0
jne 0x1008ab59
mov eax, dword [0x1022890c]
test al, 1
jne 0x1008ab3f
mov ecx, dword [0x102288e0]
or eax, 1
mov dword [0x1022890c], eax
mov dword [0x10228908], ecx
jmp 0x1008ab45
mov ecx, dword [0x10228908]
mov eax, dword [0x101bb07c]
mov eax, dword [ecx + eax]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x1008ab68
mov ecx, dword [0x10233470]
call fcn.100848e0
test al, al
je 0x1008ab8b
mov eax, dword [0x10228678]
pop edi
cmp dword [eax + 0x4d30], esi
mov eax, dword [0x101bb08c]
setge cl
pop esi
pop ebx
mov byte [eax], cl
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x3c], 0
mov eax, dword [0x101bb08c]
cmp byte [eax], 0
jne 0x1008ab98
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret