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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56efdd
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x5d2fec]
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 dword [ebp - 0x468], ecx
xor esi, esi
mov dword [ebp - 4], 0
mov edi, 0x20019
mov dword [ebp - 0x464], esi
or ebx, 0xffffffff
nop dword [eax + eax]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x410a80
or ecx, 0xffffffff
jmp 0x410aa4
push str.Wow6432Node_
push eax
call fcn.00550fb4
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x410a99
or ecx, 0xffffffff
jmp 0x410aa4
mov eax, dword [ebp - 0x468]
sub ecx, dword [eax + esi*4]
sar ecx, 1
mov eax, edi
or eax, 0x100
test ecx, ecx
cmovns eax, edi
mov edi, eax
mov dword [ebp - 0x460], edi
call fcn.00417ce3
test eax, eax
je 0x411466
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov eax, 0x5af8f0
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x410dd6
movzx esi, ax
push esi
call fcn.00419421
test eax, eax
je 0x410b03
push esi
push eax
lea ecx, [ebp - 0x430]
call fcn.004066a0
mov esi, dword [ebp - 0x464]
mov edx, dword [ebp - 0x468]
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x43c], 0
lea eax, [edx + esi*4]
mov dword [ebp - 0x458], ecx
push eax
call fcn.004069a0
lea edx, [ebp - 0x430]
lea ecx, [ebp - 0x43c]
call fcn.004047c0
mov ecx, esp
mov byte [ebp - 4], 3
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x458], ecx
push eax
call fcn.004069a0
call fcn.00404900
add esp, 4
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x448]
push ecx
push edi
mov edi, dword [ebp - 0x430]
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411031
push 0x206
push eax
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 0x30
call fcn.00551910
add esp, 0xc
mov dword [ebp - 0x438], 0x20a
call fcn.00417ce3
test eax, eax
je 0x411466
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x434], esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x411004
mov edi, dword [ebp - 0x460]
nop dword [eax + eax]
inc dword [ebp - 0x46c]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x434]
push 0x5af300
push eax
call fcn.00406ff0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00551910
push 0x5af8ec
lea eax, [ebp - 0x430]
mov dword [ebp - 0x438], 0x20a
push eax
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x42c], 0
push eax
call fcn.00406a20
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.00405ab0
push 0x5b2038
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 6
push eax
call fcn.00406a20
add esp, 0x3c
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x4a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410cbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x4a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410ce0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x450]
push eax
push edi
push 0
push dword [ebp - 0x42c]
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x434]
test eax, eax
jne 0x41143c
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00551910
push 0x5af8ec
lea eax, [ebp - 0x430]
mov dword [ebp - 0x440], 0x20a
push eax
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x444], 1
push eax
call fcn.00406a20
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.00405ab0
add esp, 0x24
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov dword [ebp - 0x454], ecx
lea edi, [edx - 0x10]
cmp edi, ecx
je 0x410dfc
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x45c], eax
jl 0x410ded
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x410ded
push edi
call fcn.00406c80
mov edx, dword [ebp - 0x45c]
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410dcb
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x42c], eax
jmp 0x410dfc
push 0
push 0x5af8f0
lea ecx, [ebp - 0x430]
call fcn.00406bd0
jmp 0x410b09
push dword [edx - 0xc]
lea ecx, [ebp - 0x42c]
push edx
call fcn.00406bd0
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x4a8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x44c]
push eax
push dword [ebp - 0x460]
push 0
push dword [ebp - 0x42c]
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410e94
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x444]
push eax
push 0
push 0
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x49c]
call fcn.0040c890
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x434]
mov dword [ebp - 0x458], ecx
push eax
call fcn.004069a0
lea ecx, [ebp - 0x4b0]
call fcn.00403940
add esp, 4
mov byte [ebp - 4], 0xd
mov edi, dword [eax]
mov ebx, dword [ebp - 0x498]
lea edx, [edi - 0x10]
lea ecx, [ebx - 0x10]
mov dword [ebp - 0x454], ecx
cmp edx, ecx
je 0x410f36
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x410f21
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x410f21
push edx
call fcn.00406c80
add esp, 4
mov edi, eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x410f16
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea ebx, [edi + 0x10]
mov dword [ebp - 0x498], ebx
jmp 0x410f36
push dword [edi - 0xc]
lea ecx, [ebp - 0x498]
push edi
call fcn.00406bd0
mov ebx, dword [ebp - 0x498]
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0x4b0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410f58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x5af8f0
nop dword [eax]
mov cx, word [ebx]
cmp cx, word [eax]
jne 0x410f86
test cx, cx
je 0x410f82
mov cx, word [ebx + 2]
cmp cx, word [eax + 2]
jne 0x410f86
add ebx, 4
add eax, 4
test cx, cx
jne 0x410f60
xor eax, eax
jmp 0x410f8b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x41108e
lea ecx, [ebp - 0x49c]
call fcn.0040ca30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410fc7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x460]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x46c]
push eax
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x410c10
mov edi, dword [ebp - 0x430]
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41102b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x464]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x43c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411052
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41106d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
mov dword [ebp - 0x464], esi
cmp esi, 2
jge 0x411470
mov edi, dword [ebp - 0x460]
mov ecx, dword [ebp - 0x468]
jmp 0x410a70
mov ecx, dword [ebp - 0x49c]
lea edx, [esi - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x45c], ecx
cmp edx, ecx
je 0x411100
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x454], eax
jl 0x4110f1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4110f1
push edx
call fcn.00406c80
mov edx, dword [ebp - 0x454]
or ebx, 0xffffffff
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110e6
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x49c], eax
jmp 0x411103
push dword [esi - 0xc]
lea ecx, [ebp - 0x49c]
push esi
call fcn.00406bd0
or ebx, 0xffffffff
push 0x3d
push str.Implemented_Categories00021492_0000_0000_C000_000000000046
lea ecx, [ebp - 0x480]
call fcn.00406bd0
push ecx
mov ecx, esp
lea eax, [ebp - 0x498]
push eax
mov dword [ebp - 0x458], ecx
call fcn.004069a0
lea ecx, [ebp - 0x4b4]
call fcn.004031f0
add esp, 4
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
mov dword [ebp - 0x45c], ecx
lea edi, [edx - 0x10]
cmp edi, ecx
je 0x4111ad
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x454], eax
jl 0x41119e
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x41119e
push edi
call fcn.00406c80
mov edx, dword [ebp - 0x454]
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411193
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x498], eax
jmp 0x4111ad
push dword [edx - 0xc]
lea ecx, [ebp - 0x498]
push edx
call fcn.00406bd0
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x4b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4111ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x464]
mov edx, dword [ebp - 0x468]
push 0x5af8ec
lea eax, [edx + ecx*4]
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.00406a20
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.00405ab0
add esp, 0x18
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
mov dword [ebp - 0x45c], ecx
lea edi, [edx - 0x10]
cmp edi, ecx
je 0x41127f
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x454], eax
jl 0x411270
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x411270
push edi
call fcn.00406c80
mov edx, dword [ebp - 0x454]
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411265
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x47c], eax
jmp 0x41127f
push dword [edx - 0xc]
lea ecx, [ebp - 0x47c]
push edx
call fcn.00406bd0
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x4b8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x4bc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x49c]
call fcn.004136a0
push ecx
mov ecx, esp
lea eax, [ebp - 0x498]
push eax
mov dword [ebp - 0x458], ecx
call fcn.004069a0
lea ecx, [ebp - 0x4c0]
call fcn.004045b0
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [eax]
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
mov dword [ebp - 0x45c], ecx
lea edi, [edx - 0x10]
cmp edi, ecx
je 0x411364
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x454], eax
jl 0x411355
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x411355
push edi
call fcn.00406c80
mov edx, dword [ebp - 0x454]
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41134a
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x478], eax
jmp 0x411364
push dword [edx - 0xc]
lea ecx, [ebp - 0x478]
push edx
call fcn.00406bd0
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x4c0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x488]
add edx, 0xfffffff0
mov dword [ebp - 0x458], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x454], ecx
lea ecx, [eax - 0x10]
cmp ecx, edx
je 0x411406
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
mov dword [ebp - 0x45c], edi
jl 0x4113f7
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4113f7
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.00406c80
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x45c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4113ec
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x488], eax
jmp 0x411406
push dword [eax - 0xc]
lea ecx, [ebp - 0x488]
push eax
call fcn.00406bd0
sub esp, 0x2c
lea eax, [ebp - 0x49c]
mov ecx, esp
push eax
call fcn.0040d1a0
call fcn.0040f000
add esp, 0x2c
lea ecx, [ebp - 0x49c]
call fcn.0040ca30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
jmp 0x410fb3
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410fcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410fcd
push 0x80004005
call fcn.00407010
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41148f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0054e73a
mov esp, ebp
pop ebp
ret