Function at 0x488d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0b9b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5203c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], ebx
mov ecx, dword [0x528ab0]
mov dword [ebp - 0x42c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x424], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x528070]
cmp eax, dword [ecx + 4]
jg 0x489168
mov eax, dword [0x52806c]
cmp dword [eax - 0xc], 0
jne 0x489077
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004ad7b0
add esp, 0xc
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x488e85
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x434], 0x206
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Path
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488e64
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, 0x52806c
call fcn.00477ed0
mov eax, dword [0x52806c]
cmp dword [eax - 0xc], 0
jne 0x489077
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ad7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x489071
mov edx, str.SoftMgr
mov ecx, esi
lea ecx, [ecx]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x488f16
test ax, ax
je 0x488f12
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x488f16
add ecx, 4
add edx, 4
test ax, ax
jne 0x488ef0
xor eax, eax
jmp 0x488f1b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x488f46
lea eax, [ebp - 0x218]
push eax
call edi
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x488f31
sub edx, esi
sar edx, 1
push edx
jmp 0x489060
mov ecx, str.360Safe
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488f76
test dx, dx
je 0x488f72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488f76
add eax, 4
add ecx, 4
test dx, dx
jne 0x488f50
xor eax, eax
jmp 0x488f7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x488fa0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x488f90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488f90
jmp 0x48905b
mov eax, 0x4e7b24
mov cx, word [esi]
cmp cx, word [eax]
jne 0x488fcb
test cx, cx
je 0x488fc7
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x488fcb
add esi, 4
add eax, 4
test cx, cx
jne 0x488fa5
xor eax, eax
jmp 0x488fd0
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x488ffd
call edi
lea eax, [ebp - 0x218]
push eax
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488ff0
jmp 0x48905b
call edi
lea eax, [ebp - 0x218]
push eax
call ebx
mov ecx, str.360Safe
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x489036
test dx, dx
je 0x489032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x489036
add eax, 4
add ecx, 4
test dx, dx
jne 0x489010
xor eax, eax
jmp 0x48903b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x489071
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x489050
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489050
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, 0x52806c
push eax
call fcn.00477ed0
mov ebx, dword [ebp - 0x424]
cmp dword [ebp - 0x42c], 0
je 0x489134
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x4891c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4890c6
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00480960
jmp 0x4890f1
mov ecx, eax
lea edx, [ecx + 2]
jmp 0x4890d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4890d0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
call fcn.00477ed0
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 1
push eax
push 0x52806c
push ebx
call fcn.004861a0
mov esi, dword [ebp - 0x424]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48914a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x48914a
mov eax, dword [0x52806c]
add eax, 0xfffffff0
push eax
call fcn.00476560
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret
push 0x528070
call fcn.004a8d78
add esp, 4
cmp dword [0x528070], 0xffffffff
jne 0x488dc6
call fcn.00476b10
mov ecx, eax
test ecx, ecx
jne 0x489197
push 0x80004005
call fcn.00476460
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x4e40c0
mov dword [0x52806c], eax
call fcn.004a8b90
push 0x528070
call fcn.004a8d2e
add esp, 8
jmp 0x488dc6
push 0x80004005
call fcn.00476460
int3