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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x10018004]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
call fcn.10005956
pop ecx
push eax
call fcn.100059d5
mov dword [esp], 0x148
lea eax, [esp + 0x8c]
push ebx
push eax
call fcn.10003c40
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x94], eax
mov eax, 0x7a120
mov dword [esp + 0x8c], eax
push eax
call fcn.1000270d
pop ecx
push dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
push ebx
push eax
call fcn.10003c40
add esp, 0xc
mov dword [esp + 0xac], 0xfde9
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xbc], ebx
cmp dword [esp + 0xb4], ebx
je 0x10001fe0
push dword [esp + 0xb4]
call fcn.10002724
pop ecx
mov dword [esp + 0xb4], ebx
push esi
lea ecx, [esp + 0x8c]
call fcn.10001523
test eax, eax
je 0x10002179
cmp dword [esp + 0xb0], ebx
je 0x1000217c
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x1000217c
cmp eax, 2
jle 0x1000217c
cmp eax, 0x800
jle 0x10002174
lea ecx, [esp + 0x70]
call fcn.10001cdd
cmp dword [esp + 0x80], ebx
je 0x10002166
call fcn.100059b4
push 5
pop ecx
cdq
idiv ecx
lea ecx, [esp + 0x28]
add edx, 9
call fcn.10001c33
xor ebx, ebx
inc ebx
push ebx
push ecx
push ecx
mov ecx, eax
call fcn.10002493
push eax
lea ecx, [esp + 0x14]
call fcn.10001a20
push 4
push str..exe
lea ecx, [esp + 0x18]
call fcn.10002230
push eax
lea ecx, [esp + 0x5c]
call fcn.10001a20
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push dword [esp + 0x68]
cmovae eax, dword [esp + 0x5c]
lea ecx, [esp + 0x74]
push eax
call fcn.10002230
push eax
lea ecx, [esp + 0x44]
call fcn.1000219f
lea ecx, [esp + 0x58]
call fcn.10001bb9
lea ecx, [esp + 0x10]
call fcn.10001bb9
lea ecx, [esp + 0x28]
call fcn.10001bb9
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
lea ecx, [esp + 0x88]
cmovae eax, dword [esp + 0x40]
push eax
call fcn.10001725
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x1d0]
push 0x44
pop edi
push edi
push 0
lea esi, [esp + 0x48]
cmovae esi, dword [esp + 0x48]
push eax
call fcn.10003c40
mov dword [esp + 0x1dc], edi
xor eax, eax
lea edi, [esp + 0x64]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push eax
xor edi, edi
lea eax, [esp + 0x1d4]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000213c
cmp dword [esp + 0x60], 0xffffffff
jne 0x1000215b
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
push 0xa
cmovae eax, dword [esp + 0x44]
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x40]
call fcn.10001bb9
jmp 0x10002169
push 0xfffffffffffffffe
pop ebx
lea ecx, [esp + 0x70]
call fcn.10001bb9
jmp 0x1000217c
or ebx, 0xffffffff
jmp 0x1000217c
push 0xfffffffffffffffd
pop ebx
lea ecx, [esp + 0x88]
call fcn.100010a3
mov ecx, dword [esp + 0x21c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100026ff
mov esp, ebp
pop ebp
ret