Function at 0x1009d784
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be2de
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100eb3e0]
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 0x1009d94d
and dword [ebp - 0x294], 0
push 0x40
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.10073a50
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.10073a50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x234]
push eax
push 0
push str._temp_RandomSubPathTagRandomSubPathTag.exe
call fcn.100b0c5d
add esp, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d8a4
push 1
push 0x100cdd6c
lea eax, [ebp - 0x234]
push eax
push 0x2782
push dword [0x1010722c]
call fcn.10097c55
add esp, 0x14
test eax, eax
je 0x1009d8a4
mov dword [ebp - 0x2b4], 1
jmp 0x1009d8ab
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d8f9
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 0x1009d8f9
mov dword [ebp - 0x2b8], 1
jmp 0x1009d900
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d94d
cmp dword [ebp - 0x244], 0
je 0x1009d92a
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x1009d93f
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 0x100c8036
push str.PcfixCmdline
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax + 0x10]
call fcn.100ba7f8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10010322
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x1009d9c6
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.10070dbb
pop ecx
test eax, eax
jne 0x1009d9a8
mov dword [ebp - 0x2bc], 0x100cdd90
jmp 0x1009d9b6
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x2bc], eax
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x1c]
call fcn.10003b3f
jmp 0x1009da20
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009da20
push 0
push 0x100cdda4
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.1005bfc7
pop ecx
pop ecx
test eax, eax
jne 0x1009da20
cmp dword [ebp - 0x298], 0
je 0x1009da20
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.100a1ac5
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.1002ffe8
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011734
mov ecx, eax
call fcn.100a9b9d
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1009db35
call fcn.100964ad
cmp eax, 2
je 0x1009dabf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x14]
test eax, eax
je 0x1009dabf
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
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.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x29c]
jmp 0x1009db86
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax]
test eax, eax
je 0x1009db02
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x2a0]
jmp 0x1009db86
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.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x2a4]
jmp 0x1009db86
mov dword [ebp - 0x2a8], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x2a8]
jmp 0x1009db86
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.10070dd1
leave
ret 0xc