Function at 0x1009cade
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd0f9
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], ecx
push 0
push str.run_aux_cmd
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1009cca7
and dword [ebp - 0x294], 0
push 0x40
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.100738a0
add esp, 0xc
and dword [ebp - 0x244], 0
xor eax, eax
lea edi, [ebp - 0x240]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x294], 0x44
mov dword [ebp - 0x268], 0x81
and word [ebp - 0x264], 0
and word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x234]
push eax
push 0
push str._temp_RandomSubPathTagRandomSubPathTag.exe
call fcn.100af994
add esp, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009cbfe
push 1
push 0x100cbc5c
lea eax, [ebp - 0x234]
push eax
push 0x2782
push dword [0x10105210]
call fcn.1009721b
add esp, 0x14
test eax, eax
je 0x1009cbfe
mov dword [ebp - 0x2b4], 1
jmp 0x1009cc05
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009cc53
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x294]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x234]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1009cc53
mov dword [ebp - 0x2b8], 1
jmp 0x1009cc5a
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009cca7
cmp dword [ebp - 0x244], 0
je 0x1009cc84
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x1009cc99
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x244], 0
and dword [ebp - 0x240], 0
and dword [ebp - 0x20], 0
push 0x100c5fee
push str.PcfixCmdline
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax + 0x10]
call fcn.100b963f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10004000
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x1009cd20
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.10070c0b
pop ecx
test eax, eax
jne 0x1009cd02
mov dword [ebp - 0x2bc], 0x100cbcdc
jmp 0x1009cd10
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x2bc], eax
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x1c]
call fcn.100040b7
jmp 0x1009cd7a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009cd7a
push 0
push 0x100cbcf0
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x298], eax
push 0
push 0
xor ebx, ebx
call fcn.1005bee7
pop ecx
pop ecx
test eax, eax
jne 0x1009cd7a
cmp dword [ebp - 0x298], 0
je 0x1009cd7a
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.100a0bfa
pop ecx
mov eax, dword [ebp - 0x2b0]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x428]
lea ecx, [ebp - 0x1c]
call fcn.1003537a
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011bae
mov ecx, eax
call fcn.100a9016
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1009ce85
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x14]
test eax, eax
je 0x1009ce0f
lea ecx, [ebp - 0x14]
call fcn.1003537a
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x18]
mov dword [ebp - 0x29c], 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001085b
mov eax, dword [ebp - 0x29c]
jmp 0x1009ced6
lea ecx, [ebp - 0x14]
call fcn.1003537a
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax]
test eax, eax
je 0x1009ce52
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001085b
mov eax, dword [ebp - 0x2a0]
jmp 0x1009ced6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x10]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001085b
mov eax, dword [ebp - 0x2a4]
jmp 0x1009ced6
mov dword [ebp - 0x2a8], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001085b
mov eax, dword [ebp - 0x2a8]
jmp 0x1009ced6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10070c21
leave
ret 0xc