Function at 0x4328a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69d3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [esi]
test eax, eax
jne 0x432623
call fcn.004dd7c0
jmp 0x4329f3
mov dword [ebp - 0x30], 0x80000001
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x432634
lea ebx, [eax + 8]
push str.HKEY_CLASSES_ROOT
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x432653
add ebx, 0x22
mov dword [ebp - 0x30], 0x80000000
jmp 0x4326fc
push str.HKEY_CURRENT_CONFIG
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x432672
add ebx, 0x26
mov dword [ebp - 0x30], 0x80000005
jmp 0x4326fc
push str.HKEY_CURRENT_USER
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x43268e
add ebx, 0x22
mov dword [ebp - 0x30], 0x80000001
jmp 0x4326fc
push str.HKEY_LOCAL_MACHINE
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x4326aa
add ebx, 0x24
mov dword [ebp - 0x30], 0x80000002
jmp 0x4326fc
push str.HKEY_USERS
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x4326c6
add ebx, 0x14
mov dword [ebp - 0x30], 0x80000003
jmp 0x4326fc
push str.HKEY_PERFORMANCE_DATA
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x4326e2
add ebx, 0x2a
mov dword [ebp - 0x30], 0x80000004
jmp 0x4326fc
push str.HKEY_DYN_DATA
mov ecx, esi
call fcn.004dbb50
test al, al
je 0x4326fc
add ebx, 0x1a
mov dword [ebp - 0x30], 0x80000006
cmp word [ebx], 0x5c
jne 0x432705
add ebx, 2
mov eax, ebx
cmp word [ebx], 0
je 0x432719
lea ecx, [ecx]
add eax, 2
cmp word [eax], 0
jne 0x432710
sub eax, ebx
sar eax, 1
lea edi, [eax - 1]
lea edi, [ebx + edi*2]
cmp ebx, edi
ja 0x432734
cmp word [edi], 0x5c
je 0x432734
sub edi, 2
cmp ebx, edi
jbe 0x432727
lea eax, [edi + 2]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x432742
xor esi, esi
jmp 0x432762
cmp word [eax], 0
jne 0x43274c
xor esi, esi
jmp 0x432762
call fcn.004df4c0
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0040bb30
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
cmp edi, ebx
jb 0x432776
cmp word [edi], 0x5c
je 0x432778
mov edi, eax
sub edi, ebx
sar edi, 1
mov dword [ebp - 0x34], edi
jne 0x432785
xor edi, edi
jmp 0x4327a1
cmp word [ebx], 0
jne 0x43278f
xor edi, edi
jmp 0x4327a1
call fcn.004df4c0
mov edi, eax
push dword [ebp - 0x34]
push ebx
mov ecx, edi
call fcn.0040bb30
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406a60
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4327c0
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0x20019
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x4327ec
push dword [ebp - 0x2c]
call fcn.00633f98
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
test ebx, ebx
je 0x43282e
mov ecx, dword [ebp - 0x3c]
call fcn.004dd7c0
mov byte [ebp - 4], 0
test edi, edi
je 0x4329d6
mov eax, dword [edi]
test eax, eax
jne 0x4329d3
mov ecx, edi
call fcn.004df580
jmp 0x4329d6
test esi, esi
je 0x43283e
mov eax, dword [esi + 4]
test eax, eax
jne 0x432843
lea eax, [esi + 8]
jmp 0x432843
mov eax, 0x6f4744
lea ecx, [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x432890
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x3c]
call fcn.004dd7c0
mov byte [ebp - 4], 0
test edi, edi
je 0x4329d6
mov eax, dword [edi]
test eax, eax
jne 0x4329d3
mov ecx, edi
call fcn.004df580
jmp 0x4329d6
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 4
ja case.0x432899.3
jmp dword [eax*4 + 0x432a10]
push dword [ebp - 0x40]
call fcn.00632c9c
add esp, 4
mov ebx, eax
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x30]
push eax
push ebx
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00401490
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x4328f2
push ebx
call fcn.00634397
add esp, 4
add dword [ebp - 0x40], 0x400
mov byte [ebp - 4], 1
jmp case.0x432899.1
test eax, eax
je 0x432927
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x3c]
call fcn.004dd7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401470
jmp 0x4329f3
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 4
ja case.0x432930.3
jmp dword [eax*4 + 0x432a24]
push 0
push dword [ebx]
mov ecx, dword [ebp - 0x3c]
call fcn.004ddbf0
jmp case.0x432930.3
mov ecx, dword [ebx]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
add edx, eax
shl edx, 8
mov eax, ecx
shr eax, 8
and eax, 0xff00
add edx, eax
shr ecx, 0x18
add edx, ecx
push 0
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.004ddbf0
jmp case.0x432930.3
push ebx
lea ecx, [ebp - 0x50]
call fcn.00401430
mov byte [ebp - 4], 4
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ddb10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00401470
mov dword [ebp - 4], 1
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00634397
add esp, 4
jmp 0x43280c
dec eax
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4329f3
mov eax, dword [esi]
test eax, eax
jne 0x4329f0
mov ecx, esi
call fcn.004df580
jmp 0x4329f3
dec eax
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret