Function at 0x420d7d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x47f42a
call fcn.00456992
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
call fcn.0040aaed
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push dword [0x4c24ac]
push str.SYSTEMSoftware_sIcarusPending_Operations
push eax
call fcn.0040bead
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x38]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4211d3
mov ebx, dword [ebp - 0x1c]
mov esi, 0x100
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 1
test ebx, ebx
je 0x420fd8
lea ecx, [ebp - 0x10]
call fcn.0040aaed
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov edi, eax
mov dword [ebp - 0x3c], eax
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040a4d3
push eax
xor eax, eax
push eax
jmp 0x420fa6
cmp dword [ebp - 0x30], 7
je 0x420e33
jmp 0x420f5e
mov edx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00420a8e
add esp, 0xc
test eax, eax
jne 0x420f50
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0040aaed
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0040aaed
mov byte [ebp - 4], 5
xor edx, edx
mov edi, dword [ebp - 0x24]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x420e7c
sub edi, ecx
sar edi, 1
je 0x420f2f
mov ebx, dword [ebp - 0x24]
mov ecx, edi
call fcn.00423536
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a4d3
mov ecx, edi
mov esi, eax
call fcn.00423536
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a4d3
mov ecx, dword [ebp - 0x20]
push esi
push eax
add ecx, ebx
push str._MoveFile__________
push ecx
call fcn.0041bc16
add esp, 0xc
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040d778
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040d778
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + edi*2]
add ecx, 2
mov dword [ebp - 0x20], ecx
cmp esi, 2
jne 0x420f0f
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x420f0f
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x420f0f
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00420b06
mov ecx, dword [ebp - 0x20]
lea edi, [ecx + ebx]
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x420f17
sub edi, ecx
sar edi, 1
jne 0x420e94
mov ebx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420f5e
push eax
call fcn.0045f917
pop ecx
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040aacb
lea ecx, [ebp - 0x10]
call fcn.0040aaed
mov byte [ebp - 4], 1
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov edx, 0x100
push eax
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edx
push eax
mov esi, edi
lea ecx, [ebp - 0x10]
inc edi
push edx
mov dword [ebp - 0x3c], edi
call fcn.0040a4d3
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040d778
test esi, esi
je 0x420e28
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov ebx, dword [ebp - 0x1c]
mov esi, 0x100
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor eax, eax
push eax
push str.Protected
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4211d3
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4211e2
lea ecx, [ebp - 0x10]
call fcn.0040aaed
mov byte [ebp - 4], 9
xor ebx, ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push eax
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], esi
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040a4d3
push eax
push ebx
jmp 0x4211ab
cmp dword [ebp - 0x30], 7
je 0x421043
jmp 0x421164
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00420a8e
mov ebx, dword [ebp - 0x3c]
add esp, 0xc
test eax, eax
jne 0x421157
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
call fcn.0040aaed
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0040aaed
mov byte [ebp - 4], 0xd
mov edi, ebx
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x42108e
jmp 0x42112c
mov ecx, edi
call fcn.00423536
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a4d3
mov ecx, edi
mov esi, eax
call fcn.00423536
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a4d3
mov ecx, dword [ebp - 0x24]
push esi
push eax
add ecx, ebx
push str._MoveFile__________
push ecx
call fcn.0041bc16
add esp, 0xc
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0040d778
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040d778
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + edi*2]
add ecx, 2
mov dword [ebp - 0x24], ecx
cmp esi, 2
jne 0x421119
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x421119
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x421119
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00420b06
mov ecx, dword [ebp - 0x24]
lea edi, [ecx + ebx]
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x421121
sub edi, ecx
sar edi, 1
jne 0x42109e
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov edi, dword [ebp - 0x44]
test ebx, ebx
je 0x421162
push ebx
call fcn.0045f917
pop ecx
xor ebx, ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040aacb
lea ecx, [ebp - 0x10]
call fcn.0040aaed
mov byte [ebp - 4], 9
mov ecx, 0x100
mov eax, dword [ebp - 0x40]
mov esi, eax
inc eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040a4d3
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040d778
test esi, esi
je 0x421038
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
cmp dword [ebp - 0x28], 0
je 0x4211e2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 0
je 0x4211f1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
xor eax, eax
call fcn.00456960
ret