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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x18], 0
jne 0x10021479
mov dword [ebp - 0x24], esp
xor eax, eax
call dword [0x102d2d02]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10021438
push 0x6b
push 0x4042029
push 6
call fcn.1004f7db
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0x20
push 8
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10021471
push 0x6b
push 0x4042029
push 6
call fcn.1004f7db
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x1002147f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
jne 0x10021490
mov dword [ebp + 0x1c], 0
cmp dword [ebp - 4], 0
jne 0x100214a4
mov eax, 0
jmp 0x10021b84
mov dword [ebp - 0x24], esp
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 0x20
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100214e6
push 0x152
push 0x4042029
push 6
call fcn.1004f7db
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 1
jne 0x1002151b
push dword [ebp - 8]
call fcn.10021b8a
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 5
jge 0x10021adb
push dword [ebp - 8]
call fcn.10021b8a
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call fcn.10021f62
mov byte [ebp - 0x14], al
cmp byte [ebp - 0x14], 0xe9
je 0x10021553
cmp byte [ebp - 0x14], 0xe8
je 0x10021553
xor eax, eax
jmp 0x10021558
mov eax, 1
test eax, eax
je 0x10021647
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 8]
call fcn.1000c14c
push eax
call fcn.10021f7f
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x18]
call fcn.1000c14c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.10001f11
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10021f9b
push eax
push dword [ebp - 0x28]
call fcn.10021fbb
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.1000c14c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
jmp 0x1002151b
cmp byte [ebp - 0x14], 0x70
jb 0x10021662
cmp byte [ebp - 0x14], 0x7f
ja 0x10021662
mov eax, 1
jmp 0x10021667
mov eax, 0
test eax, eax
jne 0x1002167d
cmp byte [ebp - 0x14], 0xeb
je 0x1002167d
xor eax, eax
jmp 0x10021682
mov eax, 1
test eax, eax
je 0x10021925
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 8]
call fcn.1000c14c
push eax
call fcn.10021f62
and eax, 0xff
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7f
jle 0x100216ef
push 1
push dword [ebp - 0x10]
push 0xfc
push dword [ebp - 8]
call fcn.10021f9b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
call fcn.1000c14c
mov dword [ebp - 0x18], eax
jmp 0x10021702
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.1000c14c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x18], eax
jl 0x10021737
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 5
push dword [ebp + 8]
call fcn.1000c14c
cmp dword [ebp - 0x18], eax
jg 0x10021737
mov eax, 1
jmp 0x1002173c
mov eax, 0
test eax, eax
je 0x100217bf
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.10001f11
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.1000c14c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
jmp 0x10021920
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x14], 0xeb
jne 0x10021848
push 0xe9
push dword [ebp - 0x1c]
call fcn.10021fd0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push 1
push 5
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10021f9b
push eax
push dword [ebp - 0x28]
call fcn.10021fbb
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 5
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
jmp 0x100218ec
push 0xf
push dword [ebp - 0x1c]
call fcn.10021fd0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 0x10
mov eax, dword [ebp - 0x14]
and eax, 0xff
push eax
call fcn.1000c14c
push eax
push dword [ebp - 0x28]
call fcn.10021fd0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 2
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push 1
push 6
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10021f9b
push eax
push dword [ebp - 0x28]
call fcn.10021fbb
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 6
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.1000c14c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
jmp 0x1002151b
cmp byte [ebp - 0x14], 0xf
jne 0x10021a60
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 8]
call fcn.1000c14c
push eax
call fcn.10021f62
mov byte [ebp - 0x14], al
cmp byte [ebp - 0x14], 0x7d
jb 0x1002196c
cmp byte [ebp - 0x14], 0x8f
ja 0x1002196c
mov eax, 1
jmp 0x10021971
mov eax, 0
test eax, eax
je 0x10021a60
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 2
push dword [ebp - 8]
call fcn.1000c14c
push eax
call fcn.10021f7f
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x18]
call fcn.1000c14c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x1c], eax
push 2
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.10001f11
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 2
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10021f9b
push eax
push dword [ebp - 0x28]
call fcn.10021fbb
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.1000c14c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
jmp 0x1002151b
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.10001f11
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.1000c14c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.1000c14c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1000c14c
mov dword [ebp - 8], eax
jmp 0x1002151b
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.1000c14c
mov dword [ebp - 0x1c], eax
push 0xe9
push dword [ebp - 0x1c]
call fcn.10021fd0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x1c]
call fcn.1000c14c
mov dword [ebp - 0x28], eax
push 1
push 5
push dword [ebp - 0x1c]
push dword [ebp - 8]
call fcn.10021f9b
push eax
push dword [ebp - 0x28]
call fcn.10021fbb
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10021b7c
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10021fe5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10021b76
push ebx
call fcn.1004f7cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jmp 0x10021b84
mov esp, ebp
pop ebp
ret 0x1c