Function at 0x432cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581431
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [ebp - 0x1a0]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x198], ebx
call fcn.00450c20
mov eax, dword [eax]
lea ecx, [ebp - 0x198]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x1a0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x432f8c
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x432d6b
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 4], ebx
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x432d9a
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a4], ebx
mov eax, dword [ebp - 0x1a4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1b0]
push ecx
mov ecx, dword [ebp - 0x198]
lea edx, [ebp - 0x90]
push edx
push eax
push ecx
mov dword [ebp - 0x1b0], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x432f2d
lea eax, [ebp - 0x90]
xor edi, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432e00
sub eax, edx
push eax
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x1a0]
call fcn.00401ea0
mov esi, dword [ebp - 0x1a0]
cmp dword [esi - 0xc], ebx
jl 0x432ef0
push str.LoadDevice
push esi
call fcn.005580df
add esp, 8
cmp eax, ebx
je 0x432ef0
sub eax, esi
cmp eax, 0xffffffff
je 0x432ef0
push 0x5b7a18
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 1
call fcn.00401bf0
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x1b8]
push edx
push ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x198]
push esi
push eax
mov dword [ebp - 0x1a8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x432ec6
lea eax, [ebp - 0x194]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432ea5
sub eax, edx
push eax
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.00401ea0
mov edi, 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1b4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432eec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jne 0x432f01
push ebx
push 0x5b7a18
lea ecx, [ebp - 0x19c]
call fcn.00401ea0
mov ecx, dword [ebp - 0x19c]
cmp dword [ecx - 0xc], ebx
je 0x432f22
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x19c]
push edx
push eax
call fcn.0046bf31
inc dword [ebp - 0x1a4]
jmp 0x432db6
mov eax, dword [ebp - 0x198]
cmp eax, ebx
je 0x432f44
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x198], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x19c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432f69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432f8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret 4