Function at 0x43f640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f288
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x148]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f680
sub eax, esi
je 0x43f80a
push 0x5c
push edx
call fcn.0061a820
add esp, 8
mov esi, eax
test esi, esi
je 0x43f6a3
inc esi
jmp 0x43f6a9
mov esi, dword [edi + 0x148]
push 0xb
push str.firefox.exe
push esi
call fcn.0061f7bf
add esp, 0xc
test eax, eax
jne 0x43f894
test dword [edi + 0x174], 0x100000
jne 0x43f80a
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], bl
mov eax, dword [edi + 0x1ac]
push str.Firefox_
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x43f727
add eax, 8
lea ecx, [ebp - 0x18]
push ecx
push 0x67042c
push eax
call fcn.00619a6e
add esp, 0xc
cmp eax, 1
jne 0x43f727
cmp dword [ebp - 0x18], 7
jle 0x43f716
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0xc]
cmp edi, 1
jle 0x43f72a
mov byte [ebp - 0x11], 1
jmp 0x43f82a
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str._ld__ld__ld
mov edx, dword [0x754d98]
push edx
call fcn.00619a6e
add esp, 0x14
cmp eax, 3
jne 0x43f7a3
lea eax, [ebp - 0x34]
push eax
call fcn.0043c0e0
lea ecx, [ebp - 0x34]
call fcn.0043b880
mov esi, eax
mov ecx, 0xfffff830
sub ecx, dword [ebp - 0x18]
add esi, ecx
imul esi, esi, 0x16d
lea ecx, [ebp - 0x34]
call fcn.0043b8b0
sub eax, dword [ebp - 0x20]
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
sub edx, dword [ebp - 0x24]
add esi, edx
lea ecx, [ebp - 0x34]
call fcn.0043b8e0
add eax, esi
cmp eax, 0x2d
jbe 0x43f7a3
mov byte [ebp - 0x11], 1
jmp 0x43f82a
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 1
test ebx, ebx
mov eax, str.bShFF8Tip
jne 0x43f7bd
mov eax, str.bShFFTip
push edi
push eax
push str._s_ld
lea eax, [ebp - 0x18]
push eax
call fcn.00402f70
add esp, 0x10
mov dword [ebp - 0x24], 4
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x754bec]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43f81e
cmp dword [ebp - 0x20], 1
jne 0x43f81e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
test ebx, ebx
je 0x43f861
cmp byte [ebp - 0x11], 0
je 0x43f837
or edi, 8
push 0
push 0
push 0
push 0
push edi
push 0x43f530
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x11], 0
je 0x43f86a
or edi, 8
push 0
push 0
push 0
push 0
push edi
push 0x43f500
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
push str.chrome.exe
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x43f943
mov esi, dword [ebp + 0xc]
cmp esi, 1
setg al
test al, al
jne 0x43f916
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 2
push esi
push str.bShChrIntTip2__ld
lea edx, [ebp - 0x18]
push edx
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x754bec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43f908
cmp dword [ebp - 0x24], 1
je 0x43f7fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x43f919
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x43f580
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
push str.opera.exe
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x43fa03
test dword [edi + 0x174], 0x100000
jne 0x43f80a
mov esi, dword [ebp + 0xc]
cmp esi, 1
setg al
test al, al
jne 0x43f9d6
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 3
push esi
push str.bShOperaIntTip__ld
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x28], 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x754bec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43f9c8
cmp dword [ebp - 0x24], 1
je 0x43f7fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x43f9d9
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x43f5b0
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x13
push str.MicrosoftEdgeCP.exe
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x43fac3
test dword [edi + 0x174], 0x100000
jne 0x43f80a
mov esi, dword [ebp + 0xc]
cmp esi, 1
setg al
test al, al
jne 0x43fa96
lea ecx, [ebp - 0x18]
call fcn.00402500
mov ebx, 4
mov byte [ebp - 4], bl
push esi
push str.bShEdgeIntTip__ld
lea eax, [ebp - 0x18]
push eax
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x754bec]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43fa88
cmp dword [ebp - 0x28], 1
je 0x43f7fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x43fa99
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x43f5e0
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x13
push str.msedge.exe
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x43fb82
test dword [edi + 0x174], 0x100000
jne 0x43f80a
mov esi, dword [ebp + 0xc]
cmp esi, 1
setg al
test al, al
jne 0x43fb55
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 5
push esi
push str.bShEdgeChIntTip__ld
lea edx, [ebp - 0x18]
push edx
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x30], 4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x754bec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43fb47
cmp dword [ebp - 0x2c], 1
je 0x43f7fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x43fb58
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x43f610
call fcn.005f7aaa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret