Function at 0x422380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514620
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x56d06c]
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 esi, ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x42244c
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x4223e5
mov eax, dword [esi]
jmp 0x4223e7
mov eax, esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call edx
add esp, 8
test eax, eax
je 0x422566
push str.Tencent_Technology_Shenzhen__Company_Limited
lea ecx, [ebp - 0x28]
call fcn.004198d0
test eax, eax
je 0x422430
push str.Adobe_Inc.
lea ecx, [ebp - 0x28]
call fcn.004198d0
test eax, eax
je 0x422430
push 0x556c8c
lea ecx, [ebp - 0x28]
call fcn.004198d0
test eax, eax
jne 0x422566
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42244c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
push 0x40
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0x44
push 0
push eax
call fcn.004e9ab0
xor eax, eax
mov dword [ebp - 0x90], 1
add esp, 0xc
mov word [ebp - 0x8c], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
cmp dword [ebp - 0x2c], eax
jne 0x4225a6
cmp dword [ebp + 0x10], eax
je 0x4225a6
call fcn.00422160
test eax, eax
je 0x4225a6
push 0x38
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x3c
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x74], 0x40
cmp dword [esi + 0x14], 8
jb 0x4224c8
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x68], esi
jb 0x4224d3
mov edi, dword [edi]
push 0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], str.RunAs
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
js 0x422582
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x42253e
mov eax, dword [ebp + 8]
test eax, eax
je 0x42253e
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x8000ffff
test ebx, ebx
je 0x42253e
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x422548
push ecx
call edi
mov eax, esi
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.00471876
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42257b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
mov eax, 0x800704b4
jmp 0x42254a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x422509
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x80004004
test ebx, ebx
je 0x42253e
mov dword [ebx], eax
jmp 0x42253e
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x556ca8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041dd00
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00419e90
push 2
push 0x556cac
lea ecx, [ebp - 0x28]
call fcn.00419d60
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x28]
call fcn.00419e90
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
test edi, edi
je 0x4226cd
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jns 0x4226f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x4226f0
push str.CreateProcessWithTokenW
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4226a4
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0xbc]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push edi
call ecx
jmp 0x4226de
mov esi, 0x80004002
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42250f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
jmp 0x42250f
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
test esi, esi
js 0x4226a9
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4226af
push eax
call edi
mov dword [ebp - 0x38], 0
jmp 0x4226af