Function at 0x4495e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5292bb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x230], ecx
cmp edi, esi
je 0x4498af
cmp word [edi], si
je 0x4498af
push edi
push str.CmdLine:__s.
push str.kupdate::KProcessUtils::RunAsUser
push 0x243
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 7
call fcn.0041a9b0
push 0x40
lea edx, [ebp - 0x280]
push esi
push edx
mov dword [ebp - 0x284], 0x44
call fcn.004ba010
xor eax, eax
add esp, 0x24
push str.userenv.dll
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x449720
cmp ebx, 0xffffffff
je 0x449720
push str.CreateEnvironmentBlock
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call ebx
mov esi, eax
mov eax, dword [ebp - 0x220]
push str.DestroyEnvironmentBlock
push eax
call ebx
mov dword [ebp - 0x228], eax
test esi, esi
je 0x449718
test eax, eax
je 0x449718
cmp dword [ebp - 0x224], 0
je 0x449718
mov ecx, dword [ebp - 0x224]
push 0
push ecx
lea edx, [ebp - 0x21c]
push edx
call esi
test eax, eax
je 0x449718
mov ebx, dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x400
xor esi, esi
jmp 0x449759
mov ebx, dword [ebp - 0x220]
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jle 0x449734
and eax, 0xffff
or eax, 0x80070000
push eax
push str.CreateEnvironmentBlock_failed_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x260
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
mov dword [ebp - 0x21c], esi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x218], ax
call fcn.004ba010
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.004bd49e
mov ecx, dword [ebp - 0x230]
add esp, 0x18
cmp ecx, esi
je 0x4497ee
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4497a0
mov eax, dword [0x53e978]
mov dword [edi], eax
mov eax, ecx
mov edx, ecx
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4497b7
lea edi, [ebp - 0x218]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, si
jne 0x4497d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x284]
push edx
push esi
push eax
mov eax, dword [ebp - 0x224]
push ecx
push esi
push esi
push esi
lea edx, [ebp - 0x218]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x449836
push eax
call dword [ebp - 0x228]
test esi, esi
jne 0x449883
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x44984e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.CreateProcess_AsUser__Failed:_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x272
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
test ebx, ebx
je 0x44987f
cmp ebx, 0xffffffff
je 0x44987f
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
jmp 0x4498d1
mov ecx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x240]
push edx
call esi
test ebx, ebx
je 0x4498ab
cmp ebx, 0xffffffff
je 0x4498ab
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor eax, eax
jmp 0x4498d1
push 0x542a80
push str.kupdate::KProcessUtils::RunAsUser
push 0x240
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push esi
call fcn.0041a9b0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret