Function at 0x448f52
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.00414fc0
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 0x448fa7
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.0043c358
test al, al
je 0x4491a2
push 0x60000
push 0
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationW]
mov edi, eax
test edi, edi
je 0x4491a2
cmp edi, 0xffffffff
je 0x4491a2
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 0x4491a2
push 0x60081
push 0
push 0
push 0x483948
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov ebp, eax
test ebp, ebp
je 0x4491a2
cmp ebp, 0xffffffff
je 0x4491a2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0043c38b
test al, al
je 0x44919e
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.00448d45
test al, al
je 0x4491a2
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.00448b38
test al, al
je 0x4491a2
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 0x4490fb
push eax
call fcn.0041503a
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.00412dbe
mov ecx, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [esp + 0x74]
push eax
push ecx
push esi
call fcn.00415054
add esp, 0x14
cmp byte [esp + 0x64], 0
je 0x44911a
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
je 0x4491a2
test byte [esp + 0x70], 4
jne 0x449137
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 0x4491a2
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 0x4491a2
cmp byte [esp + 0x64], 0
je 0x449197
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.0043c2f0
mov byte [esp + 0x17], 1
jmp 0x4491b6
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4491b6
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
push ebx
call fcn.0043c1cb
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.00412f61
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