Function at 0x4bbccd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x4bbcf0
mov dword [ecx], 0
mov edi, dword [ebp + 0x18]
test edx, edx
je 0x4bbcfd
mov dword [edx], 0
test edi, edi
je 0x4bbd07
mov dword [edi], 0
mov esi, dword [0x900ea8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x10dd
cmp esi, eax
jne 0x4bbd26
mov ebx, dword [0x900eb4]
test ebx, ebx
je 0x4bbd3c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov ebx, 6
test ecx, ecx
je 0x4bbd26
mov eax, dword [ecx]
test eax, eax
je 0x4bbdcb
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push eax
call fcn.004bb76c
push ebx
push esi
mov esi, eax
call fcn.004bb76c
cmp eax, esi
je 0x4bbde0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4bbd70
mov dword [ecx], esi
test edi, edi
je 0x4bbd76
mov dword [edi], eax
mov dword [ebp - 0x5c], eax
push 0x18
call fcn.00517b56
add esp, 4
mov dword [ebp - 0x50], eax
call fcn.00442e60
lea eax, [esi - 0x7ff80000]
mov ecx, 0x7ff80000
cmp esi, ecx
mov edx, 0x10000
cmova edx, eax
add ecx, esi
test esi, esi
mov edi, 0xfff80000
cmovns edi, ecx
mov ecx, dword [0x900ec0]
mov eax, dword [0x900ebc]
test ecx, ecx
mov dword [ebp - 0x54], esi
jne 0x4bbdf6
test eax, eax
je 0x4bbdf6
mov dword [0x900ec0], eax
mov ecx, eax
jmp 0x4bbdfa
mov dword [0x900eb4], 6
mov dword [0x900eb8], ecx
jmp 0x4bbd26
cmp dword [0x900ea4], 0
jne 0x4bc0a0
xor esi, esi
xor edx, edx
jmp 0x4bc06f
test ecx, ecx
je 0x4bbe19
mov esi, dword [ecx + 8]
cmp esi, edx
jb 0x4bbe19
cmp esi, edi
jbe 0x4bbf88
jmp 0x4bbe19
mov esi, dword [eax + 8]
cmp esi, edx
jb 0x4bbe16
cmp esi, edi
jbe 0x4bbe84
mov eax, dword [eax + 4]
mov dword [0x900ec0], eax
test eax, eax
jne 0x4bbe0b
mov dword [ebp - 0x4c], edi
mov ebx, dword [ebp - 0x54]
and ebx, 0xffff0000
mov dword [ebp - 0x58], edx
cmp ebx, edx
jbe 0x4bbead
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, ebx
cmp eax, 0x80000001
mov edi, eax
mov ecx, 0x6fff0000
cmovb edi, ecx
cmp eax, 0x6fffffff
cmovbe edi, eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push edi
call esi
test eax, eax
je 0x4bbead
cmp dword [ebp - 0x1c], 0x10000
jne 0x4bbe73
cmp dword [ebp - 0x20], 0x10000
jae 0x4bbe8b
mov eax, dword [ebp - 0x28]
mov ecx, 0xffff0000
add eax, ecx
cmp eax, dword [ebp - 0x58]
ja 0x4bbe3d
jmp 0x4bbead
mov ecx, eax
jmp 0x4bbf88
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [0x900ec0], eax
test eax, eax
jne 0x4bbf43
cmp ebx, dword [ebp - 0x4c]
jae 0x4bc065
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp ebx, 0x80000001
mov esi, ebx
mov eax, 0x80010000
cmovb esi, eax
cmp ebx, 0x6fffffff
cmovbe esi, ebx
push 0x1c
lea eax, [ebp - 0x48]
push eax
push esi
call edi
test eax, eax
je 0x4bc065
cmp dword [ebp - 0x38], 0x10000
jne 0x4bbf31
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10000
jb 0x4bbf31
mov ecx, esi
and ecx, 0xffff
je 0x4bbf15
mov esi, 0x10000
sub esi, ecx
sub eax, esi
mov dword [ebp - 0x3c], eax
add esi, dword [ebp - 0x48]
mov dword [ebp - 0x48], esi
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x900ec0], eax
test eax, eax
jne 0x4bbf41
mov ebx, dword [ebp - 0x48]
add ebx, dword [ebp - 0x3c]
cmp ebx, dword [ebp - 0x4c]
jb 0x4bbebc
jmp 0x4bc065
mov esi, eax
mov dword [esi], 0x52727464
mov dword [esi + 8], 0
mov eax, dword [0x900ebc]
mov dword [esi + 4], eax
mov dword [0x900ebc], esi
add esi, 0x10000
xor ecx, ecx
mov eax, 0x7ff
mov dword [esi - 8], ecx
add esi, 0xffffffe0
dec eax
mov ecx, esi
cmp eax, 2
ja 0x4bbf6b
mov ecx, dword [0x900ec0]
mov dword [ecx + 8], esi
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x4c]
cmp esi, edx
jb 0x4bc065
cmp esi, edi
ja 0x4bc065
mov eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
movaps xmm0, xmmword [0x69d350]
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
test esi, esi
je 0x4bc065
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bbfbd
mov dword [eax], esi
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov edi, eax
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
add ecx, esi
lea eax, [ebp - 0x2c]
push eax
push ebx
push edi
push ecx
call fcn.004ebd8c
cmp dword [ebp - 0x2c], ebx
jne 0x4bc0b3
mov ecx, eax
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ecx
mov cl, byte [edi]
cmp cl, 0x25
jle 0x4bc018
mov edx, ecx
add dl, 0xda
cmp dl, 0x10
ja 0x4bc00e
movzx edx, dl
mov ebx, 0x10101
bt ebx, edx
jb 0x4bc022
add cl, 0x9c
cmp cl, 2
jb 0x4bc022
jmp 0x4bc059
cmp cl, 0xe8
jg 0x4bc030
cmp cl, 0xe3
jne 0x4bc03d
cmp byte [edi + 1], 0xff
jne 0x4bc059
cmp byte [edi + 2], 0x25
jne 0x4bc059
jmp 0x4bc0ad
cmp cl, 0xff
jne 0x4bc054
cmp byte [edi + 1], 0x25
jne 0x4bc059
jmp 0x4bc0ad
add cl, 0x3e
cmp cl, 0x1e
ja 0x4bc059
movzx ecx, cl
mov edx, 0x40000403
bt edx, ecx
jb 0x4bc0ad
jmp 0x4bc059
cmp cl, 0xe9
je 0x4bc0ad
cmp dword [ebp - 0x4c], 5
jl 0x4bbfc7
jmp 0x4bc0c6
xor esi, esi
mov ebx, 8
mov edx, dword [ebp - 0x50]
mov dword [0x900eb4], ebx
test esi, esi
je 0x4bc093
mov eax, esi
and eax, 0xffff0000
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], ecx
mov dword [eax + 8], esi
test edx, edx
je 0x4bc0a0
push edx
call fcn.00517bd6
add esp, 4
mov eax, dword [ebp + 8]
mov dword [0x900eb8], eax
jmp 0x4bbd26
cmp dword [ebp - 0x4c], 4
jg 0x4bc0c6
mov ebx, 9
cmp dword [0x900ea4], 0
mov edx, dword [ebp - 0x50]
jne 0x4bc075
jmp 0x4bc06f
cmp dword [ebp - 0x4c], 0x12
jbe 0x4bc0d3
mov ebx, 6
jmp 0x4bc06c
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0x5c]
mov dword [esi + 0x1c], ecx
lea edx, [esi + 0x17]
mov ecx, dword [ebp - 0x4c]
mov byte [esi + 0x17], cl
add ecx, esi
add ecx, 5
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
cmp ecx, edx
jae 0x4bc108
sub edx, ecx
push edx
push 0xcc
push ecx
call fcn.006030b0
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x40
push dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4bc156
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 4], 0
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], esi
mov dword [ecx + 0xc], edi
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x900eac]
mov dword [ecx], eax
mov dword [0x900eac], ecx
xor ebx, ebx
jmp 0x4bbd26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4bc06c