joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064d50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0xf01ff
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10064de5
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10064dd4
mov eax, dword [ebp - 0x20]
push esi
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10064dd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x10064dd4
xor esi, esi
inc esi
cmp dword [ebp - 0x18], 0
je 0x10064de3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret

Function at 0x10065584
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x10065643
test edi, edi
je 0x10065643
push 0x10190228
push 0xc
call fcn.10038d70
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100655de
call fcn.100029f0
push eax
mov ecx, esi
call fcn.1000281b
call fcn.100029f0
push eax
lea ecx, [esi + 4]
call fcn.1000281b
call fcn.100029f0
push eax
lea ecx, [esi + 8]
call fcn.1000281b
jmp 0x100655e0
xor esi, esi
test esi, esi
je 0x10065643
push ebx
mov ecx, esi
call fcn.100026c3
push edi
lea ecx, [esi + 4]
call fcn.100026c3
cmp dword [ebp + 8], 0
je 0x10065606
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.100026c3
xor eax, eax
push eax
push eax
push esi
push 0x10065649
push 0x186a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x1006562c
push ecx
mov ecx, esi
call fcn.100045af
jmp 0x10065643
cmp dword [ebp + 0xc], 0
je 0x1006563c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x10065fc3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10133a0c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10133a10]
push 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
call ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [edi], esi
lea eax, [ebp - 0xc]
lea ecx, [esi + 0x43]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x10066027
mov ecx, dword [edi]
cmp ecx, 0x1a
jge 0x10066027
mov ax, word [ebp - 0xc]
mov word [ebx + ecx*2], ax
inc dword [edi]
inc esi
cmp esi, 0x18
jl 0x10066000
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038cf9
leave
ret

Function at 0x100661a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10066218
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10066218
push 0x80020003
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret
Function at 0x10066d16
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x810
push 0
mov edi, 0x10190e5c
push edi
call fcn.1003e610
add esp, 8
mov dword [0x10190e58], 0x814
mov esi, 0x100
mov edx, esi
push str.360safe
push ecx
mov ecx, edi
call fcn.10061d79
push ecx
push str.newspy_killer
push ecx
mov edx, esi
mov ecx, 0x1019105c
call fcn.10061d79
push 0
push 0x1a
mov ebx, 0x1019125c
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10066d9f
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360safe
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push ebx
call esi
push str.LogInfo
push ebx
call edi
push 0
push ebx
call esi
lea ecx, [ebp - 4]
call fcn.10066dc8
push dword [eax]
push 0x208
push 0x10191464
call fcn.1000885c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.10002a86
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10066e47
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov edi, ecx
push 0
push eax
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0x218], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x103
xor esi, esi
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push str.UninstallString
push str.Software360ChromeUpdateClientState27D39816_7A3D_406c_9ABC_97FB55674016
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10066f21
cmp ax, word [ebp - 0x210]
je 0x10066f21
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push 0x101344ec
push eax
call esi
push str.360chrome.exe
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
xor esi, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10066f21
lea ecx, [ebp - 0x210]
call fcn.1009fa4d
test eax, eax
je 0x10066f21
test edi, edi
je 0x10066f1e
lea eax, [ebp - 0x210]
push eax
push 0x104
push edi
call fcn.1004c044
add esp, 0xc
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret
Function at 0x10066f31
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov edi, ecx
push 0
push eax
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0x218], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x103
xor esi, esi
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1006700b
cmp ax, word [ebp - 0x210]
je 0x1006700b
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push 0x101344ec
push eax
call esi
push str.360se.exe
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
xor esi, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006700b
lea ecx, [ebp - 0x210]
call fcn.1009fa4d
test eax, eax
je 0x1006700b
test edi, edi
je 0x10067008
lea eax, [ebp - 0x210]
push eax
push 0x104
push edi
call fcn.1004c044
add esp, 0xc
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret

Function at 0x10067454
Capabilities:
Enumerate gui resources

Disassembly:
push 0xc
mov eax, 0x1011335e
call fcn.100604ea
call fcn.100029f0
push eax
lea ecx, [ebp - 0x10]
call fcn.1000281b
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
and dword [ebp - 0x14], 0
mov esi, str.Q360DownloadMain
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.100026a7
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.1000262a
lea eax, [ebp - 0x18]
push eax
push 0x100674ba
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002a86
mov eax, esi
call fcn.100604b3
ret

Function at 0x10067d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0xc8
lea eax, [ebp - 0xd0]
xor esi, esi
push ebx
push esi
push eax
mov edi, esi
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0xd4], esi
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], ebx
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd4]
push eax
push str.NextNotifyCleanRestoreTime
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10067e1c
cmp dword [ebp - 0xd4], 1
jne 0x10067e1c
lea ecx, [ebp - 0xd0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10067dfc
sub ecx, edx
sar ecx, 1
je 0x10067e1c
lea ecx, [ebp - 0xd0]
call fcn.10067f0c
mov esi, eax
mov edi, edx
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10038cf9
leave
ret
Function at 0x10067e2f
Capabilities:
Get number of processors
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.NextNotifyCleanRestoreTime
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
pop ebp
jmp fcn.10002a86
Function at 0x10068575
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10193b40]
xor ebx, ebx
push edi
push str.Program_Manager
push str.Progman
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x1006877d
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x210]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x208
lea eax, [ebp - 0x620]
push ebx
push eax
call fcn.1003e610
lea eax, [ebp - 0x210]
push eax
push str._s_advapi32.dll
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.10008aed
mov eax, dword [0x10195210]
add esp, 0x1c
test al, 1
jne 0x10068630
or eax, 1
mov dword [0x10195210], eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov eax, dword [0x10195210]
mov dword [0x10195214], ecx
jmp 0x10068636
mov ecx, dword [0x10195214]
test al, 2
jne 0x10068653
push str.CreateProcessWithTokenW
or eax, 2
push ecx
mov dword [0x10195210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10195218], eax
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.1003e610
lea eax, [ebp - 0x210]
push eax
push str.__sexplorer.exe_
lea eax, [ebp - 0x418]
push edi
push eax
call fcn.10008aed
add esp, 0x1c
cmp dword [0x10195218], ebx
je 0x10068760
push 0x44
pop edi
push edi
lea eax, [ebp - 0x680]
push ebx
push eax
call fcn.1003e610
mov ecx, dword [0x10193b7c]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x680], edi
inc edx
mov dword [ebp - 0x654], edx
push 5
pop eax
mov word [ebp - 0x650], ax
test ecx, ecx
je 0x1006875d
xor eax, eax
lea edi, [ebp - 0x634]
stosd dword es:[edi], eax
mov edx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1006878c
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x680]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x418]
push eax
push ebx
push 1
push dword [0x10193b7c]
call dword [0x10195218]
test eax, eax
jne 0x10068737
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x418]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x634]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x630]
call esi
push dword [0x10193b7c]
call esi
mov dword [0x10193b7c], ebx
jmp 0x1006877d
push edx
jmp 0x10068762
push 1
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x418]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038cf9
leave
ret
Function at 0x10068841
Capabilities:
Terminate process

Disassembly:
call fcn.10068850
call fcn.10068995
jmp 0x1006895f
push esi
xor esi, esi
call fcn.10068a07
test eax, eax
je 0x10068991
push edi
push eax
push 0
push 0x1f0fff
inc esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10068990
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
ret

Function at 0x1006950f
Capabilities:
Check if file exists

Disassembly:
push 0x474
mov eax, 0x10113779
call fcn.1006051e
push 0x410
xor ebx, ebx
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push dword [0x10193b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str....._safemon360SettingCenter.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006962c
lea ecx, [ebp - 0x420]
call fcn.1009fa4d
test eax, eax
je 0x10069629
xor eax, eax
lea edi, [ebp - 0x434]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x480]
push eax
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0x480], esi
call fcn.100029f0
push eax
lea ecx, [ebp - 0x424]
call fcn.1000281b
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x424]
push str.__s___panel9005
push eax
call fcn.10008c51
add esp, 0xc
lea eax, [ebp - 0x434]
lea ecx, [ebp - 0x424]
push eax
lea eax, [ebp - 0x480]
push eax
push ebx
sub esp, 0x14
push ebx
call fcn.100025c3
mov edx, eax
call fcn.10007996
test eax, eax
je 0x1006961b
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x434]
call esi
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.10002a86
xor eax, eax
inc eax
call fcn.100604c8
ret

Function at 0x10069632
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
and dword [ebp - 4], 0
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
push 4
pop eax
mov dword [ebp - 8], eax
mov edi, str.SOFTWARE360Safe360Scan
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.IsNotiryShowed
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
lea eax, [ebp - 4]
xor ebx, ebx
cmp dword [ebp - 4], ebx
push eax
push 4
push str.IsNotiryShowed
push edi
push esi
sete bl
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x100697f9
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push 0x464
mov eax, 0x101137ea
call fcn.1006051e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.100029f0
push eax
lea ecx, [ebp - 0x46c]
call fcn.1000281b
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x46c]
push str._s360_sp_.dll
push eax
call fcn.10008c51
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
add esp, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100698ed
test byte [ebp - 0x468], 0x10
jne 0x100698d4
call fcn.100029f0
push eax
lea ecx, [ebp - 0x470]
call fcn.1000281b
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x470]
push 0x10132adc
push eax
call fcn.10008c51
mov esi, dword [ebp - 0x470]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.10002a86
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1006987b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [edi - 0x10]
call fcn.10002a86
call fcn.100604c8
ret

Function at 0x100698fb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x10113834
call fcn.1006051e
mov esi, ecx
mov dword [ebp - 0x21c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], edi
call fcn.100029f0
push eax
mov ecx, esi
call fcn.1000281b
xor eax, eax
mov dword [ebp - 4], edi
inc eax
push 0x208
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.KillDangerDate
push str.Software360Safe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10069994
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000262a
mov eax, esi
call fcn.100604c8
ret
Function at 0x100699ba
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x1011386c
call fcn.1006051e
lea ecx, [ebp - 0x20]
call fcn.1000369c
call fcn.100029f0
push eax
lea ecx, [ebp - 0x14]
call fcn.1000281b
xor edi, edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.100698fb
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
test esi, esi
je 0x10069a3b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10069a0b
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x10069a3b
lea edi, [ecx + ecx]
mov eax, edi
call fcn.10039490
mov ecx, esp
mov edx, esi
push 3
push edi
call fcn.10007907
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push str._d__d__d__d:_d:_d
push edi
call fcn.10007726
add esp, 0x20
cmp eax, 6
jne 0x10069a92
lea ecx, [ebp - 0x20]
call fcn.100036f3
cmp dword [ebp - 0x24], eax
jne 0x10069a92
lea ecx, [ebp - 0x20]
call fcn.10003730
cmp dword [ebp - 0x28], eax
jne 0x10069a92
lea ecx, [ebp - 0x20]
call fcn.1000376d
cmp dword [ebp - 0x2c], eax
jne 0x10069a92
mov esi, dword [ebp - 0x14]
jmp 0x10069b00
lea ecx, [ebp - 0x20]
call fcn.10003824
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100037e7
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100037aa
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000376d
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.10003730
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100036f3
pop ecx
push eax
lea eax, [ebp - 0x14]
push 0x10133d00
push eax
call fcn.10008c51
mov esi, dword [ebp - 0x14]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.KillDangerDate
push str.Software360Safe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea ecx, [esi - 0x10]
call fcn.10002a86
lea esp, [ebp - 0x50]
call fcn.100604c8
ret

Function at 0x1006a059
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push str.Q360DownloadMain
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x1006a0b4
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], esi
je 0x1006a0b4
push dword [ebp - 4]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1006a0b4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1006a0ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret
Function at 0x1006a5dc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1019168c], 0
push esi
je 0x1006a603
mov eax, dword [0x10191688]
jmp 0x1006a688
push 0x208
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x10193b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....360Restore.exe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006a676
lea ecx, [ebp - 0x210]
call fcn.1009fa4d
test eax, eax
je 0x1006a676
mov edx, str.checksizeandclean
lea ecx, [ebp - 0x210]
call fcn.1006a757
mov esi, eax
mov dword [0x10191688], esi
mov eax, esi
mov dword [0x1019168c], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret

Function at 0x1006a695
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10191694], 0
push esi
je 0x1006a6bc
mov eax, dword [0x10191690]
jmp 0x1006a74a
push 0x208
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x10193b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....deepscanDSMain.exe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006a738
call fcn.1000866d
test eax, eax
jne 0x1006a726
lea ecx, [ebp - 0x210]
call fcn.1009fa4d
test eax, eax
je 0x1006a738
mov edx, 0x10133b5c
lea ecx, [ebp - 0x210]
call fcn.1006a757
mov esi, eax
mov dword [0x10191690], esi
mov eax, esi
mov dword [0x10191694], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10038cf9
leave
ret