Function at 0x1003cd90
Capabilities:
Allocate or change rwx memory
Create thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov byte [ebp - 0x2c], 0x6a
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0x6a
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 0x68
mov byte [ebp - 0x27], 0xad
mov byte [ebp - 0x26], 0xde
mov byte [ebp - 0x25], 0xad
mov byte [ebp - 0x24], 0xde
mov byte [ebp - 0x23], 0x6a
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0xb8
mov byte [ebp - 0x20], 0xad
mov byte [ebp - 0x1f], 0xde
mov byte [ebp - 0x1e], 0xad
mov byte [ebp - 0x1d], 0xde
mov byte [ebp - 0x1c], 0xff
mov byte [ebp - 0x1b], 0xd0
mov byte [ebp - 0x1a], 0x68
mov byte [ebp - 0x19], 0xad
mov byte [ebp - 0x18], 0xde
mov byte [ebp - 0x17], 0xad
mov byte [ebp - 0x16], 0xde
mov byte [ebp - 0x15], 0xb8
mov byte [ebp - 0x14], 0xad
mov byte [ebp - 0x13], 0xde
mov byte [ebp - 0x12], 0xad
mov byte [ebp - 0x11], 0xde
mov byte [ebp - 0x10], 0xff
mov byte [ebp - 0xf], 0xd0
mov byte [ebp - 0xe], 0x6a
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0xb8
mov byte [ebp - 0xb], 0xad
mov byte [ebp - 0xa], 0xde
mov byte [ebp - 9], 0xad
mov byte [ebp - 8], 0xde
mov byte [ebp - 7], 0xff
mov byte [ebp - 6], 0xd0
lea ecx, [ebp + 8]
call fcn.1003d900
lea eax, [eax + eax + 0x29]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
xor edx, edx
mov ecx, 4
div ecx
mov dword [ebp - 0x30c], edx
cmp dword [ebp - 0x30c], 0
je 0x1003ce88
mov edx, 4
sub edx, dword [ebp - 0x30c]
add edx, dword [ebp - 0x308]
mov dword [ebp - 0x308], edx
push 0
push 4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
jne 0x1003ceb7
lea ecx, [ebp + 8]
call fcn.1002b32e
nop
jmp 0x1003cff7
mov dword [ebp - 0x2fc], 0x1003f
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1003cef4
mov edx, dword [ebp - 0x304]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.1002b32e
nop
jmp 0x1003cff7
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
sub ecx, dword [ebp - 0x308]
mov dword [ebp - 0x300], ecx
mov ecx, 9
lea esi, [ebp - 0x2c]
mov edi, dword [ebp - 0x300]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x300]
add edx, 0x27
mov eax, dword [ebp - 0x300]
mov dword [eax + 5], edx
mov ecx, dword [ebp - 0x300]
mov edx, dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x304]
mov dword [eax + 0x13], ecx
mov edx, dword [ebp - 0x300]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x300]
mov edx, dword [sym.imp.KERNEL32.dll_ExitThread]
mov dword [ecx + 0x21], edx
lea ecx, [ebp + 8]
call fcn.1003d900
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 8]
call fcn.100308b1
push eax
mov ecx, dword [ebp - 0x300]
add ecx, 0x27
push ecx
call fcn.1004b590
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
push 0x40
push 0x27
mov eax, dword [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x238]
sub ecx, dword [ebp - 0x308]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x244], edx
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edx, dword [ebp - 0x304]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp + 8]
call fcn.1002b32e
nop
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret