joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016680
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140417d90]
cmp byte [rbx + 0x2fb8], 0
jne 0x1400167ae
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400167a7
lea rdx, [0x1400580b4]
call fcn.140002db0
mov rdi, rax
test rax, rax
je 0x1400167a7
mov rcx, rax
mov qword [rsp + 0x48], r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140016799
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016799
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x140016799
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016799
cmp rbp, 0xffffffffffffffff
je 0x140016799
mov rax, qword [0x140417d90]
test rax, rax
je 0x140016736
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140016799
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x14001676b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001677c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, r14
call fcn.1400169f0
mov rax, qword [0x140417d90]
test rax, rax
je 0x14001678e
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400167a2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r14, qword [rsp + 0x48]
mov byte [rbx + 0x2fb8], 1
movss xmm0, dword [rbx + 0x2fbc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001683d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x2fbc], xmm0
jb 0x14001683d
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x140016830
mov rax, qword [0x140417d90]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rbp
mov dword [rax + 0x2fbc], ebp
call fcn.140016d50
lea rdx, [0x1400580b8]
mov rcx, rdi
mov rsi, rax
call fcn.140002db0
mov rdi, rax
test rax, rax
je 0x140016837
mov r8, qword [rsp + 0x40]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140016837
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x2fbc], ebp
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016940
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140016992
lea r11, [0x140059e50]
cmp r9b, 0x23
jne 0x140016975
cmp byte [r8], r9b
jne 0x140016975
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016962
mov r11, qword [0x140417d90]
mov r10, qword [r11 + 0x2fe8]
test r10, r10
je 0x1400169d9
lea r9, [r10 + 4]
test r9, r9
je 0x1400169d9
not eax
cmp dword [r9], eax
je 0x1400169e2
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x2fe0]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400169b0
mov rcx, rbx
pop rbx
jmp fcn.140016850
mov rax, r9
pop rbx
ret
Function at 0x14001a070
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a2ab
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140417010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140059e50]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a273
mov rcx, rbp
call fcn.140019700
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a141
movsxd rdx, dword [rbp + 0x2f80]
mov r8, qword [rbp + 0x2f88]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a131
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a129
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a12c
mov rdx, rcx
test rdx, rdx
jne 0x14001a100
cmp r8, r10
je 0x14001a141
cmp dword [r8], r9d
jne 0x14001a141
mov rcx, qword [r8 + 8]
jmp 0x14001a143
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb0]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb0], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a1d7
cmp qword [rcx + 0x18], 0
jne 0x14001a1cc
mov qword [rcx + 0x18], rbx
jmp 0x14001a1d7
cmp qword [rcx + 0x20], 0
jne 0x14001a1d7
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a20c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a200
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, socket
lea rcx, [rsp + 0x20]
call fcn.140002c80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a268
cmp r9b, 0x23
jne 0x14001a24b
cmp byte [r8], r9b
jne 0x14001a24b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a238
not ecx
call fcn.14000a2e0
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a0c0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400539c0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140049930
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x140417010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rsi, r8
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], send
mov byte [rcx], dil
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
mov eax, r8d
and eax, 0x1fffffff
mov dword [rsp + 0x30], eax
mov eax, r8d
shr eax, 0x1d
mov dword [rsp + 0x34], eax
cmp r8d, 0x40
jb 0x1400499cf
and r8d, 0xffffffc0
lea rcx, [rsp + 0x30]
call fcn.140048ce0
mov rdx, rax
and esi, 0x3f
mov r8d, esi
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.1400497b0
mov ebp, 0x57
nop dword [rax]
nop word [rax + rax]
movzx esi, byte [rsp + rdi + 0xd0]
movzx eax, sil
shr al, 4
mov r9d, 0x30
cmp al, 0xa
cmovae r9d, ebp
add r9b, al
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140049a4a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140049a3f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140049a52
mov rcx, rbx
call fcn.140052fb0
and sil, 0xf
mov r9d, 0x30
cmp sil, 0xa
cmovae r9d, ebp
add r9b, sil
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140049a93
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140049a88
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140049a9b
mov rcx, rbx
call fcn.140052fb0
inc rdi
cmp rdi, 0x10
jb 0x140049a00
mov rax, rbx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400539c0
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051780
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400517a8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400517ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400517d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140051829
test ecx, ecx
jle 0x140051809
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140051829
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140051829
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140051850
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140051872
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140051888
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400518a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400518a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400518e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005197e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005191d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005195e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005197e
cmp rbx, rax
ja 0x140051930
test rbx, rbx
je 0x14005197e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140051db0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140417010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140051ddd
xor eax, eax
jmp 0x140051f49
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140051e17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140051e17
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140051f49
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140051f3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140051e5a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140051e85
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140051f41
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140051ef4
sub eax, 1
je 0x140051ef4
cmp eax, 2
jne 0x140051f3c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140051f41
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140051f22
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140051f3c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140051f41
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400539c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140052470
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140417010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140052543
cmp byte [rcx + 0x71], 0
je 0x140052543
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005253f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140052504
sub eax, 1
je 0x140052508
cmp eax, 2
jne 0x14005253f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400539c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140052536
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005253f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400524ec
xor al, al
jmp 0x1400524ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400539c0
add rsp, 0x60
pop rbx
ret

Function at 0x1400545e4
Capabilities:
Parse pe header

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

Function at 0x140001b2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b76
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b78
xor al, al
add rsp, 0x28
ret
Function at 0x140028148
Capabilities:
Attach user process memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x458]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x450]
mov edx, 0x19c
lea rcx, [rsp + 0x280]
call fcn.140029470
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x448]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x440]
lea r8, [0x140058cc0]
mov edx, 0x200
lea rcx, [rsp + 0x80]
call fcn.1400293e4
mov dword [rsp + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, qword [rsp + 0x430]
cmp rax, qword [rcx + 8]
jne 0x140028249
mov rax, qword [rsp + 0x430]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x438]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x40]
add rax, 0xc
lea r8, [rsp + 0x80]
mov edx, 0x104
mov rcx, rax
call sub.ntoskrnl.exe_strcpy_s
jmp 0x1400282a9
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, qword [rsp + 0x430]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x438]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x48]
add rax, 0xc
lea r8, [rsp + 0x80]
mov edx, 0x104
mov rcx, rax
call sub.ntoskrnl.exe_strcpy_s
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
add rsp, 0x420
pop rdi
ret
Function at 0x14003a448
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
call fcn.14004fae0
cmp eax, 0x64
jb 0x14003a56e
call fcn.14004dee0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x48], 0x48
mov byte [rsp + 0x49], 0x8b
mov byte [rsp + 0x4a], 0xc4
mov byte [rsp + 0x4b], 0x48
mov byte [rsp + 0x4c], 0x89
mov byte [rsp + 0x4d], 0x58
mov byte [rsp + 0x4e], 8
mov byte [rsp + 0x4f], 0x48
mov byte [rsp + 0x50], 0x89
mov byte [rsp + 0x51], 0x68
mov byte [rsp + 0x52], 0x10
mov byte [rsp + 0x53], 0x48
mov byte [rsp + 0x54], 0x89
mov byte [rsp + 0x55], 0x70
mov byte [rsp + 0x56], 0x18
mov byte [rsp + 0x57], 0x48
mov byte [rsp + 0x58], 0x89
mov byte [rsp + 0x59], 0x78
mov byte [rsp + 0x5a], 0x20
mov byte [rsp + 0x5b], 0x41
mov byte [rsp + 0x5c], 0x54
mov byte [rsp + 0x5d], 0x41
mov byte [rsp + 0x5e], 0x56
mov byte [rsp + 0x5f], 0x41
mov byte [rsp + 0x60], 0x57
mov byte [rsp + 0x61], 0x48
mov byte [rsp + 0x62], 0x83
mov byte [rsp + 0x63], 0xec
mov byte [rsp + 0x64], 0x30
mov byte [rsp + 0x65], 0xbd
mov byte [rsp + 0x66], 8
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
mov r9b, 0xcc
lea r8, [rsp + 0x48]
lea rdx, [0x140059f60]
mov rcx, qword [rsp + 0x40]
call fcn.140048d48
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14003a56e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x118], rcx
xor eax, eax
jmp 0x14003a573
mov eax, 0xc00000bb
add rsp, 0x78
ret

Function at 0x140040ee8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [0x140040e18]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140040f97
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x80]
add rax, 0x60
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov r8, qword [rax]
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x40]
add rsp, 0x70
pop rdi
ret
Function at 0x140041674
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x40], 0xc0000001
lea r8, [0x1400bd208]
lea rdx, [0x1400bd060]
mov rcx, qword [rsp + 0xa8]
call sub.FLTMGR.SYS_FltRegisterFilter
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400416bc
mov eax, dword [rsp + 0x40]
jmp 0x1400417c3
lea rdx, [0x14005a410]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, 0x1f0001
lea rcx, [rsp + 0x48]
call sub.FLTMGR.SYS_FltBuildDefaultSecurityDescriptor
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400417b3
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x78], 0x240
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], 0
lea rax, [0x1400411a8]
mov qword [rsp + 0x28], rax
lea rax, [0x1400410ec]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [0x1400bd1f8]
mov rcx, qword [0x1400bd208]
call sub.FLTMGR.SYS_FltCreateCommunicationPort
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x48]
call sub.FLTMGR.SYS_FltFreeSecurityDescriptor
cmp dword [rsp + 0x40], 0
jl 0x1400417b3
mov rcx, qword [0x1400bd208]
call sub.FLTMGR.SYS_FltStartFiltering
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400417a7
mov rcx, qword [rsp + 0xa0]
call fcn.140040ee8
jmp 0x1400417c3
mov rcx, qword [0x1400bd1f8]
call sub.FLTMGR.SYS_FltCloseCommunicationPort
mov rcx, qword [0x1400bd208]
call sub.FLTMGR.SYS_FltUnregisterFilter
mov eax, dword [rsp + 0x40]
add rsp, 0x98
ret