Function at 0x20a43f6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0x3b0
push ebx
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 0x74], eax
push edi
cmp dword [ebp + 0xc], eax
jne 0x20a4417
cmp byte [0x20ab098], al
jne 0x20a4438
push 0
push 0x20a4a38
push dword [ebp + 8]
push 0x6a
push dword [0x20af580]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x20a49ff
mov edi, 1
push edi
call fcn.020a4074
test byte [0x20ab198], 0xc
je 0x20a4530
push edi
mov eax, dword [0x20ab044]
push 0xffffffffffffffff
xor esi, esi
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x70], edi
mov edi, 0x20ab570
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x100
push esi
push dword [ebp - 0x6c]
push 0x100c
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x6c], eax
cmp eax, 0xffffffff
je 0x20a4530
lea eax, [ebp - 0x70]
push eax
push esi
push 0x1005
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [0x20ab198], 4
je 0x20a44d8
lea eax, [ebp - 0x1b0]
push eax
call fcn.020a4a08
test eax, eax
jne 0x20a4923
test byte [0x20ab198], 8
je 0x20a4484
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 0x1b0]
push edi
mov eax, dword [0x20ab058]
mov dword [ebp - 8], 0x4000
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x20a4484
cmp dword [ebp - 4], 1
je 0x20a451d
cmp dword [ebp - 4], 2
jne 0x20a4484
push edi
call fcn.020a4a08
test eax, eax
je 0x20a4484
jmp 0x20a4923
mov esi, 1
xor edi, edi
push edi
mov dword [0x20af690], esi
push 0x20a4c50
push dword [ebp + 8]
push 0x6d
push dword [0x20af580]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x20a457b
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
mov eax, dword [0x20ab040]
push edi
mov dword [0x20ab090], esi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
xor esi, esi
mov eax, dword [0x20ab198]
mov byte [ebp - 0x2b0], bl
mov dword [ebp - 0x48], 0x49
and eax, 8
lea ecx, [ebp - 0x3b0]
cmp eax, 1
mov dword [ebp - 0x38], ecx
mov eax, 0
push ebx
adc eax, 0xffffffff
push 9
and eax, 0x20ab570
push 0x110a
push dword [0x20ab040]
mov dword [ebp - 0x34], 0x100
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
xor edi, edi
push ebx
push 0x110c
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0xc]
call fcn.020a4c32
test eax, eax
je 0x20a48a0
cmp dword [ebp - 0x28], edi
je 0x20a4648
push dword [ebp - 0x44]
push 4
push 0x110a
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x20a46a1
push dword [ebp - 0x44]
push dword [0x20ab040]
call fcn.020a5e04
test eax, eax
je 0x20a4648
push dword [ebp - 0x44]
push 4
push 0x110a
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x20a4648
inc ebx
jmp 0x20a46a1
push dword [ebp - 0x44]
push 1
push 0x110a
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x20a46a1
push dword [ebp - 0x44]
push 3
push 0x110a
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x44], eax
cmp eax, edi
je 0x20a4994
test ebx, ebx
je 0x20a4648
dec ebx
push eax
push 0x8001
push 0x1102
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x20a4648
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push edi
push 0x110c
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [0x20ab198], 2
je 0x20a46d7
lea eax, [ebp - 0x3b0]
push eax
call fcn.020a4a08
test eax, eax
jne 0x20a4863
test byte [0x20ab198], 0xc
je 0x20a45e6
push edi
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp - 0x44]
push dword [0x20ab040]
call fcn.020a5cef
test eax, eax
je 0x20a45e6
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x3b0]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x20a45e6
mov eax, dword [0x20ab198]
and al, 0xd
cmp al, 5
jne 0x20a475d
push edi
push edi
push edi
push edi
push 0x20ab098
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x20a4852
push 0x20ab098
lea eax, [ebp - 0x2b0]
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x20a4852
lea eax, [ebp - 8]
lea edx, [ebp - 4]
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 8], 0x4000
mov dword [ebp - 0x20], 1
push eax
lea ecx, [ebp - 0x1b0]
push dword [ebp - 0x1c]
push edx
push edi
lea eax, [ebp - 0x14]
push eax
push ecx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x20a4852
test byte [0x20ab198], 4
je 0x20a47b4
lea eax, [ebp - 0x1b0]
push eax
call fcn.020a4a08
test eax, eax
jne 0x20a47d7
test byte [0x20ab198], 8
je 0x20a4814
cmp dword [ebp - 4], 1
je 0x20a47c9
cmp dword [ebp - 4], 2
jne 0x20a4814
push 0x20ab570
call fcn.020a4a08
test eax, eax
je 0x20a4814
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x2b0]
push eax
test esi, esi
push ecx
je 0x20a4809
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x20a4814
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x2b0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x20a4814
mov esi, 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
inc dword [ebp - 0x20]
push dword [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 8], 0x4000
push edx
push eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x20a479b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x20a45e6
push dword [ebp - 0x44]
push 0
push 0x1114
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x44]
push 9
push 0x110b
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x20a48de
mov eax, dword [0x20ab040]
mov dword [ebp - 0x74], eax
jmp 0x20a499b
test ebx, ebx
je 0x20a499b
mov eax, dword [ebp - 0x44]
push eax
push 3
push 0x110a
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
dec ebx
jne 0x20a48ab
push eax
push 0x8001
push 0x1102
push dword [0x20ab040]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x20a499b
push dword [ebp + 8]
call fcn.020a4f8a
xor eax, eax
cmp byte [ebp - 0x2b0], al
je 0x20a4920
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0xb0]
push ecx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 2
push 0xffffffffffffffff
push 0x100d
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x6c], eax
mov edi, 3
xor esi, esi
lea eax, [ebp - 0x98]
mov ebx, 0x102b
push eax
mov dword [ebp - 0x88], edi
push 0xffffffffffffffff
mov dword [ebp - 0x8c], esi
push ebx
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x88], edi
push eax
mov dword [ebp - 0x8c], edi
push dword [ebp - 0x6c]
push ebx
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push dword [ebp - 0x6c]
push 0x1013
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x20ab044]
mov dword [ebp - 0x74], ecx
jmp 0x20a499b
mov dword [ebp - 0x18], 1
xor esi, esi
push esi
call fcn.020a4074
cmp dword [ebp - 0xc], esi
je 0x20a49d3
push esi
mov eax, dword [0x20ab040]
push 1
mov dword [0x20ab090], esi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [ebp - 0x74], 0
je 0x20a49e2
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x18], 0
je 0x20a49ff
push 0x40
push 0x10
push 0x29
push dword [ebp + 8]
push dword [0x20af580]
call fcn.020a6534
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8