Function at 0x47b079
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4e1370]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x14
mov eax, 0x4b283c
call fcn.0049524d
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x1c], ebx
test byte [0x4ea404], 1
mov dword [ebp - 0x10], eax
jne 0x47b0d9
or dword [0x4ea404], 1
mov ecx, 0x4ea400
call fcn.004054e0
push 0x4c025b
call fcn.00490884
pop ecx
mov eax, dword [0x4ea400]
cmp dword [eax - 0xc], ebx
jne 0x47b2e1
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00494b20
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x47b158
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.Path
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp]
mov edi, 0x4ea400
call fcn.004059e0
mov eax, dword [0x4ea400]
cmp dword [eax - 0xc], ebx
jne 0x47b2e1
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00494b20
add esp, 0xc
push 0x104
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 0x208]
push eax
call edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x47b2e1
mov edx, str.SoftMgr
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x47b1e4
cmp si, bx
je 0x47b1e0
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x47b1e4
add ecx, 4
add edx, 4
cmp si, bx
jne 0x47b1be
xor ecx, ecx
jmp 0x47b1e9
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x47b20b
lea eax, [ebp + 0x208]
push eax
call edi
lea edx, [ebp + 0x208]
mov edi, 0x4ea400
call fcn.004059e0
jmp 0x47b2e1
mov ebx, str.360Safe
mov edx, ebx
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x47b23a
test si, si
je 0x47b236
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x47b23a
add ecx, 4
add edx, 4
test si, si
jne 0x47b214
xor ecx, ecx
jmp 0x47b23f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x47b2cf
mov ecx, 0x4ccb10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b272
test dx, dx
je 0x47b26e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b272
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b24c
xor eax, eax
jmp 0x47b277
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [ebp + 0x208]
push eax
jne 0x47b28f
call edi
lea eax, [ebp + 0x208]
push eax
call edi
jmp 0x47b2cf
call edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b2c6
test dx, dx
je 0x47b2c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b2c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b2a0
xor eax, eax
jmp 0x47b2cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47b2df
lea edx, [ebp + 0x208]
mov edi, 0x4ea400
call fcn.004059e0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x47b310
lea eax, [ebp - 0x10]
push eax
call fcn.00405a20
mov edi, dword [ebp - 0x14]
push 0x4ea400
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0047f0e6
pop ecx
mov ecx, esi
call fcn.00406090
mov eax, edi
jmp 0x47b327
mov eax, dword [0x4ea400]
add eax, 0xfffffff0
call fcn.0040bbd0
mov ecx, eax
mov eax, dword [ebp - 0x14]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0049021b
add ebp, 0x414
leave
ret