joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400290fc
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c6f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c6f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002924c
cmp rax, 0xffffffffffffffff
je 0x14002924c
xor edi, edi
test rbp, rbp
jle 0x1400291f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f008
mov rbx, rax
test rax, rax
jne 0x140029184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400291ed
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a028
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d3d0
cmp eax, 0xffffffff
je 0x1400291cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029194
mov edx, r15d
mov ecx, r14d
call fcn.14001a028
jmp 0x1400291ed
cmp byte [rsi + 0x38], dil
je 0x1400291e4
cmp dword [rsi + 0x34], 5
jne 0x1400291e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400291ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001adbc
jmp 0x140029260
jns 0x140029260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c6f4
cmp rax, 0xffffffffffffffff
jne 0x140029218
cmp byte [rsi + 0x30], dil
je 0x140029260
mov edi, dword [rsi + 0x2c]
jmp 0x140029260
mov ecx, r14d
call fcn.1400184e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029260
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029259
mov eax, dword [rsi + 0x2c]
jmp 0x14002925e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c6f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400018f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001942
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001942
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001942
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001942
cmp dword [rcx + 0x84], 0xe
jbe 0x140001942
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001944
xor al, al
add rsp, 0x28
ret
Function at 0x6d86eaa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d88f5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d86ec28
mov rax, qword [0x6d88f5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d86eaec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d86eb75
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d86ead0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d86ec5d
mov rax, qword [0x6d88f5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d88f5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d86ec40
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d86eb6e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d86ebd0
add dword [0x6d88f5e4], 1
cmp edi, 8
jae 0x6d86eba3
test dil, 4
jne 0x6d86ec14
test edi, edi
je 0x6d86eb98
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d86ec2f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d86eb98
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d86ebbc
jmp 0x6d86eb98
add rsi, qword [0x6d88f5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d86eb6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d86eb98
xor esi, esi
jmp 0x6d86eaf7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d86eb98
mov rax, qword [0x6d88f5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d86f3b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d88f8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d88f8a0]
test rbx, rbx
je 0x6d86f404
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d86f3fb
test rsi, rsi
je 0x6d86f3fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d86f3e0
lea rcx, [0x6d88f8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d86f640
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d86f650
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d86f660
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d86f6a1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d86f698
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d86f6a3
add rax, 0x28
cmp rax, r9
jne 0x6d86f684
xor eax, eax
ret

Function at 0x6d86f740
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d88c1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d86f7ad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d86f7ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d86f7ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d86f7a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d86f7af
add rax, 0x28
cmp rax, r9
jne 0x6d86f790
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d86f8b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d88c1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d86f8d0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d86f8c8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d86f92d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d86f924
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d86f934
add rax, 0x28
cmp rax, r9
jne 0x6d86f910
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d86f950
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d88c1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d86f9be
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d86f9be
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d86f9be
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d86f9be
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d86f9b5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d86f9c5
add rcx, 0x28
cmp rcx, rax
jne 0x6d86f9a0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d86f9d8
jmp 0x6d86f9be
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d86f9e6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d86f9be
test r9d, r9d
jg 0x6d86f9d0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d86fd50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140002af4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movdqa xmm0, xmmword [0x140072570]
xor eax, eax
movdqa xmm1, xmmword [str.vvre]
xor edx, edx
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x30], 0x32303f2a
movdqa xmm0, xmmword [0x1400724c0]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x2c], 0x57515351
movdqu xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x28], 0x5f515351
mov word [rbp - 0x24], 0x5951
mov byte [rbp - 0x22], al
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx - 0x60], al
cmp edx, 0x3e
jb 0x140002b66
and qword [rbp - 0x20], 0
lea rax, [rbp - 0x60]
and qword [rbp - 0x10], 0
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], rsi
or r8, 0xffffffffffffffff
mov byte [rbp - 0x22], 0
inc r8
cmp byte [rax + r8], 0
jne 0x140002b96
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140009e28
and qword [rbx], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], rsi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9, qword [rbp - 0x10]
xor edx, edx
and qword [rbp - 0x60], 0
and qword [rbp - 0x50], 0
cdqe
lea rcx, [r9 + 1]
mov qword [rbp - 0x48], rsi
div rcx
movsxd rcx, edx
cmp r9, rcx
jb 0x140002cc5
sub r9, rcx
lea rdx, [rbp - 0x20]
mov r8d, 1
cmp r9, r8
cmovb r8, r9
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
add rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.140009e28
cmp qword [rbp - 0x48], 0x10
lea rdx, [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rbx
cmovae rdx, qword [rbp - 0x60]
call fcn.1400095e0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140002c64
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c5f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ca1
call fcn.140061138
cmp qword [rbx + 0x10], 0x20
jne 0x140002bba
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140002cad
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ca8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061138
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14000a1b8
int3
Function at 0x140002ccc
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor eax, eax
mov dword [rbp - 0x69], 0x5b7a5b7d
xor edi, edi
mov dword [rbp - 0x65], 0x5b7d5b6b
mov edx, edi
mov dword [rbp - 0x61], 0x5b685b64
mov dword [rbp - 0x5d], 0x5b7a5b67
mov dword [rbp - 0x59], 0x5b655b7b
mov dword [rbp - 0x55], 0x5b645b77
mov dword [rbp - 0x51], 0x5b7f5b7c
mov dword [rbp - 0x4d], 0x5b735b7d
mov dword [rbp - 0x49], 0x5b765b76
mov dword [rbp - 0x45], 0x5b655b72
mov dword [rbp - 0x41], 0x5b025b18
mov dword [rbp - 0x3d], 0x5b015b14
mov dword [rbp - 0x39], 0x5b085b0a
mov dword [rbp - 0x35], 0x5b305b37
mov dword [rbp - 0x31], 0x5b3b5b2d
mov dword [rbp - 0x2d], 0x5b325b3e
mov dword [rbp - 0x29], 0x5b245b39
mov dword [rbp - 0x25], 0x5b3f5b21
mov dword [rbp - 0x21], 0x5b225b31
mov dword [rbp - 0x1d], 0x5b355b36
mov dword [rbp - 0x19], 0x5b3d5b33
mov dword [rbp - 0x15], 0x5b3c5b3c
mov dword [rbp - 0x11], 0x5b235b34
mov dword [rbp - 0xd], 0x5b385b22
mov dword [rbp - 9], 0x5b3f5b2a
mov dword [rbp - 5], 0x5b325b30
mov dword [rbp - 1], 0x5b535b51
mov dword [rbp + 3], 0x5b575b51
mov dword [rbp + 7], 0x5b535b51
mov dword [rbp + 0xb], 0x5b5f5b51
mov dword [rbp + 0xf], 0x5b595b51
mov word [rbp + 0x13], ax
movsxd rcx, edx
mov eax, 0x5b2c
add eax, edx
inc edx
xor word [rbp + rcx*2 - 0x69], ax
cmp edx, 0x3e
jb 0x140002dde
mov esi, 7
mov word [rbp + 0x13], di
mov qword [rbp + 0x4f], rsi
lea rax, [rbp - 0x69]
mov qword [rbp + 0x37], rdi
or r8, 0xffffffffffffffff
mov qword [rbp + 0x47], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x140002e11
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x37]
call fcn.140009a9c
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rsi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9, qword [rbp + 0x47]
xor edx, edx
cdqe
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x27], rdi
lea rcx, [r9 + 1]
mov qword [rbp + 0x2f], rsi
div rcx
movsxd rcx, edx
cmp r9, rcx
jb 0x140002ed6
sub r9, rcx
lea rax, [rbp + 0x37]
mov r8d, 1
cmp r9, r8
cmovb r8, r9
cmp qword [rbp + 0x4f], 8
cmovae rax, qword [rbp + 0x37]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x17]
call fcn.140009a9c
cmp qword [rbp + 0x2f], 8
lea rdx, [rbp + 0x17]
mov r8, qword [rbp + 0x27]
mov rcx, rbx
cmovae rdx, qword [rbp + 0x17]
call fcn.140009fdc
lea rcx, [rbp + 0x17]
call fcn.140009478
cmp qword [rbx + 0x10], 0x20
jne 0x140002e33
lea rcx, [rbp + 0x37]
call fcn.140009478
lea r11, [rsp + 0xe0]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14000a1b8
int3
Function at 0x140002edc
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140002f6a
jmp 0x140002f57
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140002f57
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002f1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140002f88
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov r14, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x234
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400030d0
mov qword [rsp + 0x40], rbx
or r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
inc r8
cmp word [r14 + r8*2], bx
jne 0x140003004
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140009a9c
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rbx
or r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
inc r8
cmp word [rax + r8*2], bx
jne 0x140003036
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x20]
call fcn.140009a9c
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x38], 8
cmovae r8, qword [rsp + 0x20]
cmp rdx, qword [rsp + 0x50]
jne 0x14000309d
test rdx, rdx
je 0x140003098
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000309d
add rcx, 2
sub rdx, 1
jne 0x140003084
mov dil, 1
jmp 0x1400030a0
mov dil, bl
lea rcx, [rsp + 0x20]
call fcn.140009478
lea rcx, [rsp + 0x40]
call fcn.140009478
test dil, dil
jne 0x1400030cc
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140002fe5
mov ebx, dword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x2a0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400030f8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rax + 8], edi
jb 0x14000311e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140003187
cmp rbp, 0xffffffffffffffff
je 0x14000318a
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rdi
mov r8d, 0x28f8
lea rdx, [0x14007c0b0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x14000318a
mov dil, 1
mov rcx, rsi
call fcn.140009478
mov rbx, qword [rsp + 0x58]
mov al, dil
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400031ac
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x100
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor r14d, r14d
mov dword [rsp + 0x20], 0x5b7e5b70
mov edx, r14d
mov dword [rsp + 0x24], 0x5b495b41
mov dword [rsp + 0x28], 0x5b465b44
mov r8d, 0x5b2c
mov dword [rsp + 0x2c], 0x5b415b53
mov dword [rsp + 0x30], 0x5b715b51
mov dword [rsp + 0x34], 0x5b445b5f
mov dword [rsp + 0x38], 0x5b4b5b4c
mov dword [rsp + 0x3c], 0x5b595b53
mov dword [rsp + 0x40], 0x5b495b49
mov dword [rsp + 0x44], 0x5b505b57
mov dword [rsp + 0x48], 0x5b1d5b2e
mov dword [rsp + 0x4c], 0x5b2c5b06
mov dword [rsp + 0x50], 0x5b2b5b33
mov dword [rsp + 0x54], 0x5b285b2a
mov dword [rsp + 0x58], 0x5b2d5b29
mov dword [rsp + 0x5c], 0x5b16
movsxd rcx, edx
lea eax, [r8 + rdx]
inc edx
xor word [rsp + rcx*2 + 0x20], ax
cmp edx, 0x1f
jb 0x14000326f
movdqa xmm0, xmmword [0x1400723e0]
lea rax, [rbp - 0x40]
or rbx, 0xffffffffffffffff
mov word [rsp + 0x5e], r14w
movdqu xmmword [rsp + 0x70], xmm0
mov r8, rbx
mov qword [rsp + 0x60], r14
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400032a6
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009a9c
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400032c3
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140009fdc
mov ebx, 7
lea rcx, [rsp + 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
movups xmmword [rsp + 0x20], xmm0
mov qword [rax + 0x18], rbx
movups xmmword [rsp + 0x30], xmm1
mov word [rax], r14w
call fcn.140009478
lea rcx, [rbp - 0x60]
call fcn.140002ccc
mov r9, rax
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14000aa38
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140003332
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140009fdc
mov qword [rdi], r14
lea rcx, [rbp - 0x80]
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov word [rax], r14w
call fcn.140009478
lea rcx, [rsp + 0x20]
call fcn.140009478
lea rcx, [rbp - 0x60]
call fcn.140009478
mov rcx, rsi
call fcn.140009478
lea r11, [rsp + 0x2c0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003af0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor eax, eax
mov dword [rbp - 0x20], 0x5b715b70
xor r9d, r9d
mov dword [rbp - 0x1c], 0x5b735b00
mov edx, r9d
mov dword [rbp - 0x18], 0x5b635b75
mov rbx, rcx
mov dword [rbp - 0x14], 0x5b645b77
mov dword [rbp - 0x10], 0x5b625b60
mov word [rbp - 0xc], ax
movsxd rcx, edx
mov eax, 0x5b2c
add eax, edx
inc edx
xor word [rbp + rcx*2 - 0x20], ax
cmp edx, 0xa
jb 0x140003b2f
mov qword [rsp + 0x30], r9
lea rcx, [rbp - 0x20]
mov r8d, 3
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], r8d
mov word [rbp - 0xc], r9w
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret