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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100ae940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.10003300
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov esi, dword [esi]
test eax, eax
je 0x100054ab
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
call ebx
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 8]
call fcn.10003300
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov esi, dword [esi]
test eax, eax
je 0x100054ee
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
call ebx
mov ecx, dword [0x100b1340]
lea edi, [esi + 8]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], 0x35a
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp - 0x48], eax
mov dword [ebp - 8], ecx
mov eax, dword [0x100b0fc0]
cmp eax, dword [ecx + 4]
jg 0x100056b1
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
push 0x40
lea esi, [edi - 8]
push 4
push esi
mov dword [ebp - 0x3c], esi
call ebx
test eax, eax
setne byte [ebp - 0x30]
mov esi, dword [esi]
test eax, eax
je 0x1000555a
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x3c]
call ebx
xor eax, eax
nop dword [eax]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + eax*4]
cmp esi, ecx
jne 0x1000556e
test ecx, ecx
jne 0x10005579
inc eax
cmp eax, 3
jl 0x10005560
jmp 0x1000568d
lea eax, [eax + eax*2]
xor edx, edx
shl eax, 3
xor esi, esi
cmp byte [0x100afa62], dl
je 0x10005612
mov ecx, dword [ebp + 0x10]
add ecx, eax
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x100055ba
mov edi, dword [ecx + 0x14]
nop
mov eax, ecx
cmp edi, 0xf
jbe 0x100055a9
mov eax, dword [ecx]
movsx eax, byte [eax + edx]
inc edx
shl esi, 8
or esi, eax
cmp edx, ebx
jb 0x100055a0
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
bswap esi
mov ecx, dword [eax]
mov eax, dword [0x100b0fc0]
cmp eax, dword [ecx + 4]
jg 0x10005705
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x24]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], edi
call ebx
test eax, eax
setne byte [ebp - 0x20]
mov dword [edi], esi
cmp byte [ebp - 0x20], 0
je 0x1000568d
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
jmp 0x10005688
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x1000563b
mov edi, dword [ecx + 0x14]
mov eax, ecx
cmp edi, 0xf
jbe 0x1000562a
mov eax, dword [ecx]
movsx eax, byte [eax + edx]
inc edx
shl esi, 8
or esi, eax
cmp edx, ebx
jb 0x10005621
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov eax, dword [0x100b0fc0]
bswap esi
cmp eax, dword [ecx + 4]
jg 0x10005759
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], edi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [edi], esi
cmp byte [ebp - 0x10], 0
je 0x1000568d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
call ebx
mov ecx, dword [ebp - 8]
add edi, 0x3c
sub dword [ebp - 0x44], 1
mov dword [ebp - 0x40], edi
jne 0x10005512
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100459fc
mov esp, ebp
pop ebp
ret
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x10005523
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x10005523
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x100055d2
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x100055d2
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x10005651
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x10005651