Function at 0x10099183
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e06
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100e13e0]
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 0x1009934b
and dword [ebp - 0x294], 0
push 0x40
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.10071bc0
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.10071bc0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x234]
push eax
push 0
push str._temp_RandomSubPathTagRandomSubPathTag.exe
call fcn.100a8b29
add esp, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x100992a2
push 1
push 0x100c3de4
lea eax, [ebp - 0x234]
push eax
push 0x2782
push dword [0x100fd2ec]
call fcn.10094079
add esp, 0x14
test eax, eax
je 0x100992a2
mov dword [ebp - 0x2b4], 1
jmp 0x100992a9
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x100992f7
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 0x100992f7
mov dword [ebp - 0x2b8], 1
jmp 0x100992fe
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009934b
cmp dword [ebp - 0x244], 0
je 0x10099328
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x1009933d
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 0x100bdeae
push str.PcfixCmdline
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax + 0x10]
call fcn.100b26ea
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003b68
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x100993c4
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006ef0b
pop ecx
test eax, eax
jne 0x100993a6
mov dword [ebp - 0x2bc], 0x100c3e64
jmp 0x100993b4
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x2bc], eax
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x1c]
call fcn.10003c30
jmp 0x10099419
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x10099419
push 0
push 0x100c3e78
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.1005b2f8
pop ecx
test eax, eax
jne 0x10099419
cmp dword [ebp - 0x298], 0
je 0x10099419
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.1009c291
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.1003c888
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.1001175e
mov ecx, eax
call fcn.100a2c37
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10099524
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x14]
test eax, eax
je 0x100994ae
lea ecx, [ebp - 0x14]
call fcn.1003c888
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.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c06
mov eax, dword [ebp - 0x29c]
jmp 0x10099575
lea ecx, [ebp - 0x14]
call fcn.1003c888
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax]
test eax, eax
je 0x100994f1
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c06
mov eax, dword [ebp - 0x2a0]
jmp 0x10099575
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.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c06
mov eax, dword [ebp - 0x2a4]
jmp 0x10099575
mov dword [ebp - 0x2a8], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c06
mov eax, dword [ebp - 0x2a8]
jmp 0x10099575
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1006ef21
leave
ret 0xc