Function at 0x487f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.SOFTWARE360Safeexamin
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov dword [ebp - 4], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 8], 0
je 0x487f82
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0xffffffff
jne 0x487f87
jmp 0x488056
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 4], 0
je 0x487fad
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0xffffffff
jne 0x487fb2
jmp 0x488056
mov ecx, dword [ebp - 0x1c]
call fcn.00488200
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
add edx, 0x1c
push edx
push 0x10
push 0
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x487fe4
jmp 0x488056
push 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x488004
jmp 0x488056
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x487ef0
push 0
push 0
call fcn.004b17b2
add esp, 0x18
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
jne 0x48802e
jmp 0x488056
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x14]
jmp 0x48810a
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 8], 0
je 0x488075
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0xffffffff
je 0x488075
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x488094
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], 0xffffffff
je 0x488094
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xc], 0
je 0x4880b3
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0xc], 0xffffffff
je 0x4880b3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x1c], 0
je 0x4880c9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret