Function at 0x423ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4436c4
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4531c4]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2a4], ebx
xor eax, eax
mov word [esp + 0x5c], ax
mov edi, 7
push 0x15
mov eax, str.SOFTWARE2345Explorer
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
call fcn.00401bb0
mov byte [esp + 0x2a4], 1
xor ecx, ecx
push 0x21
mov eax, str.SOFTWAREWow6432Node2345Explorer
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
call fcn.00401bb0
mov byte [esp + 0x2a4], 2
call fcn.00423b40
cmp eax, 0x20
jne 0x423cfa
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x423c5f
lea eax, [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
push 0x20219
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423da0
xor eax, eax
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
push ebx
mov eax, 0x448c30
mov esi, ebp
call fcn.00401bb0
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x423caf
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042a3f0
add esp, 4
xor edx, edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], esi
jb 0x423cd1
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042a3f0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x2c8], esi
jb 0x423f18
mov edx, dword [esp + 0x2b4]
push edx
jmp 0x423f10
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x423d09
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push 0x20119
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423da0
xor edx, edx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
mov eax, 0x448c30
mov esi, ebp
mov word [ebp + 4], dx
call fcn.00401bb0
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x423d55
mov eax, dword [esp + 0x40]
push eax
call fcn.0042a3f0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
cmp dword [esp + 0x70], esi
jb 0x423d77
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042a3f0
add esp, 4
xor eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esp + 0x2c8], esi
jb 0x423f18
mov ecx, dword [esp + 0x2b4]
push ecx
jmp 0x423f10
mov eax, 0x104
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.Path
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
lea eax, [esp + 0x90]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423e00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x94]
lea esi, [esp + 0x78]
call fcn.00401bb0
lea edx, [esp + 0x2b0]
push edx
mov eax, esi
push eax
lea edi, [esp + 0x28]
mov byte [esp + 0x2ac], 3
call fcn.00405930
add esp, 8
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x2ac], 4
call fcn.00401a20
mov esi, 8
mov byte [esp + 0x2a4], 3
cmp dword [esp + 0x38], esi
jb 0x423e71
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042a3f0
add esp, 4
push 0xffffffffffffffff
mov edi, 7
xor edx, edx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x7c]
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00401a20
cmp dword [esp + 0x8c], esi
jb 0x423ea6
mov eax, dword [esp + 0x78]
push eax
call fcn.0042a3f0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp dword [esp + 0x54], esi
jb 0x423ece
mov edx, dword [esp + 0x40]
push edx
call fcn.0042a3f0
add esp, 4
xor eax, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
cmp dword [esp + 0x70], esi
jb 0x423ef0
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042a3f0
add esp, 4
xor edx, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
cmp dword [esp + 0x2c8], esi
jb 0x423f18
mov eax, dword [esp + 0x2b4]
push eax
call fcn.0042a3f0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0042a3fb
add esp, 0x294
ret