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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
sub eax, 5
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp + 0xc], eax
cmp byte [ebx], 0xe9
push edi
mov dword [ebp - 0x10], esi
jne 0x100185d8
push 5
mov dword [esi + 0x10], 5
call fcn.1003c0aa
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 5
mov ecx, ebx
call fcn.1001b010
mov al, byte [ebx]
xor edi, edi
cmp al, 0xe8
je 0x10018529
cmp al, 0xe9
je 0x10018529
cmp al, 0xff
jne 0x10018531
mov eax, dword [ebx + 2]
mov edi, dword [eax]
jmp 0x10018531
mov edi, dword [ebx + 1]
lea eax, [ebx + 5]
add edi, eax
mov ecx, ebx
call fcn.1001b080
mov esi, dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
sub edi, esi
push esi
sub edi, 5
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [esi], 0xe9
push eax
push dword [ebp - 8]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov esi, dword [ecx + 0xc]
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [esi], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push ebx
call edi
lea eax, [ebp - 8]
mov byte [ebx], 0xe9
push eax
push dword [ebp - 8]
push 1
push ebx
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea esi, [ebx + 1]
push esi
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 5
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.1003c0aa
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push 0x40
add ecx, 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ebx, dword [esi + 0x10]
mov esi, dword [esi]
push eax
mov edi, dword [ecx + 0xc]
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
push edi
call fcn.10032a10
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov edi, ebx
mov ecx, dword [eax + 0x10]
sub edi, ecx
mov eax, dword [eax + 0xc]
sub edi, eax
lea esi, [ecx + eax]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [esi], 0xe9
push eax
push dword [ebp - 8]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
inc ecx
lea eax, [ebp - 8]
add esi, ecx
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [esi], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push ebx
call edi
lea eax, [ebp - 8]
mov byte [ebx], 0xe9
push eax
push dword [ebp - 8]
push 1
push ebx
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea esi, [ebx + 1]
push esi
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0x10]
cmp edi, 5
jle 0x10018714
lea eax, [ebp - 8]
add edi, 0xfffffffb
push eax
push 0x40
lea esi, [ebx + 5]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push esi
call ebx
push edi
push 0x90
push esi
call fcn.10032f90
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031260
mov esp, ebp
pop ebp
ret 8