Function at 0x4204c0
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5795
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x67d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x44], 7
push eax
push 0x622628
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407060
push 0xb
push str.__pipename
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.004097c0
push 0xffffffffffffffff
push 0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x58]
call fcn.00408dc0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0
push eax
lea ecx, [ebp - 0x70]
call fcn.0049f340
add esp, 8
lea ecx, [ebp - 0x58]
push 7
push str.___pid
call fcn.004097c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00408dc0
push 0x38
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 0x3c
push 0
push eax
call fcn.005b3770
xor eax, eax
mov dword [ebp - 0xa8], 0x540
add esp, 0xc
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0049bda0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
call fcn.0049ab30
mov eax, dword [0x689928]
test eax, eax
jne 0x420627
push 0x3d8
call fcn.00599c81
mov esi, eax
add esp, 4
mov dword [ebp - 0xb0], esi
push 0x3d8
push 0
push esi
mov byte [ebp - 4], 3
call fcn.005b3770
add esp, 0xc
mov ecx, esi
call fcn.0042ca50
mov byte [ebp - 4], 2
mov dword [0x689928], eax
mov al, byte [eax + 0xf6]
test al, al
je 0x420656
cmp dword [ebp - 0xbc], 5
jne 0x420656
mov eax, dword [ebp - 0xb8]
cmp eax, 1
je 0x42064a
cmp eax, 2
jne 0x420656
mov dword [ebp - 0xa0], str.open
jmp 0x420660
mov dword [ebp - 0xa0], str.runas
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x98], eax
xor eax, eax
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00407550
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0049c780
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x90], 0xa
cmovae eax, dword [ebp - 0x28]
xor bl, bl
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x74]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4206f5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x42071e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x420747
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407b40
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x42075c
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00407b40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599c70
mov esp, ebp
pop ebp
ret