Function at 0x44397d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
xor esi, esi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x4439b1
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4439cc
cmp dword [0x6bc38c], ebx
jl 0x4439cc
push str.Environment_created
push 0x67bcdc
push ebx
call fcn.00532652
add esp, 0xc
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x443baf
push 0x60000
push esi
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x443b74
cmp dword [0x6bc38c], ebx
jl 0x443a14
push str.WindowStation_created
push 0x67bd24
push ebx
call fcn.00532652
add esp, 0xc
push edi
push dword [ebp - 0xc]
mov edi, dword [sym.imp.USER32.dll_SetProcessWindowStation]
call edi
test eax, eax
je 0x443b73
push 0x60081
push esi
push esi
push str.default
call dword [sym.imp.USER32.dll_OpenDesktopW]
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
call edi
test eax, eax
je 0x443b73
cmp dword [ebp - 8], esi
je 0x443b73
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0044388d
pop ecx
pop ecx
test eax, eax
je 0x443b73
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.00443bb6
pop ecx
pop ecx
test eax, eax
je 0x443b73
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00443e64
pop ecx
pop ecx
test eax, eax
je 0x443b73
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x443b73
cmp dword [0x6bc38c], ebx
jl 0x443abf
push str.CreateProcessAsUser
push 0x67bd68
push ebx
call fcn.00532652
add esp, 0xc
push 0x44
pop edi
push edi
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.005780d0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x6c], edi
push 0x430
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x64], 0x67bd88
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], bx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x443b2f
cmp dword [0x6bc38c], 3
jl 0x443b4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Process_creation_failed____i
push 0x67bdc8
push 3
call fcn.00532652
add esp, 0x10
jmp 0x443b4c
cmp dword [0x6bc38c], 3
jl 0x443b4c
push str.Process_creation_successfully
push str.StartInteractiveClientProcess
push 3
call fcn.00532652
add esp, 0xc
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], esi
je 0x443b68
cmp dword [ebp - 0x28], 0xffffffff
je 0x443b68
push dword [ebp - 0x28]
call edi
cmp dword [ebp - 0x24], 0xffffffff
je 0x443b73
push dword [ebp - 0x24]
call edi
pop edi
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
cmp dword [ebp - 4], esi
je 0x443b93
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], esi
je 0x443ba1
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CloseWindowStation]
cmp dword [ebp - 8], esi
je 0x443baf
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret