Function at 0x432a00
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x208
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x432c2a
push 0x208
push ebx
push edi
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x432c18
lea ecx, [ebp - 0x21c]
call fcn.00432940
test eax, eax
je 0x432c18
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], edi
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x432ac7
lea eax, [ebp - 0x224]
push eax
push 1
push 1
push edi
push 0x2000000
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x432c18
push 0x44
lea eax, [ebp - 0x284]
mov dword [ebp - 0x218], 0x104
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.00440480
add esp, 0xc
lea eax, [ebp - 0x284]
xorps xmm0, xmm0
movups xmmword [ebp - 0x234], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x284], 0x44
push esi
mov dword [ebp - 0x258], 1
mov word [ebp - 0x254], ax
mov dword [ebp - 0x27c], str.WinSta0Default
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
cmp dword [ebp - 0x288], edi
jne 0x432b6f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
lea ecx, [ebp - 0x214]
cmove ecx, dword [ebp - 0x288]
mov dword [ebp - 0x288], ecx
push 0
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x432ba3
lea ecx, [ebp - 0x238]
push ecx
call eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x288]
push dword [ebp - 0x21c]
push 0x420
push 0
push 0
push 0
push dword [ebp - 0x28c]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x432bfa
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x234]
push dword [ebp - 0x230]
mov edi, dword [ebp - 0x22c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x432c11
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call ecx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret