Function at 0x4269d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b068
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x587978]
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.00408ac0
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.004249b0
test al, al
je 0x426c05
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.0041dc50
test eax, eax
jne 0x426dc7
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00409990
mov byte [ebp - 4], 3
lea esp, [esp]
cmp dword [ebp - 0x50], edi
je 0x426e6f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00409850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00420bb0
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00406ef0
test bl, bl
je 0x426e39
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.00425940
lea ecx, [ebp + 0x10]
call fcn.00408ac0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00408ac0
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 0x426ce2
cmp esi, edi
jl 0x426cd3
cmp esi, dword [ebp - 0x60]
jge 0x426cd3
mov ecx, dword [ebp - 0x68]
lea eax, [ecx + esi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004070a0
mov byte [ebp - 4], 9
cmp esi, dword [ebp - 0x60]
jge 0x426cd3
mov edx, dword [ebp - 0x64]
lea eax, [edx + esi*4]
push eax
lea ecx, [ebp - 0x24]
call fcn.004070a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
call fcn.004759c0
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00406ef0
test bl, bl
je 0x426c30
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00424c90
test al, al
jne 0x426c27
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00406ef0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00406ef0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406ef0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ed90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00408110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0041b080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406ef0
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 0x426cb2
lea eax, [ebp - 0x44]
push eax
call fcn.00474cc0
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00406ef0
test bl, bl
je 0x426c72
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00411c00
or dword [ebp - 0x18], 1
jmp 0x426cb2
lea edx, [ebp - 0x48]
push edx
call fcn.00420bb0
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.00406ef0
test bl, bl
je 0x426cb2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x14]
call fcn.00411c00
or dword [ebp - 0x18], 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00406ef0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00406ef0
inc esi
mov dword [ebp - 0x4c], esi
jmp 0x426b10
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 0x426bbd
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 0x426d24
cmp eax, edi
jne 0x426d8b
cmp dword [ebp - 0x30], esi
jne 0x426e15
cmp eax, 0xea
jne 0x426e15
test bl, 4
je 0x426e15
lea ecx, [ebp - 0x20]
call fcn.00408ac0
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.004071b0
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.0041dd00
mov esi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00406cd0
cmp esi, edi
je 0x426df5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00406ef0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406ef0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ed90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00408110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0041b080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406ef0
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.00408180
test eax, eax
jne 0x426d7f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00406ef0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406ef0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00406ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ed90
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00409b50
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x54]
call fcn.00408c80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00408110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406ef0
jmp 0x426a80
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.00488030
jmp 0x426dbb