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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
xor esi, esi
push 0x20
lea eax, [esp + 0x44]
push esi
push eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call fcn.00414710
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x48], ebp
mov byte [esp + 0x64], bl
test al, 1
je 0x448393
mov byte [esp + 0x64], 1
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
push ebp
call fcn.0043affb
test al, al
je 0x4485c8
test byte [esp + 0x70], 2
je 0x4483eb
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x6c]
push ecx
push 1
push 2
push 0
push 0
push edx
call dword [0x483050]
test eax, eax
je 0x4485c8
mov eax, dword [esp + 0x18]
push eax
call dword [0x483308]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
push 0x60000
push 0
push str.winsta0
call dword [0x48367c]
mov edi, eax
test edi, edi
je 0x4485c8
cmp edi, 0xffffffff
je 0x4485c8
call dword [0x483678]
push edi
mov dword [esp + 0x28], eax
call dword [0x483674]
test eax, eax
je 0x4485c8
push 0x60081
push 0
push 0
push str.default
call dword [0x483670]
mov ebx, eax
test ebx, ebx
je 0x4485c8
cmp ebx, 0xffffffff
je 0x4485c8
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0043b02e
test al, al
je 0x4485c8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
push edi
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0xb
mov dword [esp + 0x38], 0xf0000000
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 4
mov dword [esp + 0x44], 0xf037f
call fcn.00448133
test al, al
je 0x4485c8
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
push ebx
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov dword [esp + 0x38], 0xf01ff
call fcn.00447f26
test al, al
je 0x4485c8
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x2c]
mov dword [eax + 8], str.winsta0default
mov eax, dword [esp + 0x74]
and ebp, 0x100
mov dword [esp + 0x6c], ebp
test eax, eax
je 0x448529
push eax
call fcn.004127f5
mov ebp, eax
inc ebp
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c3a
mov esi, eax
mov eax, dword [esp + 0x7c]
push ebp
push eax
push esi
call fcn.0041478a
mov ebp, dword [esp + 0x80]
add esp, 0x14
cmp byte [esp + 0x64], 0
je 0x448548
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
je 0x4485c8
test byte [esp + 0x70], 4
jne 0x448565
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x4485c8
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
or eax, 0x400
push eax
mov eax, dword [esp + 0x2c]
push ebp
push 0
push 0
push esi
push 0
push eax
call dword [0x483054]
test eax, eax
je 0x4485c8
cmp byte [esp + 0x64], 0
je 0x4485c1
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
call fcn.0043af93
mov byte [esp + 0x17], 1
jmp 0x4485dc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4485dc
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043ae5c
add esp, 4
push edi
call dword [0x48366c]
push ebx
call dword [0x483668]
mov eax, dword [esp + 0x24]
push eax
call dword [0x483674]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x483308]
push esi
call fcn.0041294d
mov edx, dword [esp + 0x24]
add esp, 4
push edx
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