Function at 0x44729a
Capabilities:
Create process on windows
Impersonate user

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x20
lea eax, [esp + 0x44]
push esi
xor ebx, ebx
push eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call fcn.00414350
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x48], ecx
mov byte [esp + 0x64], bl
test al, 1
je 0x4472ef
mov byte [esp + 0x64], 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x74]
push eax
push edx
push ecx
call fcn.0043af30
test al, al
je 0x4474ea
push 0x60000
push 0
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationW]
mov edi, eax
test edi, edi
je 0x4474ea
cmp edi, 0xffffffff
je 0x4474ea
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
test eax, eax
je 0x4474ea
push 0x60081
push 0
push 0
push str.default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov ebp, eax
test ebp, ebp
je 0x4474ea
cmp ebp, 0xffffffff
je 0x4474ea
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0043af63
test al, al
je 0x4474e6
lea edx, [esp + 0x28]
mov byte [esp + 0x28], bl
mov byte [esp + 0x34], bl
mov ebx, dword [esp + 0x1c]
push edx
push ebx
push edi
mov byte [esp + 0x35], 0xb
mov dword [esp + 0x38], 0xf0000000
mov byte [esp + 0x41], 4
mov dword [esp + 0x44], 0xf037f
call fcn.0044708d
test al, al
je 0x4474ea
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov dword [esp + 0x38], 0xf01ff
call fcn.00446e80
test al, al
je 0x4474ea
mov eax, dword [esp + 0x80]
mov dword [eax + 8], str.winsta0default
mov eax, dword [eax + 0x2c]
and eax, 0x100
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x447443
push eax
call fcn.004143ca
mov eax, eax
inc eax
xor ecx, ecx
mov dword [esp + 0x70], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
mov ecx, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [esp + 0x74]
push eax
push ecx
push esi
call fcn.004143e4
add esp, 0x14
cmp byte [esp + 0x64], 0
je 0x447462
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
je 0x4474ea
test byte [esp + 0x70], 4
jne 0x44747f
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x4474ea
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x88]
or eax, 0x400
push eax
push ecx
push 0
push 0
push esi
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4474ea
cmp byte [esp + 0x64], 0
je 0x4474df
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.0043aec8
mov byte [esp + 0x17], 1
jmp 0x4474fe
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4474fe
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
push ebx
call fcn.0043ad7c
add esp, 4
push edi
call dword [sym.imp.USER32.dll_CloseWindowStation]
push ebp
call dword [sym.imp.USER32.dll_CloseDesktop]
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00412949
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x24