Function at 0x4947b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5441c8]
mov dword [ebp - 0x428], eax
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x543764]
mov dword [ebp - 0x418], ebx
cmp eax, dword [ecx + 4]
jg 0x494b2b
mov eax, dword [0x543760]
cmp dword [eax - 0xc], 0
jne 0x494aa8
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c4ac0
add esp, 0xc
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x41c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4948b6
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x206
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.Path
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494895
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, 0x543760
call fcn.00483cb0
mov eax, dword [0x543760]
cmp dword [eax - 0xc], 0
jne 0x494aa8
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c4ac0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [ebp - 0x20c]
push eax
call ebx
mov edx, eax
test edx, edx
je 0x494aa1
mov ecx, str.SoftMgr
lea ecx, [ecx]
mov si, word [eax]
cmp si, word [ecx]
jne 0x494946
test si, si
je 0x494942
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x494946
add eax, 4
add ecx, 4
test si, si
jne 0x494920
xor eax, eax
jmp 0x49494b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x494976
lea eax, [ebp - 0x20c]
push eax
call edi
lea edx, [ebp - 0x20c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x494961
sub edx, esi
sar edx, 1
push edx
jmp 0x494a90
mov ecx, str.360Safe
mov eax, edx
lea ecx, [ecx]
mov si, word [eax]
cmp si, word [ecx]
jne 0x4949a6
test si, si
je 0x4949a2
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x4949a6
add eax, 4
add ecx, 4
test si, si
jne 0x494980
xor eax, eax
jmp 0x4949ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4949d0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x4949c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4949c0
jmp 0x494a8b
mov eax, 0x4fb364
mov cx, word [edx]
cmp cx, word [eax]
jne 0x4949fb
test cx, cx
je 0x4949f7
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x4949fb
add edx, 4
add eax, 4
test cx, cx
jne 0x4949d5
xor eax, eax
jmp 0x494a00
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x494a2d
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494a20
jmp 0x494a8b
call edi
lea eax, [ebp - 0x20c]
push eax
call ebx
mov ecx, str.360Safe
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x494a66
test dx, dx
je 0x494a62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x494a66
add eax, 4
add ecx, 4
test dx, dx
jne 0x494a40
xor eax, eax
jmp 0x494a6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x494aa1
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x494a80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494a80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, 0x543760
push eax
call fcn.00483cb0
mov ebx, dword [ebp - 0x418]
pop edi
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x494b03
push eax
lea ecx, [ebp - 0x41c]
call fcn.00483710
lea eax, [ebp - 0x41c]
push eax
push 0x543760
push ebx
call fcn.00493060
mov esi, dword [ebp - 0x41c]
add esp, 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494b19
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
mov eax, dword [0x543760]
add eax, 0xfffffff0
push eax
call fcn.00483ae0
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
push 0x543764
call fcn.004c1fd5
add esp, 4
cmp dword [0x543764], 0xffffffff
jne 0x4947f7
call fcn.00483350
mov ecx, eax
test ecx, ecx
jne 0x494b5a
push 0x80004005
call fcn.004831b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x4f7890
mov dword [0x543760], eax
call fcn.004c1d8a
push 0x543764
call fcn.004c1f8b
add esp, 8
jmp 0x4947f7