Function at 0x20020935
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push pe_nt_image_headers32
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call sub.MSVCRT.dll_memset
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x54], 0x20003e84
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
xor ecx, ecx
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp ax, 0x21
jne 0x20020989
mov dword [ebp - 4], ebx
jmp 0x200209d3
cmp ax, 0x40
jne 0x20020998
mov dword [ebp - 0x54], 0x20003e60
jmp 0x200209d3
cmp ax, 0x3d
jne 0x200209a3
mov dword [ebp - 8], edi
jmp 0x200209d3
cmp ax, 0x5f
jne 0x200209b2
mov dword [ebp - 4], 6
jmp 0x200209d3
cmp ax, 0x26
jne 0x200209c1
mov dword [ebp - 4], 3
jmp 0x200209d3
cmp ax, 0x24
jne 0x200209cb
mov edx, edi
jmp 0x200209d3
cmp ax, 0x23
jne 0x200209d9
mov ecx, edi
add dword [ebp + 8], 2
jmp 0x20020978
cmp ecx, ebx
je 0x20020a2c
push 0x20
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
cmp esi, ebx
je 0x200209f3
mov word [esi], bx
inc esi
inc esi
push dword [ebp + 8]
call fcn.200042be
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 8], ebx
call fcn.20020912
add esp, 0xc
cmp eax, ebx
je 0x20020a25
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
push eax
call fcn.20014df0
add esp, 0x14
jmp 0x20020b3e
mov eax, edi
jmp 0x20020b3e
cmp edx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jne 0x20020afc
mov ax, word [ebp - 4]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x20020af1
cmp byte [ebp + 0xc], 2
jne 0x20020ab5
push 0x5dc
call fcn.2000ed52
push dword [ebp - 0x18]
call fcn.20014cfb
push 0x190
call fcn.2000ed52
push dword [ebp - 0x10]
push 0x2003efd0
call fcn.2001537d
add esp, 0x14
cmp dword [0x2002dd50], ebx
je 0x20020ab5
mov eax, dword [0x2002dd70]
cmp eax, ebx
jbe 0x20020ab5
push ebx
push ebx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [0x2003f034]
call edi
cmp dword [ebp - 8], ebx
je 0x20020ad1
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp + 0xc], 1
jne 0x20020adf
mov eax, dword [ebp - 0x10]
mov dword [0x2002dd78], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp esi, ebx
sete al
cmp eax, ebx
je 0x20020b2b
push ebx
push dword [ebp + 8]
call fcn.20014d8d
pop ecx
pop ecx
movzx ecx, word [ebp - 4]
push ecx
push ebx
push eax
push dword [ebp + 8]
push 0x20003e54
push dword [0x2002dd6c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [0x2003f034]
call edi
xor eax, eax
cmp esi, ebx
sete al
pop edi
pop esi
pop ebx
leave
ret