Function at 0x4232c6
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462c2a
call fcn.0043b410
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], 0x4675b0
mov dword [ebp - 0x30], 0x4675a8
call fcn.0040b2ce
mov esi, 0x4763ec
mov dword [ebp - 4], ebx
push esi
call fcn.0043b8c2
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0040b538
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.00426551
call fcn.0042e17d
test al, al
je 0x423359
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x423348
mov dword [ebp + 0x10], 0x200
jmp 0x423359
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x423359
mov dword [ebp + 0x10], 0x100
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x4238ec
push esi
lea eax, [ebp - 0xb0]
push ebx
push eax
mov ecx, edi
call fcn.0040a802
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040685a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.0040632e
mov esi, str.HKEY_CLASSES_ROOT
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x4233bf
mov dword [ebp - 0x14], SysReAllocStringLen
jmp 0x4234b1
mov esi, str.HKEY_CURRENT_USER
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x4233e9
mov dword [ebp - 0x14], VariantInit
jmp 0x4234b1
mov esi, str.HKEY_LOCAL_MACHINE
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x423413
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4234b1
mov esi, str.HKEY_USERS
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x42343a
mov dword [ebp - 0x14], VariantInit
jmp 0x4234b1
mov esi, str.HKEY_PERFORMANCE_DATA
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x423461
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x4234b1
mov esi, str.HKEY_CURRENT_CONFIG
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x423488
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysFreeString
jmp 0x4234b1
mov esi, str.HKEY_DYN_DATA
push esi
call fcn.0043b8c2
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cebc
cmp eax, ebx
jne 0x4238ec
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysStringLen
push dword [0x4675b8]
lea eax, [ebp - 0xb0]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040a802
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040685a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.0040632e
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0040bc49
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_RegOpenKeyExA]
cmp eax, ebx
jne 0x4238a4
lea ecx, [ebp - 0x10]
call fcn.00409172
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x4238a7
cmp dword [ebp + 8], 1
jne 0x42353c
cmp dword [ebp + 0xc], 1
sete byte [ebp + 0xf]
jmp 0x4235a9
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x24], 4
call fcn.0040bc49
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4235ff
cmp dword [ebp - 0x54], 4
jne 0x423608
cmp dword [ebp - 0x24], 4
jne 0x423608
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.00426551
mov eax, dword [ebp + 0xc]
dec eax
je 0x4235fa
dec eax
je 0x4235ee
dec eax
dec eax
je 0x4235e2
sub eax, 0xc
je 0x4235d4
sub eax, 0x10
je 0x4235c8
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00409172
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040632e
mov al, byte [ebp + 0xf]
jmp 0x4238fa
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x4235a9
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jmp 0x423536
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x4235a9
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x4235a9
mov eax, dword [ebp - 0x18]
jmp 0x4235da
cmp eax, 2
je 0x4238a4
push esi
lea eax, [ebp + 0x13]
sub esp, 0x28
mov esi, 0x47d770
mov ecx, esp
mov dword [ebp - 0x84], esp
push 1
push eax
push esi
call fcn.00405732
sub esp, 0x28
lea eax, [ebp + 0x1b]
mov edx, esp
mov dword [ebp - 0x88], esp
push 1
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], edx
call fcn.0040a66c
push eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.00405732
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.0040a66c
push eax
mov ecx, edi
call fcn.00405732
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
call fcn.0042ef2c
add esp, 0x84
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp + 0x1c], 0x4675bc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4236a0
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.0043b8c2
pop ecx
push eax
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
call fcn.00402566
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x423713
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x4236cb
mov eax, 0x46756c
cmp eax, ebx
mov dword [ebp - 0xb0], 0x4675b0
mov dword [ebp - 0x90], 0x4675a8
je 0x4236e5
mov esi, eax
lea eax, [ebp + 0xb]
push ebx
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0040b3d6
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.00425901
jmp 0x423734
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x42371f
mov edi, 0x4675bc
push edi
call fcn.0043b8c2
pop ecx
push eax
push edi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.00402f2a
test byte [ebp - 0x20], 1
mov esi, eax
mov dword [ebp - 4], 6
je 0x42374e
lea ecx, [ebp - 0xb0]
call fcn.0040632e
mov eax, dword [ebp + 0xc]
dec eax
je 0x42387c
dec eax
je 0x423853
dec eax
dec eax
je 0x423827
sub eax, 4
je 0x4237fb
sub eax, 8
je 0x4237c9
sub eax, 0x10
je 0x42379e
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x423797
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x4238ec
cmp esi, ebx
lea ecx, [ebp - 0x80]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x4237c1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x80]
cmp eax, dword [0x4675b8]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x4237f3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x42381f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
cmp esi, 1
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x42384b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
cmp esi, 0xffffffff
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x423877
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
cmp esi, ebx
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401279
cmp dword [ebp - 0x10], ebx
je 0x42389f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + 8], 1
jne 0x4238c8
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp ecx, ebx
je 0x4238c3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x4238ec
cmp dword [ebp + 0xc], 2
je 0x4238d7
cmp dword [ebp + 0xc], 0x20
mov byte [ebp + 0xf], bl
jne 0x4238db
mov byte [ebp + 0xf], 1
cmp ecx, ebx
je 0x4238e9
push ecx
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.0040632e
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18