Function at 0x4446ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043558c
test al, al
je 0x4446de
push edi
push esp
push esp
pop ebp
pop ebp
push esi
pop ecx
pop edx
pop esp
pop edx
push eax
push eax
push edi
push edx
pop edx
push ebp
pop edx
push esi
pop edx
push ebp
push eax
pop esp
pop edx
push ebx
lea eax, [ebp - 8]
mov edi, 0xf01ff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4448d7
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4448d7
push str.Kernel32.dll
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x444767
push 0x5b27ec
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444760
call eax
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4448d7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004359dc
test al, al
je 0x444792
push edx
pop ebp
push ebp
pop esp
push esp
push esp
push edx
push edi
push esp
push edx
push ecx
pop edi
pop ecx
push eax
pop ecx
push edi
push ebp
pop esp
push esp
push edx
push ecx
push edx
pop eax
push edi
pop esp
push eax
push ebx
push eax
push esp
pop ecx
push ecx
pop ebx
xor ebx, ebx
push str.Wtsapi32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x444971
push 0x5b27d8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4447e1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push dword [ebp - 0x14]
call eax
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp - 0xc]
test eax, eax
jne 0x4447df
call esi
jmp 0x4448d7
call esi
call fcn.00435aab
test al, al
je 0x444804
pop edi
pop edi
push edi
push eax
push edx
push esp
push ebp
push ebp
push ebp
pop esi
pop edx
pop ebx
push eax
pop eax
push edi
pop ecx
pop ebx
pop ecx
pop ebp
pop esp
push edx
push edi
push eax
push edi
pop ebx
push edx
call fcn.0043572a
test al, al
je 0x444826
push ecx
push eax
push edi
push ebp
pop ecx
push ebp
pop esp
push ebp
pop edx
push ebp
push esp
push eax
pop ecx
push esi
pop ebx
pop esp
pop ebp
push esi
pop edi
push eax
pop esp
push esp
push edi
pop edi
push ebx
call fcn.00435997
test al, al
je 0x44484b
push eax
pop ebp
pop esi
push edx
pop esp
pop edi
push ebp
pop esp
push ebp
push esi
push eax
pop ebx
push esi
pop edx
pop ebp
push esi
pop edi
push ebp
push esi
push esi
push esp
pop eax
push eax
pop esp
pop ebx
push edi
pop ecx
push ebp
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0044e770
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0044e770
add esp, 0x18
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], str.WinSta0Default
mov dword [ebp - 0x3c], 1
push 5
pop eax
mov word [ebp - 0x38], ax
call fcn.0043558c
test al, al
je 0x4448a3
push edi
push esp
push esp
pop ebp
pop ebp
push esi
pop ecx
pop edx
pop esp
pop edx
push eax
push eax
push edi
push edx
pop edx
push ebp
pop edx
push esi
pop edx
push ebp
push eax
pop esp
pop edx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 4]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4448d7
cmp dword [ebp - 4], ebx
je 0x4448d5
push dword [ebp - 4]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov bl, 1
call fcn.00435b7a
test al, al
je 0x444900
push eax
pop ecx
push ebx
push edx
push eax
push edx
push edx
pop eax
push edx
push esp
push esi
push esi
push eax
push esi
push ebx
pop ecx
push esp
push esi
pop edx
push esp
push eax
push edx
pop ecx
push ebx
pop ebp
push esp
pop esp
pop ebp
pop eax
push edx
pop ebp
push ebx
call fcn.004358c8
test al, al
je 0x444919
push ebp
push ecx
pop esi
push esp
push ebx
pop eax
push edi
pop esp
pop eax
push edx
push esi
pop edi
push ecx
pop ebp
pop esi
pop ebp
call fcn.00435aab
test al, al
je 0x444942
push ebp
push ecx
push ebp
pop edi
push esp
push esp
pop edx
push edi
push eax
push ebx
pop eax
push esp
push eax
push esp
push ebx
pop esi
push edi
pop ecx
push ebp
push edx
pop eax
push edx
push ebp
pop esp
pop edx
pop eax
pop edx
pop edi
push eax
push esi
push ecx
pop esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x444955
cmp eax, 0xffffffff
je 0x444955
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x444968
cmp ecx, 0xffffffff
je 0x444968
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x4447e1
push dword [ebp - 8]
jmp 0x4447d8