Function at 0x10054410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x88]
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
cmp edi, ebx
jne 0x10054487
cmp esi, ebx
jne 0x1005446e
push 0x578
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
cmp dword [esi + 4], ebx
jne 0x10054487
push 0x579
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 edi
push str.Executing_sync_command:__s_n
call sym.vmtools.dll_Debug
push 0x44
lea ecx, [ebp - 0x88]
push ebx
push ecx
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0x14
mov edx, 6
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x88], 0x44
mov dword [ebp - 0x5c], 1
mov word [ebp - 0x58], dx
cmp esi, ebx
jne 0x100544d5
lea esi, [ebp - 0x44]
jmp 0x100544e3
cmp dword [esi + 0x20], ebx
jne 0x100544fc
lea eax, [ebp - 0x88]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], ebx
jne 0x100544fc
push 0x589
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
cmp edi, ebx
je 0x10054533
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10054505
push ebx
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push eax
push edi
call sym.vmtools.dll_CodeSet_Utf8ToUtf16le
add esp, 0x10
test al, al
jne 0x10054533
push str.ProcMgr_ExecAsync:_Could_not_convert_cmd_to_UTF_16_n
call sym.vmtools.dll_Warning
add esp, 4
jmp 0x10054641
mov eax, dword [esi]
cmp eax, ebx
jne 0x1005456b
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [esi + 0x18]
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 edi, eax
jmp 0x100545d6
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.10053fb0
mov ecx, dword [esi + 0x20]
add esp, 8
mov byte [ebp - 1], al
cmp dword [ecx + 8], ebx
jne 0x10054594
cmp al, bl
mov eax, str.winsta0default
jne 0x10054591
mov eax, 0x10063860
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [esi + 0x18]
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
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
cmp byte [ebp - 1], bl
je 0x100545d6
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
cmp edi, ebx
jne 0x100545fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
push edx
push str.Unable_to_create_sync_process__s:__d_n
call sym.vmtools.dll_Warning
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
push eax
push str.Spawned_sub_process__d_n
call sym.vmtools.dll_Debug
mov ecx, dword [ebp - 0x18]
add esp, 8
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 1], bl
je 0x10054628
mov edx, dword [esi]
push edx
call fcn.10054210
add esp, 4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10054641
cmp dword [ebp - 0x20], ebx
sete byte [ebp - 2]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR90.dll_free]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
mov al, byte [ebp - 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret