Function at 0x461810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50804c
mov eax, dword fs:[0]
push eax
mov eax, 0x184c0
call fcn.004e6660
mov eax, dword [0x564690]
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 + 8]
mov dword [ebp - 0x184b4], edi
mov dword [ebp - 0x184cc], 0
mov dword [ebp - 0x184c0], 0
mov dword [ebp - 0x184bc], 0
mov dword [ebp - 0x184b8], 0
mov dword [ebp - 4], 0
call fcn.00465cd0
test al, al
jne 0x4618a8
mov eax, 0x33
mov esi, 0x96
lea ecx, [ecx]
test esi, esi
je 0x4618a1
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x461890
add eax, esi
mov dword [0x565ae0], eax
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x184c0]
call fcn.0040b750
test eax, eax
je 0x461abb
lea eax, [ebp - 0x184b0]
push eax
call fcn.0040d9b0
add esp, 4
mov esi, dword [ebp - 0x184b0]
or ebx, 0xffffffff
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 1
je 0x461a6c
call fcn.00465e20
test al, al
jne 0x461975
xor eax, eax
push 0x17a1e
push eax
mov word [ebp - 0x18230], ax
lea eax, [ebp - 0x1822e]
push eax
call fcn.004e6690
add esp, 0xc
xor ebx, ebx
xor edi, edi
xor edx, edx
lea ebx, [ebx]
test ebx, ebx
je 0x461948
test edx, edx
je 0x461948
lea eax, [edi + edx]
lea ecx, [ebp - 0x18230]
lea ecx, [ecx + eax*2]
lea eax, [edi + edx]
mov ax, word [ebp + eax*2 - 0x183e8]
inc ax
add ax, word [ecx - 2]
mov word [ecx], ax
inc edx
cmp edx, 0xdc
jl 0x461920
add edi, 0xdc
inc ebx
cmp edi, 0xbd10
jl 0x461918
movsx eax, word [ebp - 0x812]
mov edi, dword [ebp - 0x184b4]
mov dword [0x565ae0], eax
or ebx, 0xffffffff
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x461ab1
cmp eax, ecx
jg 0x461ab1
cmp word [esi + eax*2], 0x5c
je 0x4619a4
push 1
push 0x518d18
lea ecx, [ebp - 0x184b0]
call fcn.00402ce0
push str.GoogleChromeApplicationchrome.exe
lea eax, [ebp - 0x184b0]
push eax
lea eax, [ebp - 0x184b4]
push eax
call fcn.004029e0
lea eax, [ebp - 0x184b4]
push eax
mov byte [ebp - 4], 2
call fcn.0040d3f0
add esp, 0x10
test al, al
je 0x461a49
mov eax, dword [ebp - 0x184b4]
add eax, 0xfffffff0
push eax
call fcn.00405870
mov edx, dword [ebp - 0x184b4]
add eax, 0x10
add edx, 0xfffffff0
or ebx, 0xffffffff
mov dword [edi], eax
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x461a10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x184b0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x461a31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x184c0]
test ecx, ecx
je 0x461a42
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x461c7c
mov edx, dword [ebp - 0x184b4]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x461a6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x51661c
mov ecx, edi
call fcn.00401b70
mov edx, dword [ebp - 0x184b0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x461a99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x184c0]
test eax, eax
je 0x461a42
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x461c7c
push 0x80070057
call fcn.00402ec0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004e6690
mov ecx, dword [0x565ae0]
add esp, 0xc
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 6
idiv ecx
cmp edx, 5
jne 0x461b14
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x565ae0]
mov edx, 7
test eax, eax
cmove ecx, edx
mov dword [0x565ae0], ecx
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x184c4], esi
mov byte [ebp - 4], 3
call fcn.00465e80
test al, al
jne 0x461b80
mov edx, dword [0x565ae0]
xor ecx, ecx
nop
mov eax, dword [ebp + ecx*4 - 0x18498]
add eax, dword [ebp + ecx*4 - 0x1849c]
add ecx, 6
add eax, dword [ebp + ecx*4 - 0x184b8]
add eax, dword [ebp + ecx*4 - 0x184bc]
add eax, dword [ebp + ecx*4 - 0x184c0]
add eax, dword [ebp + ecx*4 - 0x184c4]
imul eax, eax, 0x76
add edx, eax
cmp ecx, 0x27c
jb 0x461b40
mov dword [0x565ae0], edx
mov edi, dword [ebp - 0x184c0]
lea eax, [ebp - 0x184b0]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x184c8]
push eax
push 0
push 0x51661c
push edi
mov dword [ebp - 0x184b0], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x461c1e
mov eax, dword [ebp - 0x184c8]
cmp eax, 1
je 0x461bc7
cmp eax, 2
jne 0x461c1e
mov eax, dword [ebp - 0x184b0]
test eax, eax
je 0x461be4
test al, 1
jne 0x461c1e
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x461bed
jmp 0x461c1e
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461bf6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x184c4]
call fcn.00409890
mov esi, dword [ebp - 0x184c4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x461c33
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x184c0], edi
add esi, 0xfffffff0
push esi
mov dword [ebp - 0x184bc], 0
call fcn.00405870
mov ecx, dword [ebp - 0x184b4]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x461c6f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x461c76
push edi
call ebx
mov eax, dword [ebp - 0x184b4]
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.004e50b4
mov esp, ebp
pop ebp
ret