Function at 0x100546b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
lea eax, [ebp - 0x7c]
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
jne 0x1005473b
cmp esi, ebx
jne 0x10054705
push 0x609
push str.d:_build_ob_bora_4448491_bora_vmsoft_lib_procMgr_procMgrWin32.c
push str.NOT_IMPLEMENTED__s:_d_n
call sym.vmtools.dll_Panic
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x10054720
push 0x60a
push str.d:_build_ob_bora_4448491_bora_vmsoft_lib_procMgr_procMgrWin32.c
push str.NOT_IMPLEMENTED__s:_d_n
call sym.vmtools.dll_Panic
push eax
push 0x10079ac4
push ebx
call sym.vmtools.dll_Str_SafeAsprintf
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x1005473b
mov eax, 0x1005df52
push eax
push str.ProcMgr_ExecAsync:_Executing_async_command:__s_n
call sym.vmtools.dll_Debug
add esp, 8
push 0x14
push 1
call sym.vmtools.dll_UtilSafeCalloc0
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
cmp edi, ebx
je 0x10054916
push 0x44
lea ecx, [ebp - 0x7c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, 6
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 1
mov word [ebp - 0x4c], dx
cmp esi, ebx
jne 0x10054791
lea esi, [ebp - 0x38]
jmp 0x1005479c
cmp dword [esi + 0x20], ebx
jne 0x100547b5
lea eax, [ebp - 0x7c]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], ebx
jne 0x100547b5
push 0x623
push str.d:_build_ob_bora_4448491_bora_vmsoft_lib_procMgr_procMgrWin32.c
push str.NOT_IMPLEMENTED__s:_d_n
call sym.vmtools.dll_Panic
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x100547f1
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100547c0
push ebx
lea ecx, [ebp - 8]
sub eax, edx
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
call sym.vmtools.dll_CodeSet_Utf8ToUtf16le
add esp, 0x10
test al, al
jne 0x100547f1
push str.ProcMgr_ExecAsync:_Could_not_convert_cmd_to_UTF_16_n
call sym.vmtools.dll_Warning
add esp, 4
jmp 0x10054916
mov eax, dword [esi]
cmp eax, ebx
jne 0x10054845
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
push edi
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
jne 0x10054905
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ProcMgr_ExecAsync:_CreateProcess_failed__d_n
call sym.vmtools.dll_Warning
add esp, 8
jmp 0x10054905
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.10053fb0
add esp, 8
mov byte [ebp - 1], al
cmp al, bl
je 0x10054894
push 2
push ebx
push ebx
add edi, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
mov edx, dword [esi]
push eax
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x10054891
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi]
push eax
push str.ProcMgr_ExecAsync:_DuplicateHandle_failed_token___x__result___d_n
call sym.vmtools.dll_Warning
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0x20]
cmp dword [eax + 8], ebx
jne 0x100548ae
mov ecx, str.winsta0default
cmp byte [ebp - 1], bl
jne 0x100548ab
mov ecx, 0x10063860
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edi
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [ebp - 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
cmp esi, ebx
jne 0x100548f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ProcMgr_ExecAsync:_CreateProcessAsUser_failed__d_n
call sym.vmtools.dll_Warning
add esp, 8
cmp byte [ebp - 1], bl
je 0x10054905
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp esi, ebx
jne 0x10054952
push edi
call sym.vmtools.dll_ProcMgr_Free
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
add esp, 4
cmp eax, ebx
jne 0x10054934
mov eax, 0x1005df52
cmp esi, ebx
je 0x10054934
mov eax, esi
push eax
push str.ProcMgr_ExecAsync:_Unable_to_create_async_process__s_n
call sym.vmtools.dll_Warning
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
push ecx
push str.Spawned_sub_process__d_n
call sym.vmtools.dll_Debug
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret