Function at 0x431e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x18]
push edi
push esi
push ebx
sub esp, 0xac
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x4c], 0x473640
mov dword [ebp - 0x48], 0x4b5540
mov dword [ebp - 0x40], 0x4320d5
mov dword [esp], eax
call fcn.0047f180
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov dword [ebp - 0x60], 0xffffffff
call fcn.00457590
mov dword [esp + 4], eax
lea edx, [ebp - 0x68]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x431ee0
mov dword [esp + 4], 0
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00456ba0
lea eax, [ebp - 0x64]
mov dword [esp], eax
call fcn.0047f230
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [ebp - 0x6c], 0
mov dword [esp], 0x10
mov dword [ebp - 0x60], 0xffffffff
call fcn.00475ba0
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x79], 1
mov dword [esp], eax
mov dword [ebp - 0x60], 3
call fcn.00456130
mov byte [ebp - 0x79], 0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x431e30
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
mov dword [ebp - 0x60], 2
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x431fb5
mov dword [ebp - 0x84], esp
mov eax, dword [ebp - 0x6c]
add eax, 0xf
and eax, 0xfffffff0
call fcn.0047fb50
lea edx, [esp + 0x18]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x88], edx
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x70]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x431e30
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
je 0x432046
mov esp, dword [ebp - 0x84]
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x431e37
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
mov dword [ebp - 0x60], 2
call sub.ADVAPI32.DLL_RegQueryValueExA
mov eax, dword [ebp - 0x68]
sub esp, 0x18
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 0x28]
sub esp, 4
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x432028
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 0x10]
shr edx, 1
xor edx, 1
and edx, 1
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
inc dword [eax]
mov dword [edx], eax
mov dword [esp], ecx
mov dword [ebp - 0x60], 0xffffffff
call fcn.00456470
jmp 0x431ec7
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00456350
mov eax, dword [ebp - 0x38]
inc dword [eax]
mov eax, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x8c], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x432091
mov dword [esp], edx
mov dword [ebp - 0x60], 1
call fcn.00456230
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x60], 2
call fcn.00456470
jmp 0x431faf