Function at 0x4283a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b888
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x71a00c]
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 edi, ecx
mov esi, dword [ebp + 8]
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [edi + 4]
lea ecx, [edi + 8]
mov ebx, dword [ebp + 0x10]
push 0x1d
push str.DPVariable__CCheckBoxWindow__
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3c], 0x52000000
mov dword [edi + 0x50], eax
mov dword [edi + 0x84], ebx
call fcn.004023e0
push esi
mov ecx, edi
call fcn.00432f30
test al, al
je 0x428661
mov dword [edi + 0x84], ebx
mov dword [ebp - 0x34], vtable.win32only::CRegistry.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x26
push 0x6afb24
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004023e0
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x428466
push eax
call esi
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x14]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x4284a3
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
test bl, bl
jne 0x4284af
mov eax, dword [ebp - 0x30]
jmp 0x428651
mov eax, dword [edi + 0x84]
xor esi, esi
mov ecx, dword [eax + 0x40]
sub ecx, dword [eax + 0x3c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x42863a
mov dword [ebp - 0x3c], esi
nop dword [eax]
mov ecx, dword [edi + 0x84]
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x38], 1
call fcn.0042f280
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x428502
xor bl, bl
jmp 0x428533
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x44], 4
jb 0x428518
mov eax, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x40]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x428549
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov eax, dword [ebp - 0x38]
test bl, bl
mov ecx, 1
cmove eax, ecx
mov ecx, dword [edi + 0x84]
test eax, eax
mov dword [ebp - 0x38], eax
setne dl
mov byte [ebp - 0x29], dl
test esi, esi
js 0x428588
mov eax, dword [ecx + 0x4c]
sub eax, dword [ecx + 0x48]
sar eax, 2
cmp esi, eax
ja 0x428588
mov eax, dword [ecx + 0x48]
movzx edx, dl
push 0
mov dword [eax + esi*4], edx
call fcn.0042eff0
mov ecx, dword [edi + 0x84]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0042f280
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4285a2
mov ecx, dword [ecx]
push 0
push dword [edi + 0x58]
lea eax, [esi + 0x190]
push eax
push dword [edi + 0x5c]
push 0x14
push 0x96
push 0
push dword [ebp - 0x3c]
push 0x50000002
push ecx
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp - 0x40], ebx
cmp edx, 0x10
jb 0x4285eb
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
movzx eax, byte [ebp - 0x29]
push 0
push eax
push 0xf1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x88]
call fcn.00419550
mov eax, dword [edi + 0x84]
inc esi
add dword [ebp - 0x3c], 0x96
mov ecx, dword [eax + 0x40]
sub ecx, dword [eax + 0x3c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jl 0x4284e0
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x42864f
push eax
call esi
xor eax, eax
mov dword [ebp - 0x30], eax
mov bl, 1
mov dword [ebp - 0x34], vtable.win32only::CRegistry.0
test eax, eax
je 0x42865f
push eax
call esi
mov al, bl
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.0066bc45
mov esp, ebp
pop ebp
ret 0xc