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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x64]
mov edx, dword [0x100c614e]
call fcn.100c1e9e
xor eax, eax
push ebp
push 0x100d4053
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x100ff660], 0
jne 0x100d4022
xor eax, eax
mov dword [0x100ff670], eax
xor eax, eax
mov dword [0x100ff674], eax
cmp dword [0x100ff670], 0
je 0x100d3b13
cmp dword [0x100ff674], 0
je 0x100d3b13
push 0x100ff678
push 0
push 0x100d37d6
push 0
call dword [0x100ff670]
test eax, eax
je 0x100d401b
xor eax, eax
mov dword [0x100ff678], eax
cmp dword [0x100ff66c], 0
jne 0x100d3b34
xor edx, edx
mov eax, dword [0x100fec50]
call fcn.100c8b96
mov dword [0x100ff66c], eax
cmp byte [0x100ff664], 0
jne 0x100d3f8f
mov byte [0x100ff664], 1
cmp byte [0x100fec30], 0
jne 0x100d3f8f
lea edx, [ebp - 0xc]
mov eax, dword [0x100fed74]
call fcn.100c4b16
lea eax, [ebp - 0x6c]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.100c46c2
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0xc]
call fcn.100c16d6
mov eax, dword [ebp - 0x68]
call fcn.100c188a
push eax
push 0xc
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
je 0x100d3f8f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
setne byte [ebp - 1]
push 0
push 0
push 0
push 0xf001f
push esi
call sub.KERNEL32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x100d3f85
mov ebx, 0x32
cmp byte [ebp - 1], 0
jne 0x100d3c01
mov eax, dword [edi]
mov edx, dword [edi + 4]
push edx
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x100d3bf3
cmp eax, dword [esp]
pop edx
pop eax
je 0x100d3c01
push 0x32
call sub.KERNEL32.dll_Sleep
dec ebx
jne 0x100d3bd5
cmp byte [ebp - 1], 0
jne 0x100d3c1c
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0xc]
cmp edx, dword [ecx + 4]
jne 0x100d3c16
cmp eax, dword [ecx]
je 0x100d3f77
mov dl, 1
mov eax, dword [0x100fec4c]
call fcn.100c8b96
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x100fecb0]
call fcn.100c8a8a
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.100d5546
test eax, eax
jne 0x100d3c63
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x18]
call fcn.100c893e
mov edx, dword [ebp - 0x60]
mov eax, 0xe
call fcn.100d0726
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
call fcn.100c23d6
test eax, eax
jl 0x100d3ee4
inc eax
xor ebx, ebx
mov edx, ebx
shl edx, 3
sub edx, ebx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + edx*4 + 0xc]
cmp edx, dword [ebp - 0x14]
jne 0x100d3edc
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
cmp dword [edx + eax*4 + 0x14], 0
jne 0x100d3cce
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
cmp dword [edx + eax*4 + 0x18], 0
je 0x100d3ee4
mov eax, dword [ebp - 8]
mov byte [eax], 0xff
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 8]
add eax, 6
mov edx, dword [ebp - 8]
mov dword [edx + 2], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 6], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa], edx
lea eax, [ebp - 0x24]
push eax
push 0x20
push 0xe
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
cmp byte [edx + eax*4 + 0x10], 0
je 0x100d3dbf
lea eax, [ebp - 0x24]
push eax
push 0x40
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x100d3ee4
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
sub ecx, dword [edx + eax*4 + 4]
sub ecx, 5
mov dword [ebp - 0x10], ecx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + eax*4 + 0x14]
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.100cf386
test al, al
jne 0x100d3d92
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [0x100ff668], eax
xor esi, esi
jmp 0x100d3ee4
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
cmp dword [edx + eax*4 + 0x14], 0
je 0x100d3e57
lea eax, [ebp - 0x24]
push eax
push 0x40
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x100d3ee4
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + eax*4 + 0x14]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.100cf386
test al, al
jne 0x100d3e2a
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, dword [ebp - 8]
mov dword [eax], edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [0x100ff668], eax
xor esi, esi
jmp 0x100d3ee4
lea eax, [ebp - 0x24]
push eax
push 0x40
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x18]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x100d3ee4
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0x10], eax
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + eax*4 + 0x18]
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.100cf386
test al, al
jne 0x100d3eb2
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax*4 + 0x18]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [0x100ff668], eax
xor esi, esi
jmp 0x100d3ee4
inc ebx
dec eax
jne 0x100d3c91
cmp dword [ebp - 0x1c], 0
jne 0x100d3eee
cmp dword [ebp - 0x20], 0
je 0x100d3f47
lea eax, [ebp - 0x24]
push eax
push 0x40
push 8
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x100d3f47
lea eax, [ebp - 0x20]
mov ecx, 8
mov edx, dword [ebp - 0x18]
call fcn.100cf386
test al, al
jne 0x100d3f27
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov edx, 8
mov eax, dword [ebp - 0x18]
call fcn.100d2666
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 8
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_VirtualProtect
cmp dword [0x100ff668], 0
jne 0x100d3f68
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_VirtualFree
jmp 0x100d3f85
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
jmp 0x100d3f85
mov eax, dword [edi + 8]
mov dword [0x100ff668], eax
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
test esi, esi
je 0x100d3f8f
push esi
call sub.KERNEL32.dll_CloseHandle
cmp dword [0x100ff668], 0
je 0x100d3fbd
push 0
push 0
mov eax, dword [0x100ff668]
push eax
push 0x100d38ca
push 0x100ff658
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.100d462e
jmp 0x100d3fec
push 0
push 0
mov dl, 1
mov eax, dword [0x100fecb0]
call fcn.100c8a8a
call fcn.100d06b6
push eax
push 0x100d3822
push 0x100ff654
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.100d462e
push 0
push 0
mov dl, 1
mov eax, dword [0x100fec5c]
call fcn.100c8b96
call fcn.100d06b6
push eax
push 0x100d3956
push 0x100ff65c
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.100d462e
mov byte [0x100ff660], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100d405a
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.100c145a
lea eax, [ebp - 0x64]
mov edx, dword [0x100c614e]
call fcn.100c1f62
lea eax, [ebp - 0xc]
call fcn.100c1436
ret