Function at 0x4208b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55acd4
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5b03ec]
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x74], ecx
test ebx, ebx
jne 0x42098d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.004299e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00426170
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42097d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.00428970
jmp 0x420d4a
push edi
mov ecx, eax
call fcn.0042c8f0
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], esi
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x4209ef
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], ecx
jb 0x4209b7
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
jb 0x4209bf
mov edi, dword [edi]
cmp ecx, ebx
mov eax, ebx
cmovb eax, ecx
mov ecx, edi
push eax
call fcn.00429610
add esp, 4
test eax, eax
jne 0x4209e5
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x4209e1
or eax, 0xffffffff
jmp 0x4209e5
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x14]
je 0x4209f4
mov esi, eax
mov dword [ebp - 0x70], esi
cmp esi, eax
je 0x420d52
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 4
push eax
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x50]
push 0
push 0
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x420d4a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x14], eax
call fcn.00426990
xor ecx, ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e52af
mov edi, dword [ebp - 0x18]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
add esp, 4
mov dword [ebp - 0x6c], eax
test edi, edi
je 0x420bed
nop dword [eax + eax]
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0x200
push ecx
push 0
lea ecx, [ebp - 0x48]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x420ca4
mov edi, dword [esi + 0x2c]
mov esi, dword [edi]
cmp esi, edi
je 0x420bd8
mov eax, dword [ebp - 0x4c]
lea ebx, [esi + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420ae0
mov ecx, dword [ebx + 0x10]
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x14], 8
jb 0x420afa
mov ebx, dword [ebx]
cmp ecx, eax
jne 0x420b14
mov edx, dword [ebp - 0x4c]
push ecx
mov ecx, ebx
call fcn.00429610
add esp, 4
test eax, eax
jne 0x420b14
mov al, 1
jmp 0x420b16
xor al, al
test al, al
jne 0x420b28
mov esi, dword [esi]
cmp esi, edi
jne 0x420ad7
mov ebx, dword [ebp - 0x4c]
jmp 0x420bd8
mov ebx, dword [ebp - 0x4c]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420b44
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x68]
call fcn.00429120
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
mov edx, dword [eax]
call fcn.0044ee40
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.00428da0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00428da0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
push ecx
cmp dword [ebp - 0x1c], eax
je 0x420bc3
mov ecx, eax
call fcn.00427310
add dword [ebp - 0x20], 0x18
jmp 0x420bcc
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c520
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00428da0
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x18]
inc eax
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
cmp eax, edi
jb 0x420aa0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x24]
or esi, 0xffffffff
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, edi
jne 0x420cbe
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004299e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00426170
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x68]
call fcn.00428970
lea ecx, [ebp - 0x84]
jmp 0x420d29
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x420d40
lea eax, [edi - 1]
cmp ecx, eax
jne 0x420d2e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x68]
call fcn.00426880
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004299e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x11
call fcn.00426170
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420d26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x68]
call fcn.00428970
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x420d4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00428970
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.004e4cdc
mov esp, ebp
pop ebp
ret 0x1c