Function at 0x426320
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4722ea
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x493120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x45c], 0x104
mov dword [ebp - 0x434], ecx
call fcn.0042c696
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x426395
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x10]
mov esi, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp + 0x24], esi
jae 0x4263bb
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x440]
push 0x476b5c
push ecx
call fcn.00403be0
mov edx, dword [ebp + 0x20]
add esp, 0xc
push edi
push 0x476a05
push edx
push edi
lea ecx, [ebp + 0xc]
call fcn.00425e40
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x444]
lea eax, [ebp - 0x444]
push eax
push 0x20019
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42681f
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x458]
push eax
mov eax, dword [ebp - 0x444]
push edi
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42681f
mov ecx, dword [ebp - 0x458]
add dword [ebp + 0x44], ecx
mov dword [ebp - 0x454], eax
lea ecx, [ecx]
cmp eax, dword [ebp - 0x458]
jae 0x42681a
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x460]
push edx
mov edx, dword [ebp - 0x444]
lea ecx, [ebp - 0x214]
push ecx
push eax
push edx
mov dword [ebp - 0x460], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x426809
call fcn.0042c696
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4264a8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4264c7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x438]
call fcn.004033a0
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x42c], 0
mov eax, dword [ebp - 0x438]
push 3
lea edx, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x514]
mov byte [ebp - 4], 5
mov dword [ebp - 0x514], edx
call fcn.00401730
mov edx, dword [ebp - 0x514]
mov eax, edx
mov byte [ebp - 4], 6
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426533
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x430]
call fcn.00403b00
mov eax, dword [ebp - 0x514]
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x426566
push eax
call fcn.0044f479
add esp, 4
push 1
push edi
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x438]
call fcn.0040a2c0
push 0x478cdc
push eax
mov byte [ebp - 4], 7
call fcn.00425ff0
mov bl, al
mov eax, dword [ebp - 0x464]
add eax, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4265b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42669f
mov esi, dword [ebp - 0x438]
mov eax, dword [esi - 0xc]
push eax
push 1
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040a2c0
mov eax, dword [eax]
cmp eax, edi
jne 0x4265e6
or eax, 0xffffffff
jmp 0x426611
mov ecx, dword [0x4948b8]
cmp dword [ecx - 0xc], edi
jge 0x4265f6
or eax, 0xffffffff
jmp 0x426611
push eax
push ecx
call fcn.0044ffd7
add esp, 8
cmp eax, edi
jne 0x426609
or eax, 0xffffffff
jmp 0x426611
sub eax, dword [0x4948b8]
sar eax, 1
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x450]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42669f
mov eax, dword [esi - 0xc]
push eax
push 1
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040a2c0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x4948b8
mov byte [ebp - 4], 8
call fcn.004033a0
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x478cd8
mov ecx, 0x4948b8
call fcn.00403c00
mov ecx, dword [ebp + 0x20]
push edi
push 0x476a05
push ecx
push edi
lea ecx, [ebp + 0xc]
call fcn.00425e40
cmp eax, edi
je 0x426751
push 0x477118
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x530]
push eax
call fcn.004261d0
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
push eax
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 9
call fcn.00426280
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0xa
call fcn.004039d0
mov esi, 0x10
cmp dword [ebp - 0x478], esi
jb 0x42671c
mov eax, dword [ebp - 0x48c]
push eax
call fcn.0042c1ba
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x47c], edi
mov byte [ebp - 0x48c], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x518], esi
jb 0x426759
mov ecx, dword [ebp - 0x52c]
push ecx
call fcn.0042c1ba
add esp, 4
jmp 0x426759
mov ebx, 0xf
lea esi, [ebx + 1]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x448], esp
push 7
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push str.nothing
mov byte [ecx + 4], 0
call fcn.00403b00
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44c], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x430]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push edx
mov byte [ebp - 4], 0xb
mov byte [ecx + 4], 0
call fcn.004039d0
mov eax, dword [ebp - 0x434]
push eax
mov byte [ebp - 4], 5
call fcn.00426320
add dword [ebp + 0x44], eax
add esp, 0x40
cmp dword [ebp - 0x418], esi
jb 0x4267d0
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.0042c1ba
add esp, 4
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x42c], 0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x454]
mov eax, dword [ebp - 0x454]
jmp 0x426450
mov esi, 0x10
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x24], esi
jb 0x426863
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042c1ba
add esp, 4
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], edi
mov byte [ebp + 0x10], 0
cmp dword [ebp + 0x40], esi
jb 0x426882
mov edx, dword [ebp + 0x2c]
push edx
call fcn.0042c1ba
add esp, 4
mov eax, dword [ebp + 0x44]
jmp 0x426977
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044fc9c
mov esp, ebp
pop ebp
ret