Function at 0x426a30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45672f
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x478024]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x228]
push eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], 0
call fcn.00407510
mov dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
je 0x426ad6
push 0x5c
push dword [ebp - 0x228]
call fcn.00439dde
mov edi, eax
add esp, 8
test edi, edi
jne 0x426aae
or edi, 0xffffffff
jmp 0x426ab6
sub edi, dword [ebp - 0x228]
sar edi, 1
push edi
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040b990
mov byte [ebp - 4], 1
mov ebx, 1
jmp 0x426afd
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x22c]
mov edi, dword [eax - 0xc]
lea eax, [ebp - 0x228]
push eax
call fcn.00407510
mov dword [ebp - 4], 2
mov ebx, 2
mov dl, byte [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x224], ebx
call fcn.00427810
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x248], 0x469e08
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 4
or esi, 0xffffffff
test bl, 2
je 0x426b5c
and ebx, 0xfffffffd
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426b5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
test bl, 1
je 0x426b8f
and ebx, 0xfffffffe
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 6
mov eax, esi
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426b8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x230], 0
jne 0x426ba2
mov edi, 1
jmp 0x426e60
cmp byte [ebp + 0xc], 0
jne 0x426cb9
mov ebx, dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x21c], 0x104
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x426caf
or edi, 0xffffffff
call fcn.00403950
test eax, eax
je 0x426ed5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x426c22
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00403ca0
jmp 0x426c47
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426c25
sub eax, edx
lea ecx, [ebp - 0x220]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00404040
mov byte [ebp - 4], 9
lea eax, [ebp - 0x220]
mov ecx, dword [ebp - 0x238]
push eax
call fcn.0040b890
inc esi
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426c7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x426be3
xor edi, edi
or esi, 0xffffffff
jmp 0x426e60
call fcn.00403950
mov ecx, eax
test ecx, ecx
je 0x426ed5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 0xc
lea edx, [edi + 1]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.0040b990
mov edi, dword [ebp - 0x230]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
push ecx
lea ecx, [ebp - 0x234]
or ebx, 4
push ecx
push 0
mov dword [ebp - 0x224], ebx
push dword [eax]
mov dword [ebp - 0x21c], 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
cmp eax, 0xea
jne 0x426de3
mov edx, dword [ebp - 0x21c]
test edx, edx
js 0x426ecb
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x426d7d
push edx
lea ecx, [ebp - 0x220]
call fcn.00403ef0
mov esi, dword [ebp - 0x220]
cmp dword [esi - 4], 1
jle 0x426d97
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00403e10
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x23c]
push 0
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi - 8]
mov dword [ebp - 0x22c], eax
push esi
call fcn.0043c5ac
add esp, 8
test eax, eax
js 0x426ecb
cmp eax, dword [esi - 8]
jg 0x426ecb
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
xor eax, eax
cmp dword [ebp - 0x22c], eax
setne al
and ebx, 0xfffffffb
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov edx, dword [ebp - 0x240]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x22c], 0
jne 0x426e3c
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x220]
push eax
call fcn.0040b890
mov byte [ebp - 4], 6
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426e5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x248], 0x469e08
test eax, eax
je 0x426e89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x426eab
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00438889
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00404020
push 0x80004005
call fcn.00404020
int3