Function at 0x10008a61
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov edi, 0x3c
mov esi, esp
push edi
push esi
call sub.NTDLL.dll_RtlZeroMemory
mov dword [esi], edi
mov dword [esi + 4], 0x800400
mov dword [esi + 0x1c], 0
cmp dword [0x1002d208], 0xa
jl 0x10008b1f
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10008b1f
mov ebx, 0x3c
mov ebp, 0x800400
xor edi, edi
push ebx
push esi
call sub.NTDLL.dll_RtlZeroMemory
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x1c], edi
push ebx
push esi
call sub.NTDLL.dll_RtlZeroMemory
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x1c], edi
cmp dword [0x1002d208], 0xa
jl 0x10008aec
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10008aaf
push ebx
push esi
call sub.NTDLL.dll_RtlZeroMemory
mov dword [esp], ebx
mov dword [esp + 4], 0x800400
mov dword [esp + 0x1c], 0
cmp dword [0x1002d208], 0xa
jl 0x10008b1f
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10008aaf
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10008b2f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
test ecx, ecx
je 0x10008b3b
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
test eax, eax
je 0x10008b47
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x60]
test ecx, ecx
je 0x10008b5e
mov dword [esp + 0x1c], 1
mov eax, 0x800440
jmp 0x10008b6b
mov dword [esp + 4], 0x808400
mov eax, 0x808440
test ebp, ebp
je 0x10008b73
mov dword [esp + 4], eax
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test ebp, ebp
je 0x10008caa
test esi, esi
je 0x10008caa
mov edi, dword [esp + 0x64]
imul ebx, ebp, 0x3e8
cmp ebp, 0xffffffff
cmove ebx, ebp
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1002d20c]
mov ecx, dword [0x1002d208]
cmp ecx, 0xa
jl 0x10008c1e
lea edx, [eax + 1]
imul edx, eax
and edx, 1
je 0x10008c1e
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
jne 0x10008bf3
push ebx
push dword [esp + 0x3c]
call ebp
cmp dword [0x1002d208], 0xa
jl 0x10008bfc
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10008bfc
push ebx
push dword [esp + 0x3c]
call ebp
jmp 0x10008bd3
push ebx
push dword [esp + 0x3c]
call ebp
mov eax, dword [0x1002d20c]
mov ecx, dword [0x1002d208]
cmp ecx, 0xa
jl 0x10008c1e
lea edx, [eax + 1]
imul edx, eax
and edx, 1
jne 0x10008bc8
test edi, edi
je 0x10008c61
mov ebx, dword [esp + 0x38]
cmp ecx, 0xa
jl 0x10008c36
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10008c57
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [0x1002d208], 0xa
jl 0x10008c61
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10008c61
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x10008c36
mov edi, dword [esp + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1002d208], 0xa
jl 0x10008caa
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10008caa
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
push edi
call ebx
cmp dword [0x1002d208], 0xa
jl 0x10008caa
mov eax, dword [0x1002d20c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10008c8b
mov eax, esi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret