Function at 0x42d090
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a87d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d32d
lea ecx, [esp + 0x24]
push ecx
call fcn.004457e0
add esp, 4
mov dword [esp + 0x30], ebx
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], 1
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x7d0
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x3e8
or eax, ecx
jge 0x42d13f
mov ecx, 0x3e8
lea eax, [esp + 0x14]
call fcn.0046c770
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push str.aiRestore
push eax
call ebp
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0048c35c
add esp, 8
cmp eax, ebx
jl 0x42d341
cmp eax, dword [esi - 8]
jg 0x42d341
xor ecx, ecx
mov dword [esi - 0xc], eax
cmp edi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov word [esi + eax*2], cx
jne 0x42d1d8
cmp dword [esp + 0x1c], 1
jne 0x42d1d8
cmp dword [esi - 0xc], ecx
je 0x42d1d8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
call fcn.00460cb0
test eax, eax
je 0x42d1d8
mov eax, dword [esp + 0x18]
push str.aiRestore
push eax
call ebx
push str.aiRestore_succ
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
add esp, 0x14
lea esi, [esp + 0x14]
call fcn.0046c650
mov esi, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x7d0
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x3e8
or eax, ecx
jge 0x42d217
mov ecx, 0x3e8
lea eax, [esp + 0x14]
call fcn.0046c770
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push 0
push str.aiRestore0
push eax
call ebp
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0048c35c
add esp, 8
test eax, eax
jl 0x42d341
cmp eax, dword [esi - 8]
jg 0x42d341
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x42d2d1
cmp dword [esp + 0x1c], 1
jne 0x42d2d1
cmp dword [esi - 0xc], ecx
je 0x42d2d1
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
call fcn.00460cb0
test eax, eax
je 0x42d2d1
mov eax, dword [esp + 0x18]
push str.aiRestore0
push eax
call ebx
push str.aiRestore_nouse
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
add esp, 0x14
push 0x4d0ea0
call fcn.00460de0
test eax, eax
je 0x42d2d1
push str.aiRestore_nouse_open
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
add esp, 0x14
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d32d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.004752e0
int3