Function at 0x1002846a
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1009140c]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x74
mov eax, 0x1006bc17
call fcn.1005163c
mov ebx, dword [ebp + 0x114]
mov eax, dword [ebp + 0x118]
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], edi
jne 0x100284b2
mov dword [ebp - 0x10], 0x80004003
jmp 0x100286e8
cmp eax, edi
je 0x100284a6
push 0x44
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.100524f0
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.100524f0
add esp, 0x18
mov esi, 0x100a61f4
push esi
lea ecx, [ebp - 0x14]
call fcn.1000250e
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.1000250e
mov byte [ebp - 4], 1
call dword [0x100913cc]
push ebx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1002850b
xor eax, eax
jmp 0x10028522
lea esi, [eax + eax]
mov eax, esi
call fcn.100524c0
mov eax, esp
push dword [ebp - 0x28]
push esi
push ebx
push eax
call fcn.10009ac2
push eax
lea ecx, [ebp - 0x14]
call fcn.10006ba1
push edi
mov esi, 0x1007530c
push esi
lea ecx, [ebp - 0x14]
call fcn.100257a8
or ebx, 0xffffffff
cmp eax, ebx
jne 0x100285c8
lea eax, [ebp]
push 0x104
push eax
call fcn.10025148
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jge 0x10028572
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001b77
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x100286db
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006ba1
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10026438
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.100263e1
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000d080
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001b77
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001b77
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100285dd
xor esi, esi
jmp 0x100285f8
lea esi, [eax + eax]
mov eax, esi
call fcn.100524c0
mov eax, esp
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x24]
push eax
call fcn.10009ac2
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push 0x10075384
push eax
call fcn.1002649c
push 0x10075380
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.10026438
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.10026438
add esp, 0x24
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1000d080
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001b77
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001b77
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10001b77
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push 0x20
push 1
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, edi
jne 0x100286ba
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jg 0x1002868c
call ebx
jmp 0x10028698
call ebx
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x100286a6
mov dword [ebp - 0x10], 0x80004005
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001b77
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
jmp 0x100286de
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001b77
lea ecx, [esi - 0x10]
mov dword [ebp - 4], ebx
call fcn.10001b77
cmp dword [ebp - 0x10], edi
jge 0x100286f8
push dword [0x10090614]
push dword [ebp - 0x10]
call fcn.100032c5
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.100511f7
add ebp, 0x108
leave
ret 0xc