Function at 0x41a520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ce46
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4ade78]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocStringLen
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], 0
call fcn.0041c100
test eax, eax
je 0x41a68c
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x420]
call fcn.0041c100
test eax, eax
je 0x41a68c
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x420]
call fcn.0041c100
mov edi, eax
call fcn.0041c640
test al, al
jne 0x41a608
mov eax, 0x78
mov esi, 0xaa
lea ebx, [ebx]
test esi, esi
je 0x41a601
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x41a5f0
add eax, esi
mov dword [0x4af2c0], eax
test edi, edi
je 0x41a63c
push ecx
mov ecx, esp
push 0x490f70
call fcn.00401b30
push ebx
call fcn.00419bc0
mov eax, dword [ebp - 0x420]
add esp, 8
test eax, eax
je 0x41a86d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a86d
call fcn.0041c540
test al, al
jne 0x41a68c
mov ecx, dword [ebp - 0x41c]
add ecx, dword [ebp - 0x420]
mov esi, dword [0x4af2c0]
add ecx, dword [ebp - 0x418]
add ecx, dword [ebp - 0x414]
add ecx, dword [ebp - 0x410]
add ecx, dword [ebp - 0x40c]
add ecx, dword [ebp - 0x408]
add ecx, dword [ebp - 0x404]
mov eax, ecx
shl eax, 5
sub eax, ecx
add esi, eax
mov dword [0x4af2c0], esi
jmp 0x41a692
mov esi, dword [0x4af2c0]
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.00462e00
imul esi, esi
mov eax, esi
cdq
mov ecx, 0x13
idiv ecx
add esp, 0xc
cmp edx, 0xf
jne 0x41a6cb
call fcn.00461e71
mov dword [0x4af2c0], eax
push 0x492004
lea ecx, [ebp - 0x414]
call fcn.00401b30
mov esi, dword [ebp - 0x420]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.Version
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x42c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x41a753
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x41a72f
cmp eax, 2
je 0x41a72f
mov edi, 0xd
jmp 0x41a753
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x41a74a
cmp byte [ebp + eax - 0x411], 0
je 0x41a751
mov edi, 0xd
jmp 0x41a753
mov byte [ebp - 0x410], 0
xor edi, edi
call fcn.0041c4a0
test al, al
jne 0x41a7a8
mov eax, dword [str.wUmPq]
mov dword [ebp - 0x428], eax
mov ax, word [0x49218c]
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x428]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a780
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
push eax
call fcn.0046208f
add esp, 8
test edi, edi
jne 0x41a7d1
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a7b5
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.00408620
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41a7e6
push esi
call edi
xor esi, esi
mov dword [ebp - 0x420], esi
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x41c], 0
cmp dword [eax - 0xc], 0
je 0x41a82c
push 0x492004
push eax
call fcn.0046236e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41a82c
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
push eax
call fcn.00403ee0
add esp, 4
add eax, 0x10
mov dword [ebx], eax
jmp 0x41a842
push ecx
mov ecx, esp
push 0x490f70
call fcn.00401b30
push ebx
call fcn.00419bc0
add esp, 8
mov edx, dword [ebp - 0x414]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a866
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41a86d
push esi
call edi
mov eax, ebx
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.00461234
mov esp, ebp
pop ebp
ret