joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e4770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e4930
cmp word [esi], 0
je 0x100e4930
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call ebx
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x100e47ee
push esi
call fcn.1000bcb0
add esp, 4
test eax, eax
je 0x100e4823
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x100e47d5
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x100e47ca
mov eax, dword [eax + 0x50]
jmp 0x100e47cc
xor eax, eax
test eax, eax
je 0x100e47d5
push esi
call eax
jmp 0x100e47d8
push esi
call ebx
test eax, eax
jne 0x100e4823
cmp edi, 1
jne 0x100e482f
push esi
call fcn.100e41e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e47dc
call fcn.10003ae0
cmp dword [eax + 0x140], 2
je 0x100e47dc
push esi
call fcn.100e7490
add esp, 4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call ebx
test eax, eax
je 0x100e4845
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 2
jne 0x100e4845
push 4
push 0
push esi
call fcn.100e4220
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp + 8]
call fcn.10004700
push 4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.1000ad90
mov ecx, 0x10219e00
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100e4889
test dx, dx
je 0x100e4885
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100e4889
add eax, 4
add ecx, 4
test dx, dx
jne 0x100e4863
xor esi, esi
jmp 0x100e488e
sbb esi, esi
or esi, 1
lea ecx, [ebp - 4]
call int.10008f10
test esi, esi
je 0x100e491d
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x100e48b3
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100e48c5
call fcn.10003980
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x100e4937
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esi - 0xc]
add eax, 0x10
push esi
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x10219e00
push eax
call fcn.100258c0
add esp, 0x14
lea eax, [ebp - 4]
lea ecx, [ebp + 8]
push eax
call fcn.10004870
lea ecx, [ebp - 4]
call int.10008f10
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100e4770
add esp, 0xc
lea ecx, [ebp + 8]
mov esi, eax
call int.10008f10
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
xor esi, esi
call int.10008f10
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3
Function at 0x100e5940
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10258344]
sub esp, 0xc
test al, 1
jne 0x100e596b
or eax, 1
push 0x4000
mov dword [0x10258344], eax
call fcn.10213535
add esp, 4
mov dword [0x10258340], eax
jmp 0x100e5970
mov eax, dword [0x10258340]
test eax, eax
je 0x100e59d6
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100e59d6
cmp eax, 0x3ffe
ja 0x100e59d6
push dword [0x10258340]
push eax
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100e59d6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x10219e0c
push dword [0x10258340]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100e59d6
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100e5a90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1025833c]
sub esp, 0xc
test al, 1
jne 0x100e5abb
or eax, 1
push 0x4000
mov dword [0x1025833c], eax
call fcn.10213535
add esp, 4
mov dword [0x10258338], eax
jmp 0x100e5ac0
mov eax, dword [0x10258338]
test eax, eax
je 0x100e5b2d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100e5b2d
cmp eax, 0x3ffe
ja 0x100e5b2d
push dword [0x10258338]
push eax
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100e5b2d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x10219e0c
push dword [0x10258338]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100e5b2d
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0xc]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100e6ac0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [ebp - 0x114]
xor eax, eax
cmp ecx, 5
jne 0x100e6b44
mov ecx, dword [ebp - 0x110]
test ecx, ecx
jne 0x100e6b14
mov eax, 0x2710
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x100e6b2c
mov eax, 0x2711
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x100e6b88
mov eax, 0x2712
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, 6
jne 0x100e6b88
mov ecx, dword [ebp - 0x110]
test ecx, ecx
jne 0x100e6b66
mov eax, 0x2713
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x100e6b7e
mov eax, 0x2714
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jb 0x100e6b88
mov eax, 0x2715
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x100e7760
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x100e77c1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x100e77b8
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e7f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push esi
push edi
push eax
call fcn.101cb340
mov esi, eax
add esp, 4
mov ecx, dword [esi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x100e7f8a
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100e7fa0
call fcn.10003980
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x100e8047
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [esi]
push 0x10
push str.360EntClient.exe
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.100258c0
mov edx, dword [ebp - 8]
or ebx, 0xffffffff
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100e7fe2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100e8027
call fcn.100a43d0
test eax, eax
je 0x100e8027
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
push eax
push esi
mov ecx, 0x1024ea08
call fcn.101cb6f0
test eax, eax
je 0x100e8027
mov eax, dword [ebp - 4]
cmp eax, 3
je 0x100e8027
cmp eax, 0xffffffff
je 0x100e8027
mov edi, 1
jmp 0x100e8029
xor edi, edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
pop ebx
jg 0x100e803f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3
Function at 0x100e8890
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1025834c], 0
jne 0x100e8959
push 0x10257cbc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1025834c], 0
jne 0x100e894e
call fcn.100e9610
test eax, eax
je 0x100e8944
push 0xf023f
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0x400
push eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x40c], 1
push eax
lea eax, [ebp - 0x40c]
push eax
push str.NoIE4StubProcessing
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003510
test eax, eax
jne 0x100e8944
push 0x10258348
call fcn.100e6520
add esp, 4
test eax, eax
je 0x100e8944
cmp dword [0x10259c04], 0
je 0x100e8944
cmp dword [0x10259c30], 1
jne 0x100e8944
mov dword [0x10258348], 9
mov dword [0x1025834c], 1
push 0x10257cbc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10258348]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9430
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x100e946a
cmp dword [ebp - 0x110], 0
jbe 0x100e947f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x100e94dc
cmp dword [ebp - 0x110], 2
jae 0x100e94de
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
jbe 0x100e94cc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x100e959f
cmp dword [ebp - 0x110], 1
jne 0x100e959f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x100e95b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
je 0x100e95f5
ja 0x100e95f5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9610
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x114], 5
sete al
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9660
Capabilities:
Enumerate processes on remote desktop session host
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edi
push eax
push 1
push edi
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x100e9715
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
xor ebx, ebx
cmp dword [ebp - 8], ebx
jbe 0x100e970c
push esi
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + esi]
cmp eax, dword [ebp - 0xc]
jne 0x100e9702
push dword [ebp + 8]
push dword [ecx + esi + 8]
call fcn.102134f3
add esp, 8
test eax, eax
jne 0x100e9702
mov eax, dword [ebp - 4]
push dword [esi + eax + 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100e96ff
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
mov dword [ebp - 0x10], edi
jmp 0x100e9702
mov edi, dword [ebp - 0x10]
inc ebx
add esi, 0x10
cmp ebx, dword [ebp - 8]
jb 0x100e96b0
pop esi
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100e9720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10257c94], 0
jne 0x100e982e
mov eax, dword [0x1025a378]
push esi
cmp eax, 0xffffffff
je 0x100e9791
cmp dword [0x1025a37c], 0xffffffff
je 0x100e9791
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100e9793
cmp dword [0x1025a384], 0
je 0x100e9793
push dword [0x1025a37c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call dword [0x1025a384]
neg eax
sbb eax, eax
inc eax
push eax
push dword [0x1025a378]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x100e9793
xor esi, esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x10256b30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...deepscanqutmload.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.1001d810
add esp, 4
test eax, eax
je 0x100e97dd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov ecx, 0x1025a378
mov dword [0x10257c94], eax
call fcn.10009a80
mov eax, dword [0x10257c94]
test eax, eax
je 0x100e982d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AddProtectedFile2
push eax
call esi
push str.RemoveProtectedFile2
push dword [0x10257c94]
mov dword [0x10257c98], eax
call esi
push str.RemoveAllProtectedFile2
push dword [0x10257c94]
mov dword [0x10257c9c], eax
call esi
mov dword [0x10257ca0], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x100e9840
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102148a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10250150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 1
push 1
mov esi, dword [ebp + 0xc]
push esi
call fcn.100e4770
add esp, 0xc
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x100e989f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e98db
call fcn.10003ae0
cmp dword [eax + 0x140], 2
je 0x100e98db
push edi
call fcn.100e7490
add esp, 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
push esi
push edi
call fcn.100e4260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e9e20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
call ebx
test eax, eax
je 0x100e9e44
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e9e6f
call fcn.10003ae0
cmp dword [eax + 0x140], 2
je 0x100e9e6f
push esi
call fcn.100e7490
add esp, 4
push edi
push esi
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x100e9e66
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x100e9e90
mov eax, dword [eax + 0x34]
jmp 0x100e9e92
xor eax, eax
test eax, eax
je 0x100e9e66
push edi
push esi
call eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100ea0c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x100ea0e8
cmp word [eax], 0
je 0x100ea0e8
push 0
push 0
push 0
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x100f27e0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x410
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x624], 1
lea eax, [ebp - 0x628]
mov dword [ebp - 0x628], 0x410
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x624]
push eax
push str.360DeepscanRunOnce
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x100f293a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x208
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10256b30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...deepscandsmain.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x620]
push str.__s___dbootini
push eax
call fcn.10004de0
add esp, 0xc
test esi, esi
mov esi, dword [ebp - 0x620]
jne 0x100f28ed
cmp dword [ebp - 0x624], 1
jne 0x100f28ed
push esi
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x100f28ed
lea edi, [eax + 1]
jmp 0x100f2910
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.360DeepscanRunOnce
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb edi, edi
inc edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100f2928
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3
Function at 0x10103ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10103b6d
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 0
push str.Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10103b46
sub eax, edx
sar eax, 1
je 0x10103b68
cmp word [esi + eax*2 - 2], 0x5c
je 0x10103b68
mov ecx, 0x5c
mov word [esi + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10113180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
push str.__ws___ws___ws_
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.10008ee0
push 0x44
lea eax, [ebp - 0x85c]
push 0
push eax
call fcn.102134e7
add esp, 0x24
or dword [ebp - 0x830], 1
xor eax, eax
mov dword [ebp - 0x85c], 0x44
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x85c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10113284
push edi
push 0x2710
push dword [ebp - 0x818]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10113269
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0xffffffff
push eax
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x808], edi
jne 0x10113269
mov edi, 1
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x10115330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jb 0x1011537e
jne 0x1011536e
cmp dword [ebp - 0x110], 0
je 0x1011537e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret