Function at 0x41d380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dfea1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x288], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
lea eax, [esp + 0x18]
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTheWorld_Chrome
mov byte [esp + 0x298], 1
push Ordinal_4
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x41d44f
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x68], 8
jb 0x41d42c
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004b6eae
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
je 0x41d448
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41d737
push 0x400
mov dword [esp + 0x2c], 1
mov byte [esp + 0x1b], 0
call fcn.004b8888
add esp, 4
push 0x400
mov ebx, eax
push esi
push ebx
call fcn.004b9920
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
push esi
push str.InstallLocation
push eax
mov dword [esp + 0x3c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x41d57d
mov edx, dword [esp + 0x68]
cmp edx, 8
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, ecx
jae 0x41d4bd
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x64]
lea edi, [eax + edi*2]
cmp edi, esi
je 0x41d4ed
cmp edx, 8
mov eax, ecx
jae 0x41d4d3
lea eax, [esp + 0x54]
cmp eax, edi
ja 0x41d4ed
cmp edx, 8
mov eax, ecx
jae 0x41d4e2
lea eax, [esp + 0x54]
mov esi, dword [esp + 0x64]
lea eax, [eax + esi*2]
cmp edi, eax
jbe 0x41d4fa
call fcn.004b7b58
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
cmp edx, 8
jb 0x41d5a3
test ecx, ecx
mov esi, ecx
je 0x41d52e
cmp edx, 8
mov eax, ecx
jae 0x41d514
lea eax, [esp + 0x54]
cmp eax, esi
ja 0x41d52e
cmp edx, 8
mov eax, ecx
jae 0x41d523
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x41d533
call fcn.004b7b58
lea eax, [esp + 0x50]
push edi
mov ecx, eax
push ecx
push esi
push eax
lea eax, [esp + 0x58]
push eax
mov eax, ecx
call fcn.00422af0
push ebx
call fcn.004b7fad
mov eax, dword [esp + 0x1c]
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x41d5ac
test eax, eax
je 0x41d56e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
xor esi, esi
jmp 0x41d414
mov eax, ebx
mov byte [esp + 0x17], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41d587
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x58]
call fcn.00407ef0
jmp 0x41d549
lea esi, [esp + 0x54]
jmp 0x41d509
xor edi, edi
cmp eax, edi
je 0x41d5bd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
push 0x206
lea edx, [esp + 0x72]
push edi
push edx
mov dword [esp + 0x28], edi
mov word [esp + 0x78], di
call fcn.004b9920
add esp, 0xc
push str.Application
lea eax, [esp + 0x54]
call fcn.0042f518
add esp, 4
push str.Application
lea eax, [esp + 0x54]
call fcn.0042f573
mov eax, dword [esp + 0x58]
add esp, 4
cmp dword [esp + 0x68], 8
jae 0x41d60a
lea eax, [esp + 0x54]
push str.User_DataDefaultPreferences
push eax
lea eax, [esp + 0x74]
push 0x4ed144
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x7c]
add esp, 0x10
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea edx, [eax + 2]
jmp 0x41d640
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d640
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x34]
call fcn.00407ef0
mov edx, esi
push edx
mov byte [esp + 0x28c], 2
call fcn.0043ec8b
add esp, 4
test al, al
mov esi, 8
sete bl
mov byte [esp + 0x288], 1
cmp dword [esp + 0x44], esi
jb 0x41d696
mov eax, dword [esp + 0x30]
push eax
call fcn.004b6eae
add esp, 4
test bl, bl
je 0x41d6d5
cmp dword [esp + 0x68], esi
jb 0x41d6ad
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
je 0x41d448
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41d737
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d6e0
mov esi, dword [esp + 0x20]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
add esi, 0x40
call fcn.00407ef0
cmp dword [esp + 0x68], 8
jb 0x41d715
mov eax, dword [esp + 0x54]
push eax
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
je 0x41d735
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret