Function at 0x4282c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1868
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x14]
call fcn.00408bd0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, esi
call fcn.00426500
test al, al
je 0x4284f5
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
sub eax, 0x40
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x20119
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0040b7a0
test eax, eax
jne 0x4286b7
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00409c10
mov byte [ebp - 4], 3
lea esp, [esp]
cmp dword [ebp - 0x50], edi
je 0x42875f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00409ad0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00423200
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408280
test eax, eax
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00406650
test bl, bl
je 0x428729
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 6
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x54]
call fcn.00427490
lea ecx, [ebp + 0x10]
call fcn.00408bd0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00408bd0
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
nop
cmp esi, dword [ebp - 0x3c]
jge 0x4285d2
cmp esi, edi
jl 0x4285c3
cmp esi, dword [ebp - 0x60]
jge 0x4285c3
mov ecx, dword [ebp - 0x68]
lea eax, [ecx + esi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004071a0
mov byte [ebp - 4], 9
cmp esi, dword [ebp - 0x60]
jge 0x4285c3
mov edx, dword [ebp - 0x64]
lea eax, [edx + esi*4]
push eax
lea ecx, [ebp - 0x24]
call fcn.004071a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
call fcn.0041c520
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408280
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00406650
test bl, bl
je 0x428520
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.004267e0
test al, al
jne 0x428517
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00406650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00406650
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406650
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004102a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00408210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0040cd10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406650
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or dword [ebp - 0x18], 2
jmp 0x4285a2
lea eax, [ebp - 0x44]
push eax
call fcn.00474ec0
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408280
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00406650
test bl, bl
je 0x428562
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00412bf0
or dword [ebp - 0x18], 1
jmp 0x4285a2
lea edx, [ebp - 0x48]
push edx
call fcn.00423200
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408280
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.00406650
test bl, bl
je 0x4285a2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x14]
call fcn.00412bf0
or dword [ebp - 0x18], 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00406650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00406650
inc esi
mov dword [ebp - 0x4c], esi
jmp 0x428400
push edi
push edi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov esi, 1
and ecx, esi
or cl, 2
je 0x4284ad
mov byte [ebp + 0xf], 0
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x30]
push ecx
push edi
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x428614
cmp eax, edi
jne 0x42867b
cmp dword [ebp - 0x30], esi
jne 0x428705
cmp eax, 0xea
jne 0x428705
test bl, 4
je 0x428705
lea ecx, [ebp - 0x20]
call fcn.00408bd0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004072b0
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.0040b850
mov esi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00406e30
cmp esi, edi
je 0x4286e5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00406650
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406650
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004102a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00408210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0040cd10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406650
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.00408280
test eax, eax
jne 0x42866f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00406650
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406650
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004102a0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00409dd0
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x54]
call fcn.00408940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00408210
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406650
jmp 0x428370
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.0040dd60
jmp 0x4286ab