Function at 0x1009d248
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdd03
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100ea3e0]
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 0x1009d411
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.100b0692
add esp, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d368
push 1
push 0x100ccd4c
lea eax, [ebp - 0x234]
push eax
push 0x2782
push dword [0x1010622c]
call fcn.10097719
add esp, 0x14
test eax, eax
je 0x1009d368
mov dword [ebp - 0x2b4], 1
jmp 0x1009d36f
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d3bd
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 0x1009d3bd
mov dword [ebp - 0x2b8], 1
jmp 0x1009d3c4
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009d411
cmp dword [ebp - 0x244], 0
je 0x1009d3ee
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x1009d403
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 0x100c7016
push str.PcfixCmdline
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax + 0x10]
call fcn.100ba22d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003dd8
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x1009d48a
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.10070dbb
pop ecx
test eax, eax
jne 0x1009d46c
mov dword [ebp - 0x2bc], 0x100ccd70
jmp 0x1009d47a
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x2bc], eax
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x1c]
call fcn.10003ea0
jmp 0x1009d4e4
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009d4e4
push 0
push 0x100ccd84
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.1005c0a7
pop ecx
pop ecx
test eax, eax
jne 0x1009d4e4
cmp dword [ebp - 0x298], 0
je 0x1009d4e4
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.100a14fa
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.100212fb
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011c20
mov ecx, eax
call fcn.100a95d2
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1009d5f9
call fcn.1009601d
cmp eax, 2
je 0x1009d583
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x14]
test eax, eax
je 0x1009d583
lea ecx, [ebp - 0x14]
call fcn.100212fb
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.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x29c]
jmp 0x1009d64a
lea ecx, [ebp - 0x14]
call fcn.100212fb
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [eax]
test eax, eax
je 0x1009d5c6
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x2a0]
jmp 0x1009d64a
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.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x2a4]
jmp 0x1009d64a
mov dword [ebp - 0x2a8], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x2a8]
jmp 0x1009d64a
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