Function at 0x4238b1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462dbe
call fcn.0043c280
sub esp, 0xa4
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x19]
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x50], 0x4675f0
mov dword [ebp - 0x30], 0x4675e8
call fcn.0040b060
mov esi, 0x4764a4
mov dword [ebp - 4], ebx
push esi
call fcn.0043c64f
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0040b2ca
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.004269de
call fcn.0042e972
test al, al
je 0x423944
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x423933
mov dword [ebp + 0x10], 0x200
jmp 0x423944
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x423944
mov dword [ebp + 0x10], 0x100
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x423ee1
push esi
lea eax, [ebp - 0xb0]
push ebx
push eax
mov ecx, edi
call fcn.0040a53c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004064f1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00405fc5
mov esi, str.HKEY_CLASSES_ROOT
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239aa
mov dword [ebp - 0x14], SysReAllocString
jmp 0x423a9c
mov esi, str.HKEY_CURRENT_USER
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239d4
mov dword [ebp - 0x14], VariantInit
jmp 0x423a9c
mov esi, str.HKEY_LOCAL_MACHINE
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239fe
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x423a9c
mov esi, str.HKEY_USERS
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423a25
mov dword [ebp - 0x14], VariantInit
jmp 0x423a9c
mov esi, str.HKEY_PERFORMANCE_DATA
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423a4c
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x423a9c
mov esi, str.HKEY_CURRENT_CONFIG
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423a73
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysFreeString
jmp 0x423a9c
mov esi, str.HKEY_DYN_DATA
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423ee1
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysStringLen
push dword [0x4675f8]
lea eax, [ebp - 0xb0]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040a53c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004064f1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00405fc5
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x423ae1
mov eax, 0x4675fc
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 0x18]
or esi, 0x20019
push ecx
push esi
push ebx
push eax
mov dword [ebp + 0x18], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x423e96
lea ecx, [ebp - 0x10]
call fcn.00408e7a
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x423e96
cmp dword [ebp + 8], 1
jne 0x423b2b
cmp dword [ebp + 0xc], 1
sete byte [ebp + 0xf]
jmp 0x423b9e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], 4
lea edi, [eax + 4]
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x423b44
mov eax, 0x4675fc
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x54]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x423bf4
cmp dword [ebp - 0x54], 4
jne 0x423bfd
cmp dword [ebp - 0x24], 4
jne 0x423bfd
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.004269de
mov eax, dword [ebp + 0xc]
dec eax
je 0x423bef
dec eax
je 0x423be3
dec eax
dec eax
je 0x423bd7
sub eax, 0xc
je 0x423bc9
sub eax, 0x10
je 0x423bbd
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00408e7a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405fc5
mov al, byte [ebp + 0xf]
jmp 0x423eef
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x423b9e
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jmp 0x423b25
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x423b9e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x423b9e
mov eax, dword [ebp - 0x18]
jmp 0x423bcf
cmp eax, 2
je 0x423e96
push esi
lea eax, [ebp + 0x13]
sub esp, 0x28
mov esi, 0x47e390
mov ecx, esp
mov dword [ebp - 0x84], esp
push 1
push eax
push esi
call fcn.00401741
sub esp, 0x28
lea eax, [ebp + 0x1b]
mov edx, esp
mov dword [ebp - 0x88], esp
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], edx
call fcn.0040a3a6
push eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.00401741
sub esp, 0x28
lea eax, [ebp + 0x17]
mov edi, esp
mov dword [ebp - 0x28], esp
push 1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0040a3a6
push eax
mov ecx, edi
call fcn.00401741
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
call fcn.0042f78f
add esp, 0x84
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp + 0x1c], 0x4675fc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x423c94
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.0043c64f
pop ecx
push eax
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
call fcn.004022ab
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x423d07
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x423cbf
mov eax, 0x467588
cmp eax, ebx
mov dword [ebp - 0xb0], 0x4675f0
mov dword [ebp - 0x90], 0x4675e8
je 0x423cd9
mov esi, eax
lea eax, [ebp + 0xb]
push ebx
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0040b168
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xb0]
push edi
push eax
mov byte [ebp - 4], 7
call fcn.00425f20
jmp 0x423d28
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x423d13
mov edi, 0x4675fc
push edi
call fcn.0043c64f
pop ecx
push eax
push edi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.00402d24
test byte [ebp - 0x20], 1
mov esi, eax
mov dword [ebp - 4], 6
je 0x423d42
lea ecx, [ebp - 0xb0]
call fcn.00405fc5
mov eax, dword [ebp + 0xc]
dec eax
je 0x423e6e
dec eax
je 0x423e46
dec eax
dec eax
je 0x423e1b
sub eax, 4
je 0x423def
sub eax, 8
je 0x423dbd
sub eax, 0x10
je 0x423d92
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423d8b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x423ee1
cmp esi, ebx
lea ecx, [ebp - 0x80]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423db5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x80]
cmp eax, dword [0x4675f8]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423de7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423e13
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp esi, ebx
lea ecx, [ebp - 0x80]
setg byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423e3e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp esi, ebx
lea ecx, [ebp - 0x80]
setl byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423e69
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp esi, ebx
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423e91
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp dword [ebp + 8], 1
jne 0x423eba
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp dword [ebp - 0x10], ebx
je 0x423eb5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423ee1
cmp dword [ebp + 0xc], 2
je 0x423ec9
cmp dword [ebp + 0xc], 0x20
mov byte [ebp + 0xf], bl
jne 0x423ecd
mov byte [ebp + 0xf], 1
cmp dword [ebp - 0x10], ebx
je 0x423ede
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405fc5
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18