Function at 0x43be60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c93d1
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x51eee0]
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 eax, dword [0x520340]
mov ecx, eax
imul ecx, eax
imul eax, ecx
cdq
mov ecx, 0xc
idiv ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x834], 0
cmp edx, 2
jne 0x43bf0f
mov eax, dword [str.rN2OaS]
mov dword [ebp - 0x820], eax
mov ax, word [0x4de1f4]
mov word [ebp - 0x81c], ax
mov al, byte [0x4de1f6]
mov byte [ebp - 0x81a], al
lea eax, [ebp - 0x820]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bee7
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
push eax
call fcn.004a7190
add esp, 8
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocStringLen
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], 0
call fcn.0040bf10
test eax, eax
je 0x43c015
call fcn.0043de10
test al, al
jne 0x43bf96
push 0x28
call fcn.004a5340
add esp, 4
mov edi, eax
xor esi, esi
lea ebx, [ebx]
call fcn.004a6f99
add eax, dword [0x520340]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x43bf70
mov eax, dword [edi + 0x24]
push edi
mov dword [0x520340], eax
call fcn.004a7190
add esp, 4
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x82c]
call fcn.0040bf10
test eax, eax
je 0x43c015
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x82c]
call fcn.0040bf10
test eax, eax
je 0x43c015
mov eax, dword [0x520340]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xa
jne 0x43bfea
dec dword [0x52142c]
push ecx
push esp
call fcn.0043ac50
add esp, 4
push ebx
call fcn.0043b410
mov ecx, dword [ebp - 0x82c]
add esp, 8
test ecx, ecx
je 0x43c00e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x43c1f4
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004a7560
mov eax, dword [0x51eab0]
add esp, 0xc
mov ecx, 0x51eab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov eax, 0x4ddf74
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x43c07a
movzx edi, ax
push 0
push edi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x43c092
push edi
push eax
lea ecx, [ebp - 0x814]
call fcn.00407650
jmp 0x43c08c
push 3
push 0x4ddf74
lea ecx, [ebp - 0x814]
call fcn.00409950
mov esi, dword [ebp - 0x814]
mov edi, dword [ebp - 0x82c]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push 0x4dd754
push edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x830], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c138
mov eax, dword [ebp - 0x820]
cmp eax, 1
je 0x43c0dd
cmp eax, 2
jne 0x43c138
mov eax, dword [ebp - 0x830]
test eax, eax
je 0x43c0fa
test al, 1
jne 0x43c138
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x43c103
jmp 0x43c138
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c110
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.00409950
mov esi, dword [ebp - 0x814]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x43c14d
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x82c], edi
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x828], 0
je 0x43c1b1
mov ecx, 0x4ddf74
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c18a
test dx, dx
je 0x43c186
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c18a
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c164
xor eax, eax
jmp 0x43c18f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x43c1b1
add esi, 0xfffffff0
push esi
call fcn.00404840
mov ecx, dword [ebp - 0x818]
add esp, 4
add eax, 0x10
mov dword [ecx], eax
jmp 0x43c1cc
push ecx
push esp
call fcn.0043ac50
add esp, 4
push dword [ebp - 0x818]
call fcn.0043b410
add esp, 8
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c1e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x43c1ee
push edi
call ebx
mov eax, dword [ebp - 0x818]
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.004a63c4
mov esp, ebp
pop ebp
ret