Function at 0x42b440
Capabilities:
Create process on windows
Impersonate user
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
push 0x20
push 1
call fcn.0057f01b
xor esi, esi
add esp, 8
lea ecx, [ebp - 0xe4]
mov edi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], esi
call fcn.00448f00
mov eax, dword [0x62d034]
mov edx, dword [eax + 0xc]
and dword [ebp - 0x3c], 0xfffffe00
mov ecx, 0x62d034
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x62d034]
mov edx, dword [eax + 0xc]
mov ecx, 0x62d034
call edx
push str._________Inside_ExecuteWithTokenEx_Method___________n
mov ebx, eax
mov dword [ebp - 0x48], esi
call fcn.0043d390
push esi
push str.ExecuteWithTokenEx_:_showUI_is__d_n
call fcn.0043d7e0
push esi
push str.ExecuteWithTokenEx_:_enableLogging_is__d_n
call fcn.0043d7e0
add esp, 0x14
cmp dword [0x63475c], esi
je 0x42b53c
mov eax, dword [ebp + 0xc]
push eax
push str.ExecuteWithTokenEx_:_Shutdown_is_in_Progress._So_returning_without_executing_the_process__s_._n
call fcn.0043d500
add esp, 8
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4fe
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b51d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
call fcn.0042ca60
lea ecx, [ebp - 0xe4]
call fcn.00448f80
mov eax, 0x4d5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x44
lea ecx, [ebp - 0x94]
push esi
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00584f40
push str.Inside_showUI_is_false_n
mov dword [ebp - 0x94], 0x44
call fcn.0043d7e0
mov eax, dword [ebp + 8]
add esp, 0x10
mov edx, 1
push edx
push eax
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0x68], 1
mov word [ebp - 0x64], dx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42b5a2
push str.ExecuteWithTokenEx_:_EnvironmentBlock_Created_sucessfully__n
call fcn.0043d7e0
add esp, 4
jmp 0x42b5c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043f8a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ExecuteWithTokenEx_:_Error_in_EnvironmentBlock_Creation_with_error__d___s
call fcn.0043d7e0
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [edi + 8]
mov dword [edi], 0x20
mov dword [edi + 4], 1
push eax
mov eax, dword [ebp + 8]
call fcn.0042beb0
add esp, 8
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov ecx, dword [ebp + 8]
push edi
push ecx
call dword [sym.imp.USERENV.dll_LoadUserProfileA]
test eax, eax
je 0x42b610
push str.ExecuteWithTokenEx_:_profile_Loaded_sucessfully__n
call fcn.0043d7e0
add esp, 4
jmp 0x42b631
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp - 0x14], eax
call fcn.0043f8a0
mov edx, dword [ebp - 0x14]
push eax
push edx
push str.ExecuteWithTokenEx_:_Error_in_Loading_profile_with_error__d___s
call fcn.0043d7e0
add esp, 0x10
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp + 8]
push esi
push edx
push 0xc000400
push esi
push esi
push esi
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp eax, esi
jne 0x42b68b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ExecuteWithTokenEx_:_Failed_to_Create_the_Process__d_n
mov dword [ebp - 8], eax
call fcn.0043d500
mov edx, dword [ebp - 8]
push edx
call fcn.0043f8a0
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00440b70
add esp, 0x14
jmp 0x42b78e
mov ecx, dword [ebp - 0x24]
push 0x36ee80
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x42b6b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ExecuteWithTokenEx_:_WaitForSingleObject_Failed_with_error_code__d__n
call fcn.0043d500
add esp, 8
jmp 0x42b78e
cmp eax, esi
je 0x42b720
mov edx, dword [ebp + 0xc]
push 0x3c
push edx
push str.ExecuteWithTokenEx_:_Terminating_the_Process_for_application__s_as_time_is_exceeded__d_Minutes__n
mov dword [ebp - 8], 0x102
call fcn.0043d7e0
mov eax, dword [ebp - 8]
push eax
call fcn.0043f8a0
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.00440b70
mov edx, dword [ebp - 0x24]
add esp, 0x18
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x42b70a
push str.ExecuteWithTokenEx_:_The_process_has_been_successfully_terminated_..___n
call fcn.0043d7e0
add esp, 4
jmp 0x42b78e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ExecuteWithTokenEx_:_The_process_termination_is_failed_with_error_code_:__d__n
call fcn.0043d500
add esp, 8
jmp 0x42b78e
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42b74b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ExecuteWithTokenEx_:_Unable_to_find_the_exit_code_for_the_application_and_the_error_code_is_:__d__n
mov dword [ebp - 8], eax
call fcn.0043d7e0
jmp 0x42b670
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043f8a0
mov edx, dword [ebp + 0x10]
push eax
push edx
call fcn.00440b70
mov eax, dword [ebp - 8]
push eax
push str.ExecuteWithTokenEx_:_Exit_code_of_the_process_:__d__n
call fcn.0043d7e0
mov eax, dword [ebp - 8]
add esp, 0x14
cmp eax, 0xbc2
je 0x42b78b
cmp eax, 0x669
je 0x42b78b
cmp eax, esi
je 0x42b78b
cmp eax, 0x5e4
jne 0x42b78e
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
je 0x42b7ab
push str.ExecuteWithToken_:_EnvironmentBlock_destroyed_sucessfully__n
call fcn.0043d7e0
add esp, 4
jmp 0x42b7c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.0043f8a0
push eax
push esi
push str.ExecuteWithToken_:_Error_in_destroying_EnvironmentBlock__with_error__d___s
call fcn.0043d7e0
add esp, 0x10
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
test eax, eax
je 0x42b7e9
push str.ExecuteWithToken_:_Profile_Unloaded_sucessfully__n
call fcn.0043d7e0
add esp, 4
jmp 0x42b806
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.0043f8a0
push eax
push esi
push str.ExecuteWithToken_:_Error_in_Unloading_profile_with_error__d___s
call fcn.0043d7e0
add esp, 0x10
push str.__________End_Of_ExecuteInUserSession_Method___________n
call fcn.0043d390
mov esi, dword [ebp - 8]
add esp, 4
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b82f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b84e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
call fcn.0042ca60
lea ecx, [ebp - 0xe4]
call fcn.00448f80
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret