Function at 0x4218f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5b53ec]
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 - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x8c], ecx
test ebx, ebx
jne 0x4219ba
mov dword [ebp - 4], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 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.0042b1b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004273a0
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4219ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00429c40
jmp 0x421e50
push edi
mov ecx, eax
call fcn.0042e6a0
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], esi
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x421a1f
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], ecx
jb 0x4219e7
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
jb 0x4219ef
mov edi, dword [edi]
cmp ecx, ebx
mov eax, ebx
cmovb eax, ecx
mov ecx, edi
push eax
call fcn.0042a880
add esp, 4
test eax, eax
jne 0x421a15
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x421a11
or eax, 0xffffffff
jmp 0x421a15
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x14]
je 0x421a27
mov esi, eax
mov dword [ebp - 0x88], esi
cmp esi, eax
je 0x421e58
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 - 0x68]
push 0
push 0
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x421e50
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x14], eax
call fcn.00428080
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.004ea2af
mov edi, dword [ebp - 0x18]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
add esp, 4
mov dword [ebp - 0x84], eax
test edi, edi
je 0x421d0a
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 - 0x68]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x421cf0
mov edi, dword [esi + 0x2c]
mov esi, dword [edi]
cmp esi, edi
je 0x421cd1
nop dword [eax + eax]
mov eax, dword [ebp - 0x4c]
lea ebx, [esi + 8]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421b20
mov ecx, dword [ebx + 0x10]
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x14], 8
jb 0x421b3a
mov ebx, dword [ebx]
cmp ecx, eax
jne 0x421b54
mov edx, dword [ebp - 0x4c]
push ecx
mov ecx, ebx
call fcn.0042a880
add esp, 4
test eax, eax
jne 0x421b54
mov al, 1
jmp 0x421b56
xor al, al
test al, al
jne 0x421b68
mov esi, dword [esi]
cmp esi, edi
jne 0x421b10
mov ebx, dword [ebp - 0x4c]
jmp 0x421cd1
mov ebx, dword [ebp - 0x4c]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421b84
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x80]
call fcn.0042a390
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x44]
mov edx, dword [eax]
call fcn.004522f0
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x421c0b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421c01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421e76
push edx
push ecx
call fcn.004ea2a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x421c5d
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421c53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421e76
push edx
push ecx
call fcn.004ea2a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], 7
push ecx
cmp dword [ebp - 0x1c], eax
je 0x421c8a
mov ecx, eax
call fcn.004285a0
add dword [ebp - 0x20], 0x18
jmp 0x421c93
push eax
lea ecx, [ebp - 0x24]
call fcn.0042e2a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x421cd1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421cc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421e76
push edx
push ecx
call fcn.004ea2a1
add esp, 8
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x84], eax
cmp eax, edi
jae 0x421d0a
mov esi, dword [ebp - 0x88]
jmp 0x421ad1
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 0x421e46
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 0x421dbe
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0042b1b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xe
call fcn.004273a0
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421db1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x64]
call fcn.00429c40
lea ecx, [ebp - 0x74]
jmp 0x421e2f
lea eax, [edi - 1]
cmp ecx, eax
jne 0x421e34
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.00427b10
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0042b1b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x11
call fcn.004273a0
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421e2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x64]
call fcn.00429c40
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 0x421e50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00429c40
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.004e9cdc
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0052e99b
int3