Function at 0x42fcd0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d57e4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1218
call fcn.004848f0
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1070], edi
mov esi, ecx
sub esp, 8
lea ecx, [ebp - 0x1228]
call fcn.004298f0
mov edx, 0x542d04
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1218]
call fcn.004241d0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42fd4e
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.0042a220
add esp, 4
mov edx, 0x542cfc
mov ecx, eax
call fcn.004241d0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x42fd71
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.0042a220
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1210]
push eax
call fcn.004265c0
mov byte [ebp - 4], 1
mov edx, dword [0x57396c]
test edx, edx
je 0x42fdc4
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push 0x542d08
push edx
call dword [eax + 4]
mov ecx, dword [0x57396c]
add esp, 0xc
test ecx, ecx
je 0x42fdc4
mov eax, dword [ecx]
call dword [eax + 8]
push 0x40
lea eax, [ebp - 0x1174]
mov dword [ebp - 0x1178], 0x44
push 0
push eax
call fcn.004a9e70
xorps xmm0, xmm0
lea eax, [ebp - 0x106c]
movups xmmword [ebp - 0x106c], xmm0
mov dword [ebp - 0x1078], eax
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x107c], eax
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1130]
call fcn.004298f0
mov al, byte [ebx + 0xc]
lea edx, [ebp - 0x2c]
and al, 1
mov byte [ebp - 4], 4
xor edi, edi
mov byte [ebx + 0xc], al
cmp dword [ebp - 0x18], 8
mov ecx, esi
mov byte [ebp - 0x1074], al
cmovae edx, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 8
jb 0x42fe3b
mov ecx, dword [esi]
lea eax, [ebp - 0x1130]
push eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x1178]
push eax
push dword [ebx + 8]
push ecx
call fcn.00429040
add esp, 0x14
test al, al
je 0x42ff86
cmp byte [ebx + 0xc], 0
je 0x42fea9
mov esi, dword [ebp - 0x106c]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42fe9d
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x105c], edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42fea6
mov edi, dword [ebp - 0x105c]
jmp 0x42fea9
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or edi, 0xffffffff
mov edx, dword [0x57396c]
test edx, edx
je 0x42fece
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push edi
push ecx
push str.ACTION_StartUsingPid_finished_using_RunAsProcessUser___s_:__d_r_n
push edx
call dword [eax + 4]
add esp, 0x10
lea ecx, [ebp - 0x1130]
call fcn.00428940
mov eax, dword [ebp - 0x1068]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42fef6
push eax
call esi
mov dword [ebp - 0x1068], 0
mov eax, dword [ebp - 0x106c]
test eax, eax
je 0x42ff0d
push eax
call esi
mov dword [ebp - 0x106c], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42ff47
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ff3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430167
push edx
push ecx
call fcn.004835cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1228]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00428940
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x57396c]
mov dword [ebp - 0x105c], eax
test eax, eax
je 0x430006
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1118]
call fcn.004265c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov edx, dword [ebp - 0x105c]
cmovae ecx, dword [ebp - 0x44]
push ecx
push str.RunAsProcessUser_failed_with_error:___s_._Trying_to_use_RunProcessAsExplorerUser
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 4
add esp, 0xc
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x430006
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fffc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43016c
push edx
push ecx
call fcn.004835cc
add esp, 8
mov eax, dword [ebp - 0x1130]
lea ecx, [ebp - 0x1130]
xor edx, edx
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.0040a170
mov edx, dword [ebp - 0x1070]
mov dword [ebp - 0x105c], 0xffffffff
cmp dword [edx + 0x14], 8
jb 0x430044
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x43004c
mov esi, dword [esi]
lea eax, [ebp - 0x105c]
push eax
push dword [ebp - 0x1074]
lea eax, [ebp - 0x1130]
push eax
push ecx
mov ecx, esi
call fcn.00429430
add esp, 0x10
test al, al
je 0x4300f8
mov edx, dword [0x57396c]
mov esi, dword [ebp - 0x105c]
test edx, edx
je 0x43009e
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push esi
push ecx
push str.ACTION_StartUsingPid_finished_using_RunProcessAsExplorerUser___s_:__d_r_n
push edx
call dword [eax + 4]
add esp, 0x10
cmp byte [ebx + 0xc], 0
je 0x4300bd
cmp esi, 0xffffffff
je 0x4300bd
mov ecx, esi
call fcn.0042fc90
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
jmp 0x4300c3
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1130]
call fcn.00428940
mov eax, dword [ebp - 0x1068]
test eax, eax
je 0x4300e5
push eax
call esi
mov dword [ebp - 0x1068], 0
mov eax, dword [ebp - 0x106c]
test eax, eax
je 0x42ff0d
jmp 0x42ff00
cmp dword [0x57396c], 0
je 0x430142
mov ecx, 0x57396c
call fcn.00420bb0
mov edi, eax
lea ecx, [ebp - 0x1130]
lea eax, [ebp - 0x44]
push eax
call fcn.004298d0
mov byte [ebp - 4], 6
mov ecx, eax
mov esi, dword [edi]
call fcn.004119a0
push eax
push str.RunAsProcessUser_failed_with_error:___s_._Trying_to_use_RunProcessAsExplorerUser
push edi
call dword [esi + 4]
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040a8a0
lea eax, [ebp - 0x1058]
push str.StartUsingPid_failed.
push eax
call fcn.0042fbc0
add esp, 8
lea eax, [ebp - 0x1058]
push 0x562400
push eax
call fcn.004a92fe
call fcn.004b1db8
call fcn.004b1db8
int3