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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x5c9030]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push esi
push edi
mov eax, dword [0x5c9030]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
call fcn.00437f60
push eax
lea ecx, [esp + 0x28]
call fcn.0042a551
and dword [esp + 0x518], 0
call fcn.00437f60
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a551
mov byte [esp + 0x518], 1
call fcn.00437f60
push eax
lea ecx, [esp + 0x20]
call fcn.0042a551
cmp dword [ebp + 8], 0
mov byte [esp + 0x518], 2
je 0x421c47
mov edi, 0x5990a0
push edi
call fcn.005384e9
pop ecx
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.004023bb
jmp 0x421c51
push edi
lea ecx, [esp + 0x1c]
call fcn.0040248a
mov eax, dword [esi]
push 3
push eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x78]
push eax
mov dword [esp + 0x78], ecx
call fcn.0040b67d
mov byte [esp + 0x518], 3
mov ecx, dword [esp + 0x6c]
call fcn.004213e3
mov bl, al
lea eax, [esp + 0x70]
mov byte [esp + 0x518], 2
cmp dword [esp + 0x6c], eax
je 0x421c97
push dword [esp + 0x6c]
call fcn.00537e71
pop ecx
test bl, bl
je 0x421d7d
xor edi, edi
cmp dword [ebp + 8], edi
je 0x421cca
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
jmp 0x421ed8
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push dword [esi]
push str._TEMP_DNAME___s__IP__s
push eax
call fcn.0040a7ee
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push 0x59d334
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421e6f
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x28]
push eax
push edi
push str.BaseModulePath
push dword [esp + 0x28]
mov dword [esp + 0x40], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421d6e
push 0xffffffffffffffff
push str.Corees2utility.exe
lea eax, [esp + 0xfc]
push 0x208
push eax
call fcn.0053cb59
lea eax, [esp + 0x104]
push eax
call fcn.005384e9
add esp, 0x14
push eax
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x24]
call fcn.004023bb
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x421e6f
push dword [esp + 0x18]
mov esi, dword [esi]
push esi
lea eax, [esp + 0x2c]
push str._T:__s___s
push eax
call fcn.0040a7ee
add esp, 0x10
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [esp + 0x2c]
call fcn.00402358
mov byte [esp + 0x518], 4
call fcn.00437f60
push eax
lea ecx, [esp + 0x18]
call fcn.0042a551
mov byte [esp + 0x518], 5
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [esp + 0x18]
push eax
call fcn.00435f91
pop ecx
pop ecx
test eax, eax
je 0x421dfd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0040248a
jmp 0x421e57
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsescfg.exe
lea ecx, [esp + 0x24]
call fcn.00402358
mov byte [esp + 0x518], 6
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [esp + 0x18]
push eax
call fcn.00435f91
pop ecx
pop ecx
test eax, eax
je 0x421e4b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0040248a
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402728
push 0x38
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00538a20
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00402728
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [edi - 0x10]
call fcn.00402728
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.00537e11
mov esp, ebp
pop ebp
ret