Function at 0x4114b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f070
mov eax, dword fs:[0]
push eax
sub esp, 0x484
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 edi, ecx
mov dword [ebp - 0x454], ecx
mov dword [ebp - 4], 0
mov esi, 0x20019
mov dword [ebp - 0x458], 0
or ebx, 0xffffffff
nop
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jge 0x41150d
or ecx, 0xffffffff
jmp 0x41152a
push str.Wow6432Node_
push eax
call fcn.00550fb4
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x411526
or ecx, 0xffffffff
jmp 0x41152a
sub ecx, dword [edi]
sar ecx, 1
mov eax, esi
or eax, 0x100
test ecx, ecx
cmovns eax, esi
mov esi, eax
mov dword [ebp - 0x44c], esi
call fcn.00417ce3
test eax, eax
je 0x411bc3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov eax, 0x5af8f0
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x411778
movzx esi, ax
push esi
call fcn.00419421
test eax, eax
je 0x411589
push esi
push eax
lea ecx, [ebp - 0x42c]
call fcn.004066a0
mov esi, dword [ebp - 0x44c]
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x448], ecx
call fcn.004069a0
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x434]
call fcn.004047c0
mov ecx, esp
mov byte [ebp - 4], 3
lea eax, [ebp - 0x434]
mov dword [ebp - 0x448], ecx
push eax
call fcn.004069a0
call fcn.00404900
mov edi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x444]
add esp, 4
push ecx
push esi
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411b57
push 0x206
push eax
mov dword [ebp - 0x450], 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 0x411bc3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x430], 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 - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x411b2a
or edi, 0xffffffff
nop dword [eax]
inc dword [ebp - 0x450]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x430]
push 0x5af300
push eax
call fcn.00406ff0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00551910
push 0x20a
lea eax, [ebp - 0x428]
mov dword [ebp - 0x438], 0x20a
push 0
push eax
call fcn.00551910
mov esi, dword [ebp - 0x430]
lea eax, [ebp - 0x43c]
add esp, 0x24
mov dword [ebp - 0x43c], 0x20a
mov dword [ebp - 0x440], 2
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push esi
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411af0
lea ecx, [ebp - 0x484]
call fcn.0040c890
mov byte [ebp - 4], 5
lea ecx, [esi - 0x10]
mov ebx, dword [ebp - 0x484]
add ebx, 0xfffffff0
cmp ecx, ebx
je 0x41179e
cmp dword [ebx + 0xc], 0
jl 0x41178f
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x41178f
push ecx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41176d
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
add eax, 0x10
mov dword [ebp - 0x484], eax
jmp 0x41179e
push 0
push 0x5af8f0
lea ecx, [ebp - 0x42c]
call fcn.00406bd0
jmp 0x41158f
push dword [esi - 0xc]
lea ecx, [ebp - 0x484]
push esi
call fcn.00406bd0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x460]
push 0x5af300
push eax
call fcn.00406ff0
add esp, 8
lea eax, [ebp - 0x430]
mov ecx, esp
mov dword [ebp - 0x448], ecx
push eax
call fcn.004069a0
lea ecx, [ebp - 0x488]
call fcn.00403940
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov ebx, dword [ebp - 0x480]
add ebx, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x411842
cmp dword [ebx + 0xc], 0
jl 0x411833
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x411833
push ecx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411828
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x480], ebx
jmp 0x411848
push dword [edx - 0xc]
lea ecx, [ebp - 0x480]
push edx
call fcn.00406bd0
mov ebx, dword [ebp - 0x480]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x488]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411869
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x5af8f0
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x411896
test dx, dx
je 0x411892
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x411896
add ecx, 4
add eax, 4
test dx, dx
jne 0x411870
xor eax, eax
jmp 0x41189b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x411ae1
push ecx
mov ecx, esp
lea eax, [ebp - 0x480]
push eax
mov dword [ebp - 0x448], ecx
call fcn.004069a0
lea ecx, [ebp - 0x48c]
call fcn.004031f0
add esp, 4
mov byte [ebp - 4], 7
add ebx, 0xfffffff0
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x41192c
cmp dword [ebx + 0xc], 0
jl 0x41191d
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x41191d
push edx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411912
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
add eax, 0x10
mov dword [ebp - 0x480], eax
jmp 0x41192c
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x480]
call fcn.00406bd0
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x48c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41194d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x484]
call fcn.004136a0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x490]
push str.HKEY_CLASSES_ROOTCLSID_
push eax
call fcn.00406490
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x468]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x4119da
cmp dword [ebx + 0xc], 0
jl 0x4119cb
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4119cb
push edx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4119c0
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
add eax, 0x10
mov dword [ebp - 0x468], eax
jmp 0x4119da
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x468]
call fcn.00406bd0
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x490]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4119fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x454]
mov ebx, dword [ebp - 0x464]
add ebx, 0xfffffff0
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x411a64
cmp dword [ebx + 0xc], 0
jl 0x411a55
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x411a55
push edx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411a4a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
add eax, 0x10
mov dword [ebp - 0x464], eax
jmp 0x411a64
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x464]
call fcn.00406bd0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x470]
add ebx, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x411ac8
cmp dword [ebx + 0xc], 0
jl 0x411ab9
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x411ab9
push edx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x448], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411aae
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x448]
add eax, 0x10
mov dword [ebp - 0x470], eax
jmp 0x411ac8
push dword [eax - 0xc]
lea ecx, [ebp - 0x470]
push eax
call fcn.00406bd0
sub esp, 0x2c
lea eax, [ebp - 0x484]
mov ecx, esp
push eax
call fcn.0040d1a0
call fcn.0040f000
add esp, 0x2c
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 4
call fcn.0040ca30
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x450]
push eax
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x411680
mov edi, dword [ebp - 0x42c]
or ebx, 0xffffffff
push dword [ebp - 0x444]
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 0x411b51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44c]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x434]
add edx, 0xfffffff0
cmp dword [0x5dd608], 0
jne 0x411bcd
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411b81
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 0x411b9c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x458]
mov edi, dword [ebp - 0x454]
inc ecx
add edi, 4
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x454], edi
cmp ecx, 3
jl 0x411500
jmp 0x411bfa
push 0x80004005
call fcn.00407010
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411bdf
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 0x411bfa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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 0x411c19
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