joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6b93
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x4a6c01
push ebx
call fcn.004e73fa
pop ecx
test eax, eax
je 0x4a6c01
cmp dword [ebp + 0xc], esi
je 0x4a6c01
push esi
push ebx
call fcn.004f15b4
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4a6c01
push dword [ebp + 0xc]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x4a6c01
push ebx
call fcn.004e73fa
pop ecx
push 4
push 0x1000
lea eax, [eax + eax + 2]
push eax
push esi
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, esi
jne 0x4a6c0a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x4a6c2d
push 0x8000
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x4a6bfa
push 0x54a208
push str.Kernel32
call fcn.004235b7
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], esi
mov dword [0x585708], esi
call fcn.0046eb5d
test al, al
je 0x4a6c73
push str.CreateRemoteThreadEx
push str.KERNELBASE.dll
call fcn.004235b7
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x585710], eax
mov eax, dword [0x585708]
push esi
push esi
cmp eax, esi
je 0x4a6c97
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
push edi
push esi
push 0x1fffff
push ecx
call eax
jmp 0x4a6cbc
mov eax, dword [0x585710]
cmp eax, esi
je 0x4a6cac
push esi
push ebx
push dword [ebp + 0xc]
push esi
push esi
push edi
call eax
jmp 0x4a6cb9
push ebx
push dword [ebp + 0xc]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x4a6c1d
push 0x1388
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
xor eax, eax
inc eax
jmp 0x4a6c03

Function at 0x4a707e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00504570
and dword [ebp - 0x1004], 0
push 0xffc
lea eax, [ebp - 0x1000]
push 0
push eax
call fcn.004e7380
and dword [ebp - 4], 0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4a70c7
leave
ret
mov eax, dword [ebp - 4]
shr eax, 2
leave
ret
Function at 0x4a8577
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4a859a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4a8595
xor eax, eax
pop ebp
ret

Function at 0x4a85a9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004e7380
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], str._s:15
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x38], 0x1400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x4a85fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
pop esi
leave
ret
Function at 0x4a8679
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520dcf
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x48c], eax
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
push 0x545d4c
call fcn.004a8577
pop ecx
test eax, eax
jne 0x4a888e
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [esp + 0x40]
push esi
push eax
call fcn.004e7380
add esp, 0xc
push 0x10
lea eax, [esp + 0x30]
push esi
push eax
mov dword [esp + 0x48], edi
call fcn.004e7380
mov eax, dword [0x582d44]
add esp, 0xc
mov ecx, 0x582d44
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, 0x400
lea eax, [esp + 0x14]
mov dword [esp + 0x4a8], esi
call fcn.004239ae
mov dword [esp + 0x20], eax
push 0x52f388
lea eax, [esp + 0x14]
push eax
call fcn.00405747
lea eax, [esp + 0x18]
push eax
push 1
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x4bc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a8876
mov edi, 0x208
push edi
mov word [esp + 0x88], ax
lea eax, [esp + 0x8a]
push esi
push eax
call fcn.004e7380
add esp, 0xc
push edi
lea eax, [esp + 0x88]
push esi
push eax
mov dword [esp + 0x34], edi
call fcn.004e7380
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x24]
push eax
push esi
push str.Path
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a886c
mov word [esp + 0x28c], ax
mov eax, dword [esp + 0x1c]
dec eax
jne 0x4a87fc
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00405747
lea edi, [esp + 0x10]
mov byte [esp + 0x4a8], 2
call fcn.004044e5
mov byte [esp + 0x4a8], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.0040557a
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x20]
push str.safemonQHWatchdog.exe
push dword [esp + 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a8876
push edi
call fcn.00405f50
pop ecx
test eax, eax
je 0x4a8876
push edi
lea eax, [esp + 0x88]
push str.__s___install
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push esi
push esi
push 0x400
push esi
push esi
push esi
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x4a8876
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040557a
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x48c]
xor ecx, esp
call fcn.004e736b
mov esp, ebp
pop ebp
ret
Function at 0x4a8d86
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x210], ebx
mov byte [ebx + 0x410], 0
call fcn.004a8f3c
test al, al
je 0x4a8f2d
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004e7380
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0xc
mov edi, 0x103
push edi
lea eax, [ebp - 0x20c]
push eax
push str._SystemDrive_
call esi
cmp eax, 3
jne 0x4a8f22
push 2
lea ecx, [ebp - 0x20c]
lea eax, [ebx + 0x208]
push ecx
push eax
call fcn.004e8702
add esp, 0xc
test eax, eax
jne 0x4a8f22
cmp word [ebp - 0x208], ax
jne 0x4a8f22
mov ebx, 0x208
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004e7380
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push eax
push str._windir_
call esi
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x210]
add eax, ebx
push eax
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
je 0x4a8e7b
mov eax, dword [ebp - 0x210]
mov byte [eax + 0x410], 1
jmp 0x4a8f29
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e7380
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push eax
push str._SystemRoot_
call esi
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x210]
add eax, 0x208
push eax
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
jne 0x4a8e69
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004e7380
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push eax
push str._ComSpec_
call esi
mov edi, dword [ebp - 0x210]
push edi
call fcn.004e73fa
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004e8702
add esp, 0x10
test eax, eax
jne 0x4a8f19
lea eax, [ebp + esi*2 - 0x20c]
push str.cmd.exe
push eax
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
jne 0x4a8f19
xor al, al
jmp 0x4a8f2b
mov byte [edi + 0x410], 1
jmp 0x4a8f29
mov byte [ebx + 0x410], 1
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret 4

Function at 0x4a8f3c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp word [esi], 0
mov edi, 0x103
lea ebx, [edi + 1]
jne 0x4a8f69
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 3
jb 0x4a8f60
cmp eax, ebx
jb 0x4a8f69
xor eax, eax
mov word [esi], ax
xor al, al
jmp 0x4a8f88
add esi, 0x208
cmp word [esi], 0
jne 0x4a8f86
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 3
jb 0x4a8f60
cmp eax, ebx
jae 0x4a8f60
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4a8f8c
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
push edi
lea esi, [eax + 0x208]
push esi
push str.windir
mov dword [ebp - 0x224], eax
call ebx
push esi
push str.SystemRoot
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.004e7380
push dword [ebp - 0x224]
mov esi, str.cmd.exe
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.004e73fa
add esp, 0x10
push dword [ebp - 0x224]
mov esi, 0x104
push esi
lea edx, [ebp - 0x220]
mov edi, eax
call fcn.00424ffd
lea eax, [ebp - 0x18]
push eax
sub esi, edi
push esi
lea edx, [ebp + edi*2 - 0x220]
call fcn.00424ffd
lea eax, [ebp - 0x220]
push eax
push str.ComSpec
call ebx
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x220]
push eax
push str.SystemDrive
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret 4

Function at 0x4a9d06
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x4a9d61
push 4
push str.QHActiveDefense
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4a9d61
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4a9d53
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4a9d58
mov eax, dword [ebp - 0x20]
mov bl, 1
push dword [ebp - 4]
mov dword [esi], eax
call edi
jmp 0x4a9d69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 8]
call edi
pop edi
mov al, bl
pop ebx
leave
ret

Function at 0x4aa0b2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x23c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push eax
call fcn.004e7380
add esp, 0xc
push 0xa
pop ecx
mov esi, str.softmgr_somkernl.dll
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30]
push eax
push 0x585d80
lea eax, [ebp - 0x238]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aa12f
lea eax, [ebp - 0x238]
push eax
jmp 0x4aa134
push 0x52f388
push ebx
call fcn.00405747
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret
Function at 0x4aaf5a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4aaf68
push 0xd
pop eax
jmp 0x4aaf9b
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4aaf6f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4ab3ae
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
mov dword [ebp - 0x21c], eax
xor esi, esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.00424ec5
mov ebx, eax
cmp ebx, esi
je 0x4ab416
cmp dword [ebp - 0x214], esi
je 0x4ab40f
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4ab4b1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4ab43e
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.004ab3ae
mov dword [ebp - 0x220], eax
cmp eax, esi
jne 0x4ab4c2
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x4ab41e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], esi
je 0x4ab489
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x214], esi
je 0x4ab4af
push dword [ebp - 0x214]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret 4
cmp dword [ebp - 0x214], esi
je 0x4ab4d6
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x4ab4b1
Function at 0x4abdf2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x41c
mov eax, 0x51620c
call fcn.004f21c7
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x414], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x418], eax
cmp eax, esi
jne 0x4abe4a
call fcn.00421bcc
mov esi, eax
jmp 0x4abf4b
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4abe63
call fcn.00421bcc
jmp 0x4abf3d
push edi
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x4abe59
push edi
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x4abeaf
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x4abea5
lea eax, [ebp - 0x414]
call fcn.004aafb4
mov eax, 0x8007000e
jmp 0x4abf66
push 2
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0045683e
add esp, 0xc
cmp dword [ebp - 0x41c], 0x400
jbe 0x4abee1
push dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push eax
call fcn.004aaf45
jmp 0x4abeed
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x414], esi
jne 0x4abf03
mov esi, 0x8007000e
jmp 0x4abf3f
push edi
push dword [ebp - 0x414]
push edi
push ebx
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4abe59
mov edx, dword [ebp - 0x414]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x424]
call fcn.004abcb4
mov esi, eax
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x4abf64
lea eax, [ebp - 0x414]
call fcn.004aafb4
mov eax, esi
call fcn.004f224a
ret 0xc

Function at 0x4ac550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.UserExperience
push str.Software360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
cmp dword [ebp - 4], 0
je 0x4ac593
xor eax, eax
inc eax
jmp 0x4ac5c2
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.EnableUE
push str.Software360Safe
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
leave
ret
Function at 0x4ac5c6
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xa2c
mov eax, 0x51dd64
call fcn.004f21c7
xor ebx, ebx
cmp dword [esi], ebx
je 0x4ac5e9
xor eax, eax
cmp dword [esi + 0x1c], ebx
setne al
call fcn.004f224a
ret
call fcn.004ac550
test eax, eax
jne 0x4ac5f5
inc eax
jmp 0x4ac5e3
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0xa38]
call fcn.004876ef
mov dword [ebp - 4], ebx
cmp dword [esi], ebx
je 0x4ac625
xor eax, eax
cmp dword [esi + 0x1c], ebx
setne al
mov ebx, eax
push dword [ebp - 0xa38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x4ac5e3
cmp dword [esi + 0x34], ebx
je 0x4ac615
push 0x810
lea eax, [ebp - 0xa30]
push ebx
push eax
call fcn.004e7380
add esp, 0xc
push str.360TS
mov edi, 0x100
push edi
lea edx, [ebp - 0xa30]
mov dword [ebp - 0xa34], 0x814
call fcn.00424ffd
cmp dword [esi + 0x38], 8
jb 0x4ac66a
mov eax, dword [esi + 0x24]
jmp 0x4ac66d
lea eax, [esi + 0x24]
push eax
push edi
lea edx, [ebp - 0x830]
call fcn.00424ffd
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x21c]
jl 0x4ac70c
push str.360safe
push eax
call fcn.0042388f
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
jne 0x4ac6df
lea eax, [ebp - 0x21c]
push eax
call fcn.004f18cd
pop ecx
push str.LogInfo
lea eax, [ebp - 0x21c]
push eax
call fcn.0042388f
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
jne 0x4ac720
lea eax, [ebp - 0x21c]
push eax
call fcn.004f18cd
pop ecx
jmp 0x4ac720
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4ac615
lea eax, [ebp - 0x21c]
push eax
push 0x208
lea eax, [ebp - 0x630]
push eax
call fcn.00421170
lea edi, [esi + 0x1c]
push edi
call fcn.004a9ed7
call fcn.004a844f
test eax, eax
jne 0x4ac769
mov eax, dword [edi]
cmp eax, ebx
je 0x4ac769
mov ecx, dword [eax]
lea edx, [ebp - 0xa34]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4ac76b
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
xor eax, eax
cmp dword [edi], ebx
mov dword [esi], 1
jmp 0x4ac610

Function at 0x4b059d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x4b05ad
xor al, al
jmp 0x4b05ed
push esi
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push 0x4b058b
push edi
push edi
call fcn.004eb0fa
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4b05d3
cmp esi, edi
jne 0x4b05d7
xor al, al
jmp 0x4b05ec
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop edi
leave
ret
Function at 0x4b05f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4b0600
xor al, al
jmp 0x4b0664
push edi
push 0x582e91
push dword [ebp + 8]
call fcn.004e73fa
pop ecx
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eb416
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4b0656
push dword [ebp + 8]
push edi
call fcn.004eb8ac
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x4b056a
push esi
push esi
mov dword [ebp - 4], esi
call fcn.004eb0fa
add esp, 0x20
cmp eax, 0xffffffff
je 0x4b0656
cmp eax, esi
jne 0x4b065a
xor al, al
jmp 0x4b0663
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
leave
ret

Function at 0x4b08eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x586824
call fcn.00404bcd
lea eax, [ebp - 4]
push eax
push ebx
mov edi, 0x5867d8
push edi
push 0x4b0a5b
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004eb0fa
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4b0929
cmp esi, ebx
jne 0x4b0946
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp esi, 0xffffffff
je 0x4b0942
cmp esi, ebx
je 0x4b0942
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4b0976
mov eax, dword [0x5867e0]
mov edi, dword [ebp - 4]
mov dword [0x5867e0], esi
cmp eax, 0xffffffff
je 0x4b0964
cmp eax, ebx
je 0x4b0964
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5867e4], edi
mov dword [0x5867e8], 0x5867dc
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b0d06
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push str.UserExperience
push str.SOFTWARE360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 1
jne 0x4b0d50
cmp dword [ebp - 8], 4
jne 0x4b0d50
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret