Function at 0x10099358
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b640b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x24], eax
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 0x10099520
and dword [ebp - 0x294], 0
push 0x40
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.10071ef0
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.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x234]
push eax
push 0
push str._temp_RandomSubPathTagRandomSubPathTag.exe
call fcn.100a919e
add esp, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x10099477
push 1
push 0x100c4b14
lea eax, [ebp - 0x234]
push eax
push 0x2782
push dword [0x100fc1b0]
call fcn.10094213
add esp, 0x14
test eax, eax
je 0x10099477
mov dword [ebp - 0x2b4], 1
jmp 0x1009947e
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x100994cc
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 0x100994cc
mov dword [ebp - 0x2b8], 1
jmp 0x100994d3
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x10099520
cmp dword [ebp - 0x244], 0
je 0x100994fd
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x10099512
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 0x100bf006
push str.PcfixCmdline
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax + 0x10]
call fcn.100b2cce
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10010891
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x10099599
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006f25b
pop ecx
test eax, eax
jne 0x1009957b
mov dword [ebp - 0x2bc], 0x100c4b94
jmp 0x10099589
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x2bc], eax
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x1c]
call fcn.10003ee9
jmp 0x100995ee
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x100995ee
push 0
push 0x100c4ba8
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
call fcn.1005a75f
pop ecx
test eax, eax
jne 0x100995ee
cmp dword [ebp - 0x298], 0
je 0x100995ee
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.1009c5a8
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.10030677
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011caf
mov ecx, eax
call fcn.100a33a5
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100996f9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x14]
test eax, eax
je 0x10099683
lea ecx, [ebp - 0x14]
call fcn.10030677
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.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x29c]
jmp 0x1009974a
lea ecx, [ebp - 0x14]
call fcn.10030677
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax]
test eax, eax
je 0x100996c6
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x2a0]
jmp 0x1009974a
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.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x2a4]
jmp 0x1009974a
mov dword [ebp - 0x2a8], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x2a8]
jmp 0x1009974a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1006f271
leave
ret 0xc