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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x100c92df
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x100c92e8
mov dword [eax], edi
mov ebx, dword [ebp + 0x18]
cmp ebx, edi
je 0x100c92f1
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101c3ce4], eax
je 0x100c9309
mov eax, 0x10dd
jmp 0x100c9511
mov eax, dword [0x101c3ce8]
cmp eax, edi
jne 0x100c9511
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x100c9325
push 6
pop eax
jmp 0x100c9511
mov eax, dword [ecx]
push esi
cmp eax, edi
jne 0x100c933f
push 6
pop eax
mov dword [0x101c3ce8], eax
mov dword [0x101c3cec], ecx
jmp 0x100c9510
push edi
push eax
mov dword [ebp + 0x18], edi
call fcn.100c8ee2
push 0
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 8], esi
call fcn.100c8ee2
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x100c9370
cmp dword [0x101c3ce0], edi
jne 0x100c94b6
jmp 0x100c9496
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x100c9379
mov dword [ecx], esi
test ebx, ebx
je 0x100c937f
mov dword [ebx], eax
push 0x18
call fcn.100d59cb
pop ecx
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x100c939a
mov dword [ebp - 4], 8
jmp 0x100c9496
mov eax, esi
call fcn.100c8c7d
mov edi, eax
test edi, edi
je 0x100c938e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100c93b0
mov dword [eax], edi
mov eax, esi
xor ebx, ebx
jmp 0x100c93b9
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x14], 0
lea ecx, [ebp + 0x14]
push ecx
push 0
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + edi]
push eax
call fcn.100c9786
cmp dword [ebp + 0x14], 0
mov dword [ebp + 0x10], eax
jne 0x100c93ef
push dword [ebp - 4]
mov ebx, eax
sub ebx, esi
call fcn.100c8be0
pop ecx
test eax, eax
jne 0x100c93ef
cmp ebx, 5
jl 0x100c93b6
cmp ebx, 5
jge 0x100c940d
cmp dword [0x101c3ce0], 0
mov dword [ebp - 4], 9
jne 0x100c949e
jmp 0x100c9496
cmp ebx, 0x12
jbe 0x100c941b
mov dword [ebp - 4], 6
jmp 0x100c9496
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
lea ecx, [ebx + esi]
lea edx, [edi + 0x17]
lea eax, [ebx + edi]
mov dword [edi + 0x18], ecx
lea esi, [eax + 5]
mov byte [edx], bl
mov byte [eax], 0xe9
inc eax
sub ecx, esi
mov dword [eax], ecx
push edx
add eax, 4
push eax
call fcn.100c8b64
and dword [ebp - 0xc], 0
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x100c948d
push dword [ebp - 8]
call fcn.100c8e7f
mov esi, eax
pop ecx
test esi, esi
je 0x100c94e5
mov eax, 0x6544
cmp word [esi + 0x1c], ax
je 0x100c94e5
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x100c94c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x101c3ce8], eax
test edi, edi
je 0x100c94a7
call fcn.100c8e5e
cmp dword [ebp + 0x18], 0
je 0x100c94b6
push dword [ebp + 0x18]
call fcn.100d59a5
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x100c9334
mov eax, 0x6544
mov word [esi + 0x1c], ax
mov eax, 0x6f74
mov word [esi + 0x1e], ax
mov eax, 0x7275
mov word [esi + 0x20], ax
mov eax, 0x2173
mov word [esi + 0x22], ax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x101c3cf4]
mov dword [eax], ecx
mov dword [0x101c3cf4], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x14