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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x100fefb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x10c7bd44
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x10c7bd44
call fcn.1008d4d0
add esp, 4
test eax, eax
je 0x1006cb93
push eax
call fcn.1008d6f0
add esp, 4
mov eax, dword [0x10c7bd74]
test eax, eax
jne 0x1006cbc6
push 8
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
jne 0x1006cbb4
mov dword [0x10c7bd74], eax
jmp 0x1006cd47
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [0x10c7bd74], eax
xor edx, edx
xor ebx, ebx
test eax, eax
je 0x1006cbf8
mov ecx, dword [eax]
test ecx, ecx
je 0x1006cbf8
mov esi, dword [ecx + 8]
mov eax, edi
sub eax, esi
cmp eax, edx
ja 0x1006cbe9
mov ebx, ecx
test edx, edx
je 0x1006cbf0
mov edx, edi
sub edx, esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1006cbd4
test ebx, ebx
jne 0x1006cd47
push 0x1006cf50
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1006cc2b
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
call dword [eax]
mov dword [ebp - 0x20], eax
push 0x50
mov byte [ebp - 4], 3
call fcn.100b98cf
mov esi, eax
add esp, 4
test esi, esi
je 0x1006cd30
lea eax, [ebp - 0x44]
mov dword [esi + 0x34], 0
lea ebx, [esi + 0x10]
mov dword [esi], 0
push eax
mov ecx, ebx
mov dword [esi + 8], edi
call fcn.1006c9b0
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x48], 0x40
mov dword [esi + 4], 0
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1006cc99
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x20], 0
push 0x1c
lea eax, [ebp - 0x60]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x48]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1006cce7
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x1006ccda
mov eax, dword [ecx]
cmp ecx, ebx
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [ebx + 0x24], 0
push 0x50
push esi
call fcn.100b98ff
add esp, 8
jmp 0x1006cd47
movzx eax, byte [edi]
mov byte [esi + 0x44], al
movzx eax, byte [0x100feb50]
mov byte [edi], al
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x48]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x10c7bd74]
test ecx, ecx
je 0x1006cd2c
cmp dword [ecx], 0
jne 0x1006cd1e
mov dword [ecx], esi
mov bl, 1
mov dword [ecx + 4], esi
jmp 0x1006cd49
mov eax, dword [ecx + 4]
mov dword [eax + 4], esi
mov eax, dword [ecx + 4]
mov dword [esi], eax
mov dword [ecx + 4], esi
mov bl, 1
jmp 0x1006cd49
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1006cd47
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
push eax
call edx
xor bl, bl
push 0x10c7bd44
mov byte [ebp - 4], 4
call fcn.1008d4f5
add esp, 4
test eax, eax
je 0x1006cd67
push eax
call fcn.1008d6f0
add esp, 4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1006cd7f
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret