Function at 0x43e310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x70]
or ecx, 0xffffffff
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov edx, dword [eax + 0x13c]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43e505
push 0x5c
push edx
call fcn.005e6160
mov esi, eax
add esp, 8
test esi, esi
je 0x43e369
inc esi
jmp 0x43e372
mov ecx, dword [ebx + 0x70]
mov esi, dword [ecx + 0x13c]
push str.firefox.exe
push esi
call fcn.005e5520
add esp, 8
test eax, eax
jne 0x43e594
mov eax, dword [ebx + 0x70]
test dword [eax + 0x16c], 0x100000
jne 0x43e505
mov eax, dword [eax + 0x198]
push str.Firefox_
push eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 0
call fcn.005e5290
add esp, 8
test eax, eax
je 0x43e3f4
lea edx, [ebp - 0x1c]
add eax, 8
push edx
push 0x6c50dc
push eax
call fcn.005e55f0
add esp, 0xc
cmp eax, 1
jne 0x43e3f4
cmp dword [ebp - 0x1c], 7
jle 0x43e3e5
mov dword [ebp - 0x18], 1
mov ebx, dword [ebp + 8]
cmp ebx, 1
jle 0x43e3f7
mov al, 1
jmp 0x43e529
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
mov eax, dword [0x6f61b0]
lea edx, [ebp - 0x20]
push ecx
push edx
push str._ld__ld__ld
push eax
call fcn.005e55f0
add esp, 0x14
cmp eax, 3
jne 0x43e49a
lea ecx, [ebp + 8]
push ecx
call fcn.005fa8aa
push 0
lea ecx, [ebp + 8]
call fcn.005fa8bd
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp + 8]
inc esi
call fcn.005fa8bd
mov edi, dword [eax + 0xc]
push 0
lea ecx, [ebp + 8]
call fcn.005fa8bd
mov eax, dword [eax + 0x14]
mov ecx, esi
add eax, 0x76c
shl ecx, 4
lea edx, [eax + eax*8]
sub ecx, esi
mov esi, dword [ebp - 0x24]
lea eax, [eax + edx*8]
lea eax, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
lea eax, [eax + eax*4]
sub edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 1
sub edx, ecx
sub edx, esi
lea eax, [edx + edi - 0xb2390]
cmp eax, 0x2d
jbe 0x43e49a
mov byte [ebp - 0x11], 1
jmp 0x43e526
mov edx, dword [0x6f175c]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
mov eax, str.bShFF8Tip
jne 0x43e4b8
mov eax, str.bShFFTip
push ebx
push eax
lea eax, [ebp + 8]
push str._s_ld
push eax
call fcn.005fa6fb
mov eax, dword [ebp + 8]
add esp, 0x10
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [0x6f6360]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e51a
cmp dword [ebp - 0x20], 1
jne 0x43e51a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.006018cc
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43e562
test al, al
je 0x43e537
or ebx, 8
push 0
push 0
push 0
push 0
push ebx
push 0x4394a0
call fcn.00601eca
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test al, al
je 0x43e569
or ebx, 8
push 0
push 0
push 0
push 0
push ebx
push 0x439470
call fcn.00601eca
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xa
push str.chrome.exe
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x43e64e
mov esi, dword [ebp + 8]
cmp esi, 1
setg al
test al, al
jne 0x43e620
mov edx, dword [0x6f175c]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.bShChrIntTip2__ld
push eax
mov byte [ebp - 4], 2
call fcn.005fa6fb
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [0x6f6360]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e612
cmp dword [ebp - 0x20], 1
jne 0x43e612
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
jmp 0x43e500
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.006018cc
jmp 0x43e623
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x4394d0
call fcn.00601eca
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x13
push str.MicrosoftEdgeCP.exe
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x43e505
mov edx, dword [ebx + 0x70]
test dword [edx + 0x16c], 0x100000
jne 0x43e505
mov esi, dword [ebp + 8]
cmp esi, 1
setg al
test al, al
jne 0x43e6ec
mov eax, dword [0x6f175c]
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
push str.bShEdgeIntTip__ld
push ecx
mov byte [ebp - 4], 3
call fcn.005fa6fb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push edx
mov edx, dword [0x6f6360]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e6de
cmp dword [ebp - 0x2c], 1
jne 0x43e6de
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
jmp 0x43e500
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
jmp 0x43e6ef
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x439500
call fcn.00601eca
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4