Function at 0x42fb90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x49f341
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [0x4c77a4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c77a4
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x240], ebx
call fcn.00406c30
mov esi, eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4a7458
call fcn.004038d0
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x254], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42fd8d
push 0x208
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x30], 0x104
call fcn.0047c020
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42fd63
mov eax, dword [esp + 0x28]
sub eax, 1
lea ebp, [ebx - 1]
jne 0x42fcc1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
call fcn.004038d0
lea edi, [esp + 0x14]
mov byte [esp + 0x240], 2
call fcn.00403160
mov byte [esp + 0x240], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fcc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push str.deepscanBAPI.dll
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [0x4caea4]
cmp edi, ebx
jne 0x42fcf4
call fcn.00402920
mov edi, eax
mov dword [0x4caea4], edi
mov eax, esi
call fcn.004026a0
test eax, eax
je 0x42fd90
lea eax, [esp + 0x20]
push eax
push esi
push 1
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fd3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42fd5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x42fddc
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42fdaa
or ebp, 0xffffffff
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov edx, ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fdb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42fdda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00476dfd
add esp, 0x230
ret