Function at 0x453c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2310
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x453ef0
cmp word [ebx], 0
je 0x453ef0
push ebx
push str.CmdLine:__s.
push str.kupdate::KProcessUtils::RunAsUser
push 0x28e
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 7
call fcn.00412750
push 0x40
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0x24
xor edi, edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push str.userenv.dll
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x453d6b
cmp esi, 0xffffffff
je 0x453d6b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push esi
call edi
push str.DestroyEnvironmentBlock
push esi
mov dword [ebp - 0x1c], eax
call edi
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x453d6b
test edi, edi
je 0x453d6b
mov edi, dword [ebp + 8]
test edi, edi
je 0x453d6b
push 0
push edi
lea ecx, [ebp - 0x10]
push ecx
call eax
test eax, eax
je 0x453d6b
mov dword [ebp - 0x14], 0x400
jmp 0x453da3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453d7d
movzx eax, ax
or eax, 0x80070000
push eax
push str.CreateEnvironmentBlock_failed_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x2ab
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.00412750
add esp, 0x18
mov dword [ebp - 0x10], 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.004201c0
mov edi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
test edi, edi
je 0x453de9
push 1
push 0x4efd50
lea ecx, [ebp + 0xc]
call fcn.004240d0
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x453dd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453dd0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp + 0xc]
call fcn.004240d0
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
jle 0x453e00
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00420570
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push 0
push 0
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov edx, eax
add esp, 8
test edx, edx
js 0x453f25
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x453f25
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x453e61
push eax
call dword [ebp - 0x18]
test edi, edi
jne 0x453e9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x453e7a
movzx edi, di
or edi, 0x80070000
push edi
push str.CreateProcess_AsUser__Failed:_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x2bd
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x18
jmp 0x453ead
push dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x30]
call edi
xor edi, edi
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453ecc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x453edc
cmp esi, 0xffffffff
je 0x453edc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Args.
push str.kupdate::KProcessUtils::RunAsUser
push 0x28b
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x14
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041d0e0
int3