Function at 0x4386b0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49d818
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4a7458
call fcn.004038d0
mov dword [esp + 0x28], 0
cmp dword [0x4c9d14], 6
ja 0x43870d
cmp dword [0x4c9d18], 2
sbb eax, eax
add eax, 1
mov dword [0x4c9d14], eax
je 0x4387a5
lea esi, [esp + 0x1c]
call fcn.00438540
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x2c], 1
call fcn.00436650
push eax
lea edx, [esp + 0x1c]
push edx
mov ebx, str.360Tray.exe___start
mov byte [esp + 0x34], 2
call fcn.0040efb0
add esp, 0xc
lea edi, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00403160
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438772
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
jmp 0x438838
lea esi, [esp + 0x14]
call fcn.00438540
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x2c], 4
call fcn.00436650
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.QHSafeTray.exe___start
mov byte [esp + 0x34], 5
call fcn.0040efb0
add esp, 0xc
lea edi, [esp + 0x10]
mov byte [esp + 0x28], 6
call fcn.00403160
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43880a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43882f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00438650
cmp al, 1
jne 0x438897
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x43887b
mov ecx, esi
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004036c0
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi]
push ecx
push eax
push 1
push str.QHSafeTray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4388bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret