Function at 0x4268c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ae78
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.00406f90
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.004248b0
test al, al
je 0x426af5
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.0041d8b0
test eax, eax
jne 0x426cb7
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004099e0
mov byte [ebp - 4], 3
lea esp, [esp]
cmp dword [ebp - 0x50], edi
je 0x426d5f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004098a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00420920
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408270
test eax, eax
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004064c0
test bl, bl
je 0x426d29
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.00425840
lea ecx, [ebp + 0x10]
call fcn.00406f90
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.00406f90
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 0x426bd2
cmp esi, edi
jl 0x426bc3
cmp esi, dword [ebp - 0x60]
jge 0x426bc3
mov ecx, dword [ebp - 0x68]
lea eax, [ecx + esi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407140
mov byte [ebp - 4], 9
cmp esi, dword [ebp - 0x60]
jge 0x426bc3
mov edx, dword [ebp - 0x64]
lea eax, [edx + esi*4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00407140
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
call fcn.00475b00
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408270
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004064c0
test bl, bl
je 0x426b20
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00424b90
test al, al
jne 0x426b17
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004064c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004064c0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.004064c0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.004064c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ea00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004064c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004081b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0041ace0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004064c0
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 0x426ba2
lea eax, [ebp - 0x44]
push eax
call fcn.00474e00
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408270
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.004064c0
test bl, bl
je 0x426b62
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00411920
or dword [ebp - 0x18], 1
jmp 0x426ba2
lea edx, [ebp - 0x48]
push edx
call fcn.00420920
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408270
test eax, eax
sete bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.004064c0
test bl, bl
je 0x426ba2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x14]
call fcn.00411920
or dword [ebp - 0x18], 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004064c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004064c0
inc esi
mov dword [ebp - 0x4c], esi
jmp 0x426a00
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 0x426aad
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 0x426c14
cmp eax, edi
jne 0x426c7b
cmp dword [ebp - 0x30], esi
jne 0x426d05
cmp eax, 0xea
jne 0x426d05
test bl, 4
je 0x426d05
lea ecx, [ebp - 0x20]
call fcn.00406f90
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.00407250
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.0041d960
mov esi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00406d90
cmp esi, edi
je 0x426ce5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.004064c0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.004064c0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.004064c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ea00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004064c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004081b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0041ace0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004064c0
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.00408270
test eax, eax
jne 0x426c6f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.004064c0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x14]
call fcn.004064c0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.004064c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041ea00
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00409ba0
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x54]
call fcn.00408920
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004081b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004064c0
jmp 0x426970
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.0040d560
jmp 0x426cab