Function at 0x426310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48ac38
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0xc70
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
xor edi, edi
mov dword [ebp - 0xc64], edi
mov dword [ebp - 0xc68], edi
mov dword [ebp - 0xc6c], edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x2450], edi
je 0x426453
push ebx
call fcn.00425650
cmp eax, 1
jne 0x426481
push eax
lea eax, [ebp - 0xc64]
push eax
push edi
push edi
push ebx
mov ecx, dword [esi + 0x2450]
call ecx
mov eax, dword [ebp - 0xc64]
cmp eax, edi
je 0x426453
push eax
call fcn.0043e793
add esp, 4
mov dword [ebp - 0xc68], eax
cmp eax, edi
je 0x426453
push 1
lea edx, [ebp - 0xc64]
push edx
mov eax, dword [ebp - 0xc64]
push eax
mov ecx, dword [ebp - 0xc68]
push ecx
push ebx
mov edx, dword [esi + 0x2450]
call edx
test eax, eax
je 0x426453
mov edi, dword [ebp - 0xc64]
shr edi, 2
xor esi, esi
mov dword [ebp - 0xc7c], esi
cmp esi, edi
jae 0x426451
push 0x104
lea eax, [ebp - 0x460]
push eax
mov ecx, dword [ebp - 0xc68]
mov edx, dword [ecx + esi*4]
push edx
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x426424
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileNameEx_error:__d
call fcn.00404c20
add esp, 8
inc esi
jmp 0x4263e3
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x426421
push str.BkavFirewallEngine.dll
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
jne 0x426421
mov dword [ebp - 0xc6c], 1
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0042657f
mov eax, dword [ebp - 0xc6c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc78], 1
mov dword [ebp - 0xc74], 0x21c
mov dword [ebp - 0xc70], edi
lea ecx, [ebp - 0xc74]
push ecx
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0xc78]
push eax
push str.szBkavDir
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x426453
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
lea ecx, [ebp - 0xc70]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x426453
push str.BkavSystemUtil64.exe
push str.System
lea edx, [ebp - 0x240]
push edx
push str._s_s_s
push 0x104
mov eax, edx
push eax
call fcn.0043ed50
push esi
push str._chkij__d
push 0x3e8
lea ecx, [ebp - 0xc60]
push ecx
call fcn.0043ed50
mov edx, dword [ebp - 0xc70]
push edx
lea edx, [ebp - 0xc60]
lea ecx, [ebp - 0x240]
call fcn.00405680
add esp, 0x2c
mov esi, eax
cmp esi, edi
je 0x426453
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x426571
lea eax, [ebp - 0xc80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xc80]
mov dword [ebp - 0xc6c], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426453