Function at 0x441836
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ecx
cmp eax, esi
je 0x441a6a
cmp word [eax], si
je 0x441a6a
push ebx
push eax
push str.CmdLine:__s.
push str.kupdate::KProcessUtils::RunAsUser
push 0x22f
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcutilKProcessUtils.cpp
push 7
call fcn.004081cf
push 0x40
lea eax, [ebp - 0x274]
push esi
push eax
mov dword [ebp - 0x278], 0x44
call fcn.004de430
mov dword [ebp - 0x234], esi
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
stosd dword es:[edi], eax
push str.userenv.dll
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x210], esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
je 0x441938
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push ebx
call edi
push str.DestroyEnvironmentBlock
push ebx
mov dword [ebp - 0x21c], eax
call edi
mov edi, eax
cmp dword [ebp - 0x21c], esi
je 0x441938
cmp edi, esi
je 0x441938
cmp dword [ebp - 0x214], esi
je 0x441938
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0x21c]
test eax, eax
je 0x441938
mov dword [ebp - 0x218], 0x400
jmp 0x441971
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x44194c
and eax, 0xffff
or eax, 0x80070000
push eax
push str.CreateEnvironmentBlock_failed_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x24c
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcutilKProcessUtils.cpp
push 5
call fcn.004081cf
add esp, 0x18
mov dword [ebp - 0x210], esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004de430
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push eax
call fcn.004e081c
add esp, 0x14
cmp dword [ebp - 0x220], esi
je 0x4419cf
lea eax, [ebp - 0x20c]
push 0x513fdc
push eax
call fcn.004e07eb
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.004e07eb
add esp, 0x10
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x278]
push eax
push esi
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push esi
push esi
push esi
push eax
push esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
cmp dword [ebp - 0x210], esi
je 0x441a13
push dword [ebp - 0x210]
call edi
cmp ebx, esi
pop ebx
jne 0x441a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x441a2c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push str.CreateProcess_AsUser__Failed:_0x_08x.
push str.kupdate::KProcessUtils::RunAsUser
push 0x25e
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcutilKProcessUtils.cpp
push esi
call fcn.004081cf
add esp, 0x18
mov eax, edi
jmp 0x441a8c
push dword [ebp - 0x230]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x234]
call esi
xor eax, eax
jmp 0x441a8c
push 0x5163c8
push str.kupdate::KProcessUtils::RunAsUser
push 0x22c
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcutilKProcessUtils.cpp
push esi
call fcn.004081cf
add esp, 0x14
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004dea60
leave
ret