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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push esi
xor esi, esi
test eax, eax
je 0x100118b2
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100118bb
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100118c4
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10040d94], eax
je 0x100118de
mov eax, 0x10dd
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x10040da4]
test eax, eax
jne 0x10011b89
mov eax, dword [ebp + 8]
test eax, eax
jne 0x100118fe
mov eax, 6
pop esi
mov esp, ebp
pop ebp
ret 0x18
push edi
mov edi, dword [eax]
test edi, edi
jne 0x1001191f
mov dword [0x10040da8], eax
lea eax, [edi + 6]
pop edi
mov dword [0x10040da4], 6
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov al, byte [edi]
push ebx
cmp al, 0xff
jne 0x10011949
cmp byte [edi + 1], 0x25
jne 0x10011949
mov ebx, dword [edi + 2]
push ebx
push edi
call fcn.100117c0
add esp, 8
test al, al
je 0x10011963
mov edi, dword [ebx]
jmp 0x10011963
cmp al, 0xeb
jne 0x10011963
movsx eax, byte [edi + 1]
add edi, 2
add edi, eax
cmp byte [edi], 0xe9
jne 0x10011963
mov eax, dword [edi + 1]
add edi, 5
add edi, eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100119ae
mov al, byte [ebx]
cmp al, 0xff
jne 0x10011991
cmp byte [ebx + 1], 0x25
jne 0x10011991
mov eax, dword [ebx + 2]
push eax
push ebx
mov dword [ebp - 0x10], eax
call fcn.100117c0
add esp, 8
test al, al
je 0x100119b1
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
jmp 0x100119ae
cmp al, 0xeb
jne 0x100119b1
movsx eax, byte [ebx + 1]
add ebx, 2
add ebx, eax
mov dword [ebp + 0xc], ebx
cmp byte [ebx], 0xe9
jne 0x100119b1
mov eax, dword [ebx + 1]
add ebx, 5
add ebx, eax
mov dword [ebp + 0xc], ebx
cmp ebx, edi
jne 0x100119c6
cmp dword [0x10040da0], esi
jne 0x10011b38
jmp 0x10011b10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100119cf
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100119d8
mov dword [eax], ebx
push 0x18
call fcn.1001381b
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x100119f1
lea esi, [eax + 8]
jmp 0x10011b10
push edi
call fcn.10011440
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x10011a0b
lea esi, [eax + 8]
jmp 0x10011b10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10011a14
mov dword [eax], ecx
mov esi, edi
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
cmp ebx, 5
jl 0x10011a24
test eax, eax
jle 0x10011a6a
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], 0
cmp ebx, 5
jl 0x10011a37
dec eax
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x14]
push eax
push 0
push esi
lea eax, [ebx + ecx]
push eax
call fcn.10012640
cmp dword [ebp + 0x14], 0
mov esi, eax
jne 0x10011a67
push dword [ebp + 0x18]
mov ebx, esi
sub ebx, edi
call fcn.10011650
mov ecx, dword [ebp - 4]
add esp, 4
test eax, eax
je 0x10011a18
jmp 0x10011a6a
mov ecx, dword [ebp - 4]
cmp ebx, 5
jge 0x10011a86
cmp dword [0x10040da0], 0
mov esi, 9
jne 0x10011b16
jmp 0x10011b10
cmp ebx, 0x12
jbe 0x10011a92
mov esi, 6
jmp 0x10011b10
mov eax, dword [ebp + 0xc]
lea esi, [edi + ebx]
mov dword [ecx + 0x1c], eax
lea edx, [ecx + 0x17]
mov dword [ecx + 0x18], esi
add ecx, ebx
mov byte [edx], bl
push edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub esi, eax
lea eax, [ecx + 5]
push eax
mov dword [ecx + 1], esi
call fcn.10011790
add esp, 8
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call ebx
test eax, eax
je 0x10011b08
push edi
call fcn.100116b0
mov esi, eax
add esp, 4
test esi, esi
je 0x10011b59
mov eax, 0x6544
cmp word [esi + 0x1c], ax
je 0x10011b59
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x10011b4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [0x10040da4], esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x10011b26
push eax
call fcn.10011760
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10011b38
push 0x18
push eax
call fcn.100137fc
add esp, 8
mov eax, dword [ebp + 8]
pop ebx
mov dword [0x10040da8], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x1c], 0x6f746544
mov dword [esi + 0x20], 0x21737275
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
pop ebx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], edi
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10040db0]
mov dword [ecx], eax
xor eax, eax
mov dword [0x10040db0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18