Function at 0x1020955
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
xor edi, edi
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x1020975
mov eax, dword [ecx + 4]
cmp eax, 0x1c
jae 0x102097c
xor eax, eax
jmp 0x1020b4d
push esi
mov esi, dword [ecx + 8]
cmp esi, ebx
jne 0x102098b
xor eax, eax
jmp 0x1020b4c
cmp dword [esi], 0xdde1dde1
jne 0x1020984
cmp dword [esi + 4], 1
jne 0x1020984
lea edx, [esi + 0x18]
mov ecx, edx
add eax, esi
jmp 0x10209ad
cmp edi, 2
jae 0x10209b1
cmp byte [ecx], bl
jne 0x10209ac
inc edi
inc ecx
cmp ecx, eax
jb 0x10209a2
mov eax, dword [esi + 8]
dec eax
je 0x1020a19
dec eax
jne 0x1020b4a
cmp edi, 1
jb 0x1020984
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push eax
push 0xffffffffffffffff
push edx
push ebx
call dword [0x10018f8]
test eax, eax
je 0x1020984
lea eax, [ebp - 8]
push eax
add esi, 0xc
push esi
push dword [ebp + 0x10]
call fcn.01020908
test eax, eax
je 0x10209fb
mov eax, dword [ebp - 8]
shr eax, 0x1e
and eax, 1
mov dword [ebp - 4], eax
jmp 0x10209fe
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.01001668]
jmp 0x1020b1d
cmp edi, 2
jb 0x1020984
mov edi, dword [0x10018f8]
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push eax
push 0xffffffffffffffff
push edx
push ebx
call edi
test eax, eax
je 0x1020984
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
call dword [fcn.01001410]
lea eax, [eax + esi + 0x19]
push eax
push ebx
call edi
test eax, eax
jne 0x1020a78
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.01001668]
jmp 0x1020984
lea eax, [ebp - 8]
push eax
add esi, 0xc
push esi
push dword [ebp + 0x10]
call fcn.01020908
test eax, eax
je 0x1020af0
test byte [ebp - 5], 0x80
je 0x1020af0
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [0x1076d30]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
xor edi, edi
inc edi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], 0x1011ca4
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], di
mov eax, dword [eax + 8]
push ebx
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1020af0
push dword [ebp - 0x28]
mov esi, dword [fcn.01001454]
call esi
push dword [ebp - 0x24]
call esi
mov dword [ebp - 4], edi
jmp 0x1020af3
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov esi, dword [fcn.01001668]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword [0x1076d4c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x1076d38]
xor ebx, ebx
push 0x4a
push dword [ebp + 0xc]
inc ebx
mov dword [ebp - 0x14], 4
call dword [0x10018c4]
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc