Function at 0x421aa0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a1546
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push str.Bcdedit
push 0x5bf1e0
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, 1
cmp dword [esp + 0x20], esi
jne 0x421d54
call fcn.004a581f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421b2d
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x33
push str.cmd.exe__c_bcdedit__set_bootmgr_flightsigning_off
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], ebx
call fcn.0040c660
call fcn.004a581f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421b6e
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x29
push str.cmd.exe__c_bcdedit__set_flightsigning_off
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 1
call fcn.0040c660
push 0x40
lea ecx, [esp + 0x5c]
push ebx
push ecx
mov dword [esp + 0x38], ebx
call fcn.004e5fc0
xor eax, eax
xor edx, edx
add esp, 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], esi
mov word [esp + 0x84], dx
mov dword [esp + 0x1c], ebx
call fcn.00472f30
test eax, eax
je 0x421bff
lea eax, [esp + 0x1c]
push eax
call fcn.004890c0
add esp, 4
mov edi, dword [esp + 0x18]
cmp dword [edi - 4], esi
jle 0x421c19
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040bc90
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
call ebp
mov esi, eax
mov eax, dword [edi - 8]
push eax
push edi
mov dword [esp + 0x30], esi
call fcn.004e662e
add esp, 8
cmp eax, ebx
jl 0x421cae
cmp eax, dword [edi - 8]
jg 0x421cae
xor ecx, ecx
mov dword [edi - 0xc], eax
cmp esi, ebx
mov esi, dword [esp + 0x14]
mov word [edi + eax*2], cx
je 0x421cb8
cmp dword [esi - 4], 1
jle 0x421c77
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.0040bc90
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call ebp
mov ebp, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e662e
add esp, 8
cmp eax, ebx
jl 0x421cae
cmp eax, dword [esi - 8]
jg 0x421cae
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
jmp 0x421cbc
push 0x80070057
call fcn.0040b390
mov ebp, dword [esp + 0x2c]
call fcn.00472f30
test eax, eax
je 0x421cd6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00489100
add esp, 4
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x28], ebx
je 0x421cf2
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x421d0a
mov eax, dword [esp + 0x48]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
mov ecx, dword [esp + 0x44]
push ecx
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0xa0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret