joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008060
Capabilities:
Delete directory

Disassembly:
push r15
mov eax, 0x44b8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
mov r8d, 0x1000
lea rax, [rsp + 0x24a0]
mov rdx, rcx
lea r12, [rsp + 0x490]
mov rsi, rax
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.140008e90
mov rdx, rsi
mov rcx, r12
call sub.msvcrt.dll_wcscpy
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov r13, rax
movzx eax, word [rsp + rax*2 + 0x48e]
cmp ax, 0x2f
je 0x1400080cc
cmp ax, 0x5c
jne 0x140008120
lea rdx, [0x14001b48a]
mov rcx, r12
lea rbx, [rsp + 0x260]
call sub.msvcrt.dll_wcscat
mov rdx, rbx
mov rcx, r12
call fcn.14000ed80
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140008138
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.msvcrt.dll__wrmdir]
nop
add rsp, 0x44b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x14001b486]
mov rcx, r12
add r13, 1
call sub.msvcrt.dll_wcscat
jmp 0x1400080cc
lea rdi, [rsp + 0x30]
mov ecx, 0x46
mov rsi, rbx
mov rdx, r13
rep movsq qword [rdi], qword [rsi]
lea rbp, [rsp + 0x30]
mov rcx, r12
mov r8, rbp
mov r15, rbp
call fcn.1400081a0
jmp 0x14000817f
mov rdi, rbp
mov ecx, 0x46
mov rsi, rbx
mov r8, r15
rep movsq qword [rdi], qword [rsi]
mov rdx, r13
mov rcx, r12
mov rbp, r15
call fcn.1400081a0
mov rdx, rbx
mov rcx, r14
call fcn.14000ee50
test eax, eax
je 0x140008160
mov rcx, r14
call qword [sym.imp.msvcrt.dll__findclose]
jmp 0x1400080f7

Function at 0x1400081a0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
mov eax, 0x1038
push rdi
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
lea rsi, [r8 + 0x24]
mov rbp, rcx
mov rdi, rdx
mov rbx, r8
lea rdx, [0x14001b48e]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x1400081e0
add rsp, 0x1038
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x14001b492]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400081d1
xor eax, eax
mov rcx, rbp
mov rdx, rsi
mov word [rbp + rdi*2], ax
call sub.msvcrt.dll_wcscat
mov rcx, rbp
test byte [rbx], 0x10
je 0x140008240
call fcn.1400091b0
test eax, eax
jne 0x140008268
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rbx
call fcn.140008cc0
mov rcx, rbx
call fcn.140008060
jmp 0x1400081d1
mov rbx, qword [sym.imp.msvcrt.dll__wremove]
call rbx
test eax, eax
je 0x1400081d1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
call rbx
jmp 0x1400081d1
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wrmdir]
jmp 0x1400081d1
Function at 0x1400084b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rdi
mov eax, 0x1020
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
mov rdi, r8
mov rsi, rdx
lea rdx, [0x14001b52c]
call fcn.140004400
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.140008390
mov rdi, rax
test rbx, rbx
je 0x1400085a9
test rax, rax
je 0x14000859c
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_feof
test eax, eax
jne 0x140008598
mov r8d, 0x1000
mov r9, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
mov r8, rax
test rax, rax
jne 0x140008548
mov rcx, rbx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140008500
mov rcx, rbx
call sub.msvcrt.dll_clearerr
jmp 0x140008571
mov r9, rdi
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x140008569
mov rcx, rdi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140008500
mov rcx, rdi
call sub.msvcrt.dll_clearerr
mov esi, 0xffffffff
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x1020
pop rbx
pop rsi
pop rdi
ret
xor esi, esi
jmp 0x140008576
test rbx, rbx
je 0x1400085a9
mov rcx, rbx
call sub.msvcrt.dll_fclose
test rdi, rdi
je 0x1400085b6
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov esi, 0xffffffff
jmp 0x140008586
Function at 0x140008620
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push r12
mov eax, 0x2110
push rbp
push rdi
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
mov r8d, 0x1000
xor ebx, ebx
lea rsi, [rsp + 0x110]
mov rdx, rcx
lea rbp, [rsp + 0xa0]
mov dword [rsp + 0x5c], 0
mov rcx, rsi
call fcn.140008e90
mov edx, 1
lea rcx, [0x140007ae0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, rbp
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
pxor xmm0, xmm0
mov eax, 1
xor ecx, ecx
movups xmmword [rsp + 0xa8], xmm0
mov r12, qword [fcn.1400169f0]
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov rdi, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rdi
mov ecx, 1
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf0], rax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
mov ecx, 2
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf8], rax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400087c8
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, str.Error_creating_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002cf0
mov eax, 0xffffffff
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400089b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, rcx
mov ecx, 0x2000
mov rbp, rdx
mov rdi, r8
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x140008aa0
xor edx, edx
mov r8d, 2
mov rcx, r12
call fcn.14000f130
test eax, eax
js 0x140008aa0
mov rcx, r12
call fcn.14000f1d0
movsxd rbx, eax
cmp rbx, rdi
jb 0x140008aa0
mov r15d, 1
sub r15, rdi
mov qword [rsp + 0x28], r15
mov r13d, 0x2000
cmp rbx, r13
cmovae r13, rbx
lea r14, [r13 - 0x2000]
sub rbx, r14
cmp rbx, rdi
jb 0x140008aa0
xor r8d, r8d
mov edx, r14d
mov rcx, r12
call fcn.14000f130
test eax, eax
js 0x140008aa0
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
cmp rax, rbx
jne 0x140008aa0
mov rdx, qword [rsp + 0x28]
lea rbx, [rdx + rax]
jmp 0x140008a8a
lea r15, [rbx - 1]
mov r8, rdi
mov rdx, rbp
lea rcx, [rsi + r15]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140008ac0
mov rbx, r15
test rbx, rbx
jne 0x140008a70
lea rbx, [r14 + rdi - 1]
test r14, r14
jne 0x140008a19
nop dword [rax]
xor ebx, ebx
mov rcx, rsi
call sub.msvcrt.dll_free
mov rax, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [r13 + rbx - 0x2001]
jmp 0x140008aa2
Function at 0x140009010
Capabilities:
Create directory

Disassembly:
push r13
mov eax, 0x2068
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
mov rsi, rcx
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140009110
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x140009086
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
lea r9, str.S_1_3_4
mov edx, 0x1000
mov rcx, rdi
lea r8, str.D:_A__FA____s_
test rbx, rbx
cmovne r9, rbx
call qword [sym.imp.msvcrt.dll__snwprintf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rcx, rdi
mov dword [rsp + 0x40], 0x18
mov edx, 1
mov dword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1400091a0
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
sbb eax, eax
add rsp, 0x2068
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea r12, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov rdi, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, 1
call rdi
test eax, eax
jne 0x140009146
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140009066
mov edx, dword [rsp + 0x3c]
mov ecx, 1
mov r13, rdx
call sub.msvcrt.dll_calloc
mov rcx, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x140009066
mov qword [rsp + 0x20], r12
mov r9d, r13d
mov r8, rax
mov edx, 1
call rdi
lea rdi, [rsp + 0x60]
test eax, eax
je 0x14000906d
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
jmp 0x14000906d
mov eax, 0xffffffff
jmp 0x1400090f6

Function at 0x1400097d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
mov r10d, 0x80000000
test ecx, ecx
je 0x140009844
mov r11d, 3
lea rbx, [0x14001b7e0]
jmp 0x1400097f8
add r11d, 1
sar ecx, 1
je 0x140009844
test cl, 1
je 0x1400097f0
mov eax, r11d
mov edx, r10d
mov r8d, 0x80000000
xor r10d, r10d
and eax, 0x1f
mov r9d, dword [rbx + rax*4]
jmp 0x14000982b
mov eax, edx
shr edx, 1
and eax, 1
shr r8d, 1
neg eax
and eax, 0xedb88320
xor edx, eax
test r9d, r8d
je 0x140009818
lea eax, [r8 - 1]
xor r10d, edx
test eax, r9d
jne 0x140009818
add r11d, 1
sar ecx, 1
jne 0x1400097f8
mov eax, r10d
pop rbx
ret
Function at 0x14000da20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400169f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400169f0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000da90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140024364]
mov rbx, rcx
test esi, esi
jle 0x14000dbc0
mov rax, qword [0x140024368]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000dadb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000db65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000dac0
mov rcx, rbx
call fcn.14000e500
mov rdi, rax
test rax, rax
je 0x14000dbe2
mov rax, qword [0x140024368]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000e640
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140024368]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000dbc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000db5e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000db70
add dword [0x140024364], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140024368]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000db5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000da20
nop dword [rax]
xor esi, esi
jmp 0x14000dae8
mov rax, qword [0x140024368]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000da20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000da20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e170
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400243c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400243a0]
test rbx, rbx
je 0x14000e1cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000e1c3
test eax, eax
jne 0x14000e1c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e1a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000e500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001f720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e520
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e528
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e520
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000e57d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000e574
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e520
add rax, 0x28
cmp rax, r9
jne 0x14000e560
xor eax, eax
ret

Function at 0x14000e580
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001f720]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000e59f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000e5a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000e59f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000e640
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001f720]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000e65f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000e668
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400331ea
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140082910
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x1400c5040]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x1400d5646]
call fcn.140034f86
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.140034775
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x1400829db
cmp qword [rbp + 8], 0
je 0x1400829a3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.140034775
mov dword [rbp + 0x44], eax
jmp 0x140082981
cmp dword [rbp + 0x44], 0
jge 0x140082a01
cmp qword [rbp + 8], 0
je 0x1400829fa
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140082b30
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140082a17
xor eax, eax
jmp 0x140082b30
mov dword [rbp + 0x84], 0
jmp 0x140082a31
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140082b1c
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140033e60
mov rcx, qword [rbp + 0x210]
call fcn.1400332bc
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400332bc
mov rcx, qword [rbp + 0x1d8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140082b0b
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400335d7
mov rax, qword [rbp + 0x1c8]
jmp 0x140082b30
lea rcx, [rbp + 0xa8]
call fcn.1400335d7
jmp 0x140082a23
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b60f0]
call fcn.140034a22
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.140033f7d
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400332e4
Capabilities:
Write file on windows

Disassembly:
jmp 0x14006bdf0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d5128]
call fcn.140034f86
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14006be47
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14006bf53
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14006beec
cmp qword [rbp + 0x28], 0
jle 0x14006beec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14006be8c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140034d60
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14006bf42
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14006bf42
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140033519
Capabilities:
Query service status
Terminate process

Disassembly:
jmp 0x140090cb0
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400c5040]
xor rax, rbp
mov qword [rbp + 0x210], rax
lea rcx, [0x1400d57b0]
call fcn.140034f86
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
lea rdx, str.wdfilter
lea rcx, [rbp + 0x148]
call fcn.140034ebe
mov rcx, rax
call fcn.140035189
mov r8d, 4
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [rbp + 0x4c], 1
jne 0x140090d4d
mov al, 1
jmp 0x140090dc1
lea rdx, str.RUST_LEGIT
lea rcx, [rbp + 0x178]
call fcn.14003317c
mov rcx, rax
call fcn.1400338a2
mov qword [rbp + 0x208], rax
lea rdx, str.WDF_working_please_stop__n_n_https:__www.sordum.org_9480_defender_control_v2_1_
lea rcx, [rbp + 0x1b0]
call fcn.1400339a6
mov rcx, rax
call fcn.1400348d3
mov r9d, 0x10
mov rcx, qword [rbp + 0x208]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b6a10]
call fcn.140034a22
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.140033f7d
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret

Function at 0x140033663
Capabilities:
Create thread

Disassembly:
jmp 0x14008abf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1400c5040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400d56e8]
call fcn.140034f86
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14003397e
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140033ff0
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400336d6
nop
lea rcx, [rbp + 0x108]
call fcn.140033d2a
lea rax, [0x1400344f0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14003458b
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14008acf0
lea rcx, [rbp + 8]
call fcn.140033dac
jmp 0x14008ad09
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14003373f
nop
lea rcx, [rbp + 8]
call fcn.140033d2a
lea rcx, [rbp - 0x30]
lea rdx, [0x1400b7150]
call fcn.140034a22
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140033f7d
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret