joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003bf2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400206d8
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 0x1400204b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400204b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400204b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400204b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400204b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400204b3
cmp dword [rcx + 0xf8], 0
je 0x1400204b3
mov ecx, ebx
call fcn.14002061c
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.140020194
nop
cmp dword [rbp + 0x20], 0
je 0x140020501
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002053c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140020444

Function at 0x1400080a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400080a8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400080f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400080f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400080f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400080f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400080f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400080f4
xor al, al
add rsp, 0x28
ret
Function at 0x1c7051050
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
xor eax, eax
and ecx, 0xff0
add r8, rcx
lea r9, [rdx + rax]
lea r10, [rax + r8]
xor ecx, ecx
mov r11b, byte [r10 + rcx]
inc rcx
xor byte [r9], r11b
inc r9
cmp rcx, 4
jne 0x1c7051069
add rax, 4
cmp rax, 0x10
jne 0x1c705105f
ret

Function at 0x1c70511e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
lea rax, [rdx + r8]
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov eax, 0x10
mov qword [rsp + 0x20], rdi
cmp qword [rsp + 0x28], rsi
je 0x1c70513ff
cmp eax, 0x10
jne 0x1c70513ec
movups xmm0, xmmword [rbx + 0xf0]
mov r8, rbx
xor ecx, ecx
mov r12b, 0x1b
lea rdx, [rsp + 0x30]
mov r14d, 1
lea rdi, [rsp + 0x34]
movups xmmword [rsp + 0x30], xmm0
lea r13, str.cw
call fcn.1c7051050
lea rdx, [rsp + 0x30]
mov rcx, rdx
mov rax, rcx
xor r8d, r8d
movzx r9d, byte [rax]
inc r8d
add rax, 4
mov r9b, byte [r13 + r9]
mov byte [rax - 4], r9b
cmp r8b, 4
jne 0x1c7051267
inc rcx
cmp rdi, rcx
jne 0x1c7051261
mov cl, byte [rsp + 0x35]
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], al
mov byte [rsp + 0x3b], cl
cmp r14d, 0xe
je 0x1c70513b1
lea r11, [rdx + 0x10]
mov cl, byte [rdx]
mov r9b, byte [rdx + 1]
add rdx, 4
mov r8b, byte [rdx - 2]
xor r8b, byte [rdx - 1]
xor r9d, ecx
mov r15d, ecx
xor cl, byte [rdx - 1]
mov eax, r9d
mov r10d, r9d
add r9d, r9d
shr al, 7
xor r10d, r8d
imul eax, r12d
xor r15d, r10d
xor r15d, eax
xor r9d, r15d
mov r15b, byte [rdx - 3]
xor r15b, byte [rdx - 2]
mov eax, r15d
mov byte [rdx - 4], r9b
mov r9b, byte [rdx - 3]
add r15d, r15d
shr al, 7
imul eax, r12d
xor r9d, r10d
xor r9d, eax
mov eax, r8d
add r8d, r8d
shr al, 7
xor r15d, r9d
mov r9b, byte [rdx - 2]
imul eax, r12d
mov byte [rdx - 3], r15b
xor r9d, r10d
xor r10b, byte [rdx - 1]
xor r9d, eax
mov eax, ecx
add ecx, ecx
shr al, 7
xor r8d, r9d
imul eax, r12d
mov byte [rdx - 2], r8b
mov r8d, r10d
xor eax, r8d
xor ecx, eax
mov byte [rdx - 1], cl
cmp r11, rdx
jne 0x1c70512f7
mov rdx, qword [rsp + 0x20]
mov ecx, r14d
mov r8, rbx
inc r14d
call fcn.1c7051050
jmp 0x1c7051259
mov r8, rbx
mov ecx, 0xe
call fcn.1c7051050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x1c70513df
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x1c70513c3
jmp 0x1c70513ea
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [rsi], dl
inc rsi
jmp 0x1c7051215
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1c705bb60
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1c7062790
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x1c7062790
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x1c7062790
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x1c705bc1f
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x1c7062790
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.1c705c0e0
cmp eax, 0xa6caa1c5
jne 0x1c705bc04
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x1c7062790
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x1c7062790
mov rcx, rbp
call fcn.1c705c0e0
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x1c705bbd3
mov r14, rax
jmp 0x1c705bbae
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x1c70627da
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1c70627d8
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1c70627d0
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x1c70627d0
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x1c70627ae
xor eax, eax
ret

Function at 0x1c705c090
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test rcx, rcx
je 0x1c705c0df
mov r10, rcx
mov eax, 0x1505
mov r9b, byte [r10]
test edx, edx
jne 0x1c705c0ac
test r9b, r9b
jne 0x1c705c0c1
ret
mov r11, r10
sub r11, rcx
cmp r11d, edx
jae 0x1c705c0df
test r9b, r9b
jne 0x1c705c0c1
inc r10
jmp 0x1c705c0d0
cmp r9b, 0x60
jbe 0x1c705c0d0
test r8d, r8d
je 0x1c705c0d0
sub r9d, 0x20
imul eax, eax, 0x21
movzx r9d, r9b
inc r10
add eax, r9d
jmp 0x1c705c09f
ret

Function at 0x1c705c0e0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1c705c0f6
imul eax, eax, 0x21
add eax, edx
jmp 0x1c705c0e5
ret
Function at 0x1c705dac0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x1c705dac4
mov r11d, 8
lea r10, str.cw
lea rbx, [0x1c706a1a0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x1c705db42
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x1c705db57
cmp esi, 4
jne 0x1c705db57
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x1c705db08
pop rbx
pop rsi
ret

Function at 0x1c7062790
Capabilities:
Enumerate pe sections

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1c7062790
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x1c7062790
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x1c7062790
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x1c705bc1f
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x1c7062790
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.1c705c0e0
cmp eax, 0xa6caa1c5
jne 0x1c705bc04
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x1c7062790
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x1c7062790
mov rcx, rbp
call fcn.1c705c0e0
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x1c705bbd3
mov r14, rax
jmp 0x1c705bbae
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x1c70627da
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1c70627d8
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1c70627d0
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x1c70627d0
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x1c70627ae
xor eax, eax
ret
Function at 0x2f8ab27c0
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.2f8ab33d0
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.2f8ab33d0
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 0x2f8ab2830
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2f8abb044]
mov rbx, rcx
test esi, esi
jle 0x2f8ab2960
mov rax, qword [0x2f8abb048]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2f8ab287b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2f8ab2905
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2f8ab2860
mov rcx, rbx
call fcn.2f8ab3090
mov rdi, rax
test rax, rax
je 0x2f8ab2982
mov rax, qword [0x2f8abb048]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2f8ab31d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2f8abb048]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2f8ab2967
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2f8ab28fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2f8ab2910
add dword [0x2f8abb044], 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 [0x2f8abb048]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2f8ab28fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2f8ab27c0
nop dword [rax]
xor esi, esi
jmp 0x2f8ab2888
mov rax, qword [0x2f8abb048]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2f8ab27c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2f8ab27c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2f8ab2d00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2f8abb080]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2f8abb060]
test rbx, rbx
je 0x2f8ab2d5c
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 eax, eax
jne 0x2f8ab2d53
test rsi, rsi
je 0x2f8ab2d53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2f8ab2d38
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 0x2f8ab3090
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x2f8ab3110
Capabilities:
Parse pe header

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

Function at 0x2f8ab31d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2f8ab5460]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2f8ab31ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2f8ab31f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x141b825de
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rsp + 0x28]
mov qword [rsp + 0x28], 0xffffffff81f8f078
mov r8, qword [rsp + 0x20]
mov r10, qword [rsp]
mov rdx, qword [rsp]
mov r10b, byte [rsp]
setl byte [rsp]
or r10w, word [rsp]
movsx r10d, dx
not dl
mov r10, qword [rsp + 0x10]
or qword [rsp], rdx
mov dl, dh
mov rdx, qword [rsp + 8]
neg byte [rsp]
xor byte [rsp], 0x28
jbe 0x141b40a9f
xor word [rsp], 0x31aa
xor qword [rsp], 0x76375c91
shl qword [rsp], 0xd5
setb byte [rsp]
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x28]
call fcn.141f983c0
syscall
pushfq
call fcn.141bb504e
invalid
add eax, 0x2804f576
cmc
add al, 0x28
cmp byte [rsi + 0x38a122a9], ah
adc al, 0xd4
enter 0xffffffffffffc559, 0xffffffffffffff86
add eax, 0x50fe594
pushfq
mov qword [rsp], 0x387bb725
call fcn.141fa8357
push r9
push r8
pushfq
movabs r8, 0xd509b8aad5340c93
push r10
mov r9, r8
push rdx
neg r9w
push r8
jne 0x141b40a72
sub ah, ch
ja 0x141b82657
add byte [r8], al
add byte [rbx + 0x65], al
jb 0x141b82680
jo 0x141b82674
outsb dx, byte [rsi]
push rbx
je 0x141b82682
jb 0x141b8267a
add ah, bh
ja 0x141b82698
je 0x141b825ba
mov esi, 0x5a1f951c
outsd dx, dword [rsi]
and esi, dword [rbp + rbx*2 - 0x5c701511]
in eax, 0x47
insb byte [rdi], dx
scasd eax, dword [rdi]
pushfq
js 0x141b825b8
sub al, 0x8f
add dword [rdi + rbp*8 - 0x31], 4
lahf
pop rsi
movsb byte [rdi], byte [rsi]
invalid
xchg edi, eax
invalid
or byte [rbp - 0x20107e71], dl
movsd dword [rdi], dword [rsi]
jg 0x141b8266b
invalid
ja 0x141b82643
mov eax, 0xc0704d7a
fcompi st(1)
and al, 0xd9
out dx, al
fbld tbyte [rbp + 0x1c08c27f]
invalid
stc
insb byte [rdi], dx
int1
invalid
je 0x141b8267d
add bl, ch
jmp 0x141b826ab
xor cl, byte [rax + 0x60]
cmp bh, byte [rcx]
invalid
and byte [rcx], bl
js 0x141b82678
test dword [rsi], 0x8ad285f
test byte [rsi + 0x28d047aa], al
invalid
pop rdi
sub byte [rbp - 0x55797bf8], ch
shr byte [r8], 1
pop rdi
or dword [rsi - 0x7f], 0x62
stosd dword [rdi], eax
cmpsb byte [rsi], byte [rdi]
jb 0x141b826c7
scasb al, byte [rdi]
mov ah, 0x59
pop rcx
jne 0x141b82677
ret 0xfdb1
mov bl, 0x54
mov ss, word [rdx - 0x43]
sub al, 0xdc
je 0x141b82698
fstp xword [rsi - 0x60aa6e55]
jne 0x141b8272d
loop 0x141b82646
push rsi
sahf
out 0x93, al
sub bl, byte [rbp + 0x66]
cmp bh, byte [rdx]
fidivr dword [rsi + 0x16df91ab]
cmp bl, dl
mov esi, 0x16df91ab
add ch, dl
fst dword [rbp - 5]
lahf
cmp ch, byte [rcx + 0x58]
fadd qword [rbx - 0x1e]
push rbx
fstp xword [rsi + 0x39fc91ab]
shl ebp, cl
invalid
sbb ecx, dword [rdi]
mov dword [rbx + 0x7f10c5f2], esp
call 0xc58be25b
in al, dx
invalid

Function at 0x141f870f1
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x141f87144
mov ebx, 0xb689e28c
push rdi
lea rdi, [0x141fa9a00]
movzx ebx, byte [rbp + riz]
push 0xfffffffffda9d3ab
xor ebx, r9d
and ebx, 0xff
mov ebx, dword [rdi + rbx*4]
shr r9d, 8
xor r9d, ebx
inc rbp
xor r9d, 0x7c30cfbb
dec r10
push 0xffffffff9486ea0a
lea rsp, [rsp + 0x10]
jne 0x141f87109
pop rdi
not r9d
call fcn.141fa9996

Function at 0x141f95c06
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], 0x60028aa9
test r9, r9
jmp 0x141f77b8d
Function at 0x140001120
Capabilities:
Delete registry key
Unload driver

Disassembly:
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp ecx, 2
jge 0x140001158
lea rcx, str.Invalid_arguments._Usage:_GDRVLoader.exe_TargetDriver.sys_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001230
add rsp, 0x48
ret
xor r8d, r8d
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x20]
mov rdi, qword [rdx + 8]
mov dl, 1
lea ecx, [r8 + 0xa]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov ebx, eax
test eax, eax
js 0x1400011e8
mov rdx, rdi
call fcn.140001070
lea rdx, [0x140009ee0]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov ebx, eax
test eax, eax
js 0x1400011bf
lea rdx, [0x140009f04]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
movzx edx, byte [rsp + 0x20]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea ecx, [r8 + 0xa]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test ebx, ebx
js 0x1400011e8
lea rcx, str.Driver_unloaded_successfully_n
call fcn.140001010
jmp 0x1400011f6
mov edx, ebx
lea rcx, str.Error:__08X_n
call fcn.140001010
mov rdi, qword [rsp + 0x40]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001230
add rsp, 0x48
ret

Function at 0x140001af0
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2365952eb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x23662cb40]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.2365b0fa0
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x2365951c5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x2365951d4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x2365951f3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x236595203
cmp rbx, 0x1000
jae 0x2365951cb
jmp 0x23659526d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x236595215
xor edx, edx
jmp 0x236595264
mov rcx, qword [0x23662cb40]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.2365b0fa0
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x2365951f9
jmp 0x2365951e8
call fcn.2365dfc60
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.2365b53a0
lea rax, [0x236656874]
mov ebx, 0x18
nop dword [rax]
call fcn.2365b5c20
mov rax, qword [rsp + 0x38]
call fcn.2365b5960
lea rax, [0x236656ca3]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.2365b5c20
mov rax, qword [rsp + 0x30]
call fcn.2365b5960
call fcn.2365b55e0
call fcn.2365b5400
lea rax, [0x236658ca4]
mov ebx, 0x21
call fcn.2365b3a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.2365dc540
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.236595160
Function at 0x236595320
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x236595546
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [str.H8b6]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.2365b1020
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x236595393
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x2365953a2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x2365953c5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x2365953d5
cmp rbx, 0x1000
jae 0x236595399
nop
jmp 0x236595458
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x2365953ed
xor esi, esi
jmp 0x23659544a
mov rax, qword [str.H8b6]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.2365b1020
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x2365953cb
jmp 0x2365953b6
call fcn.2365dfc60
xorps xmm15, xmm15
mov r14, qword [0x236745568]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x2365954e0
nop dword [rax + rax]
call fcn.2365b53a0
lea rax, [0x236656cbc]
mov ebx, 0x19
call fcn.2365b5c20
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.2365b5960
lea rax, [0x236656ca3]
mov ebx, 0x19
call fcn.2365b5c20
mov eax, dword [rsp + 0x34]
call fcn.2365b5960
nop
call fcn.2365b55e0
call fcn.2365b5400
lea rax, [0x236653b32]
mov ebx, 0xd
call fcn.2365b3a00
nop dword [rax + rax]
cmp eax, 0x5af
je 0x236595480
call fcn.2365b53a0
lea rax, [0x236656cbc]
mov ebx, 0x19
call fcn.2365b5c20
mov rax, qword [rsp + 0x38]
call fcn.2365b5960
lea rax, [0x236656ca3]
mov ebx, 0x19
call fcn.2365b5c20
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.2365b5960
call fcn.2365b55e0
call fcn.2365b5400
lea rax, [0x23665856c]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.2365b3a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.2365dc540
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.236595320