joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001b60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edi, ecx
mov rsi, rdx
lea rcx, [0x140001b20]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x140001ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001d1e
mov edx, 0x38
mov qword [rsp + 0x150], rbx
lea ecx, [rdx - 0x37]
call qword [sym.imp.msvcrt.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140001be3
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea rdx, str.calloc_failed
add rcx, 0x30
call qword [sym.imp.msvcrt.dll_fprintf]
or eax, 0xffffffff
jmp 0x140001d16
mov rcx, rax
call fcn.140001820
test eax, eax
je 0x140001bdb
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea rdx, str.Starting_WinDivert...
add rcx, 0x30
call qword [sym.imp.msvcrt.dll_fprintf]
lea r8, str.ip.SrcAddr___s_or_ip.DstAddr___s
mov edx, 0x100
lea rcx, [rsp + 0x30]
cmp edi, 2
jl 0x140001c23
mov r9, qword [rsi + 8]
jmp 0x140001c2a
lea r9, str.10.3.0.1
mov qword [rsp + 0x20], r9
call fcn.140001790
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor r9d, r9d
xor edx, edx
call qword [rbx + 0x10]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140001c74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea rdx, str.Failed_to_open_the_WinDivert_device___u___08X___n
add rcx, 0x30
mov r9d, eax
mov r8d, eax
call qword [sym.imp.msvcrt.dll_fprintf]
jmp 0x140001ce9
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea rdx, str.Done._n
add rcx, 0x30
call qword [sym.imp.msvcrt.dll_fprintf]
xor eax, eax
lea r8, [0x1400019c0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400035d0], rax
test rax, rax
jne 0x140001cdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea rdx, str.Failed_to_create_the_WinDivert_thread___u___08X___n
add rcx, 0x30
mov r9d, eax
mov r8d, eax
call qword [sym.imp.msvcrt.dll_fprintf]
jmp 0x140001ce9
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001cfd
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x140001cfd
call rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001d0b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001010
mov rsi, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
Function at 0x140712108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14071228f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140712139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071211f
add dl, dl
jne 0x140712146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407121a6
xor eax, eax
add dl, dl
jne 0x140712155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071225d
add dl, dl
jne 0x140712166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140712173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140712180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071218d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14071219a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14071212e
mov eax, 1
add dl, dl
jne 0x1407121b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407121c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407121ab
sub eax, ebx
mov ebx, 1
jne 0x1407121fc
mov ecx, 1
add dl, dl
jne 0x1407121de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407121eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407121d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071212e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140712218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140712225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071220d
cmp eax, 0x7d00
jae 0x14071224b
cmp eax, 0x500
jb 0x140712246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071212e
cmp eax, 0x7f
ja 0x14071224e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071212e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140712282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14071212e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400347af
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x60]
xor r11d, r11d
mov rsi, r8
mov ebp, edx
mov rdi, qword [rax + 0x10]
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
movzx eax, word [rbx + 0x14]
lea r9, [rbx + 0x18]
movzx r10d, word [rbx + 6]
add r9, rax
test r10, r10
je 0x14003486e
mov dword [rsp + 0x78], 0x6544302e
mov byte [rsp + 0x7c], 0x76
movups xmm2, xmmword [r9]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r9 + 0x10]
movsd xmm1, qword [r9 + 0x20]
movd edx, xmm2
movups xmmword [rsp + 0x20], xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test dl, dl
je 0x140034856
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x20]
sub r8, rax
movzx eax, dl
nop
movzx edx, al
cmp al, byte [rcx]
jne 0x140034856
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x14003483f
cmp dl, byte [rcx]
lea rdx, [rsp + 0x20]
cmovne rdx, r11
add r9, 0x28
mov r11, rdx
sub r10, 1
jne 0x140034801
mov eax, dword [r11 + 0xc]
mov rdx, rsi
mov ecx, dword [rbx + 8]
mov eax, dword [rax + rdi]
xor eax, dword [rbx + 0x68]
ror eax, cl
mov ecx, ebp
add rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp rax
Function at 0x1400027c0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14001c8f0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400027f0
test rax, rax
jne 0x140002847
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
lea r8, str._ntoskrnl.exe
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x240
pop rbx
ret

Function at 0x140002920
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000297e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov esi, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rdx, rax
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400029cf
cmp dword [rsp + 0x40], esi
je 0x1400029d9
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x50
pop rdi
ret

Function at 0x140002a10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x14001c040]
cmp rax, 0xffffffffffffffff
jne 0x140002a8c
movzx eax, word [0x14000c368]
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [str..RTCore64]
xor r9d, r9d
mov word [rsp + 0x58], ax
movsd xmm1, qword [0x14000c360]
xor eax, eax
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140002a9e
mov qword [0x14001c040], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x78
ret
lea rcx, str.____Unable_to_obtain_a_handle_to_the_vulnerable_driver__exiting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140002ac0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14001cb10]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140002af0
test rax, rax
jne 0x140002b47
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
lea r8, str.wdigest.dll
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x240
pop rbx
ret

Function at 0x140002c20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov rdi, rcx
mov rcx, rdx
xor ebx, ebx
sub rcx, rdi
mov r14, rdx
mov esi, 0x18
nop dword [rax]
movzx eax, byte [rcx + rdi]
cmp byte [rdi], al
jne 0x140002c69
inc rbx
inc rdi
cmp rbx, rsi
jb 0x140002c50
xor ebx, ebx
xor edi, edi
jmp 0x140002c8d
lea rcx, [rbx + rdx]
mov r8, rbx
mov rdx, rbp
sub rdx, r14
cmp rbx, rsi
jae 0x140002c8a
movzx eax, byte [rcx + 1]
inc rcx
inc rbx
cmp byte [rdx + rcx], al
jne 0x140002c76
sub rbx, r8
mov r13d, 4
mov qword [rsp + 0x50], r12
xor r15d, r15d
lea ecx, [r13 + 0x5c]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rax, rax
je 0x140002dfc
lea r10, [r15 - 1]
test rdi, rdi
je 0x140002d74
xor r12d, r12d
test rsi, rsi
je 0x140002d74
mov rax, rbx
mov qword [r12 + r9 + 0x10], rbx
sub rax, rbp
mov qword [r12 + r9 + 8], rdi
add rax, rdi
sub rbp, rbx
add r14, rax
sub rbp, rdi
add rsi, rbp
mov rax, r14
sub rax, rbx
lea rbp, [rbx + rdi]
xor ebx, ebx
mov qword [r12 + r9], rax
test rsi, rsi
je 0x140002d27
mov rcx, r14
mov rdi, rbp
sub rcx, rbp
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
cmp byte [rdi], al
jne 0x140002dcf
inc rbx
inc rdi
cmp rbx, rsi
jb 0x140002d10
xor ebx, ebx
xor edi, edi
inc r15
mov eax, r13d
add r12, 0x18
cmp r15, rax
jb 0x140002d6b
add r13d, r13d
mov eax, 0x18
mov ecx, r13d
mul rcx
mov rcx, r9
cmovo rax, r10
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9, rax
test rax, rax
je 0x140002dfc
mov r10, 0xffffffffffffffff
test rdi, rdi
jne 0x140002cc1
lea rcx, [r15 + 1]
mov eax, 0x18
mul rcx
mov rcx, r9
cmovo rax, r10
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x140002dfc
mov r12, qword [rsp + 0x50]
lea rcx, [r15 + r15*2]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8], 0
mov qword [rax + rcx*8 + 0x10], 0
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rdx, rbp
lea rcx, [rbx + r14]
sub rdx, r14
mov r8, rbx
nop dword [rax]
cmp rbx, rsi
jae 0x140002df4
movzx eax, byte [rcx + 1]
inc rcx
inc rbx
cmp byte [rcx + rdx], al
jne 0x140002de0
sub rbx, r8
jmp 0x140002d2b
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140003ee0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rdi
sub rsp, 0x48
cmp dword [rcx], 0
mov rbp, rdx
mov rdi, rcx
je 0x140003f08
lea rcx, str.ERROR_:_Cannot_rebase_PE_that_is_memory_mapped__LoadLibraryd__n
add rsp, 0x48
pop rdi
pop rbp
jmp fcn.140001010
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
xor r13d, r13d
mov qword [rsp + 0x20], r15
cmp qword [rcx + 0x70], r13
jne 0x140004063
mov rax, qword [rcx + 0x30]
mov edx, dword [rax + 0x28]
call fcn.140003e50
mov r12d, 0x10
mov qword [rsp + 0x60], rax
mov ecx, r12d
mov dword [rdi + 0x68], r13d
lea edx, [r13 + 8]
mov r15, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov qword [rdi + 0x70], rax
test rax, rax
je 0x1400040f5
mov rax, qword [rdi + 0x30]
lea r8, [r13 - 1]
cmp dword [rax + 0x2c], r13d
jbe 0x14000403a
mov qword [rsp + 0x28], r14
mov rax, r15
mov r13d, 0xfff0
nop word [rax + rax]
mov ebp, dword [r15 + 4]
lea r14, [r15 + 8]
add rbp, r15
cmp r14, rbp
jae 0x140004017
movzx ebx, word [r14]
and ebx, 0xfff
add ebx, dword [r15]
cmp dword [rdi + 0x68], r12d
jb 0x140003fda
mov rcx, qword [rdi + 0x70]
add r12d, r12d
mov eax, 8
mul r12
cmovo rax, r8
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rdi + 0x70], rax
mov r8, 0xffffffffffffffff
mov ecx, dword [rdi + 0x68]
mov rax, qword [rdi + 0x70]
mov dword [rax + rcx*8], ebx
mov ecx, dword [rdi + 0x68]
mov rax, qword [rdi + 0x70]
lea rdx, [rax + rcx*8]
movzx eax, word [r14]
movzx ecx, word [rdx + 4]
add r14, 2
and cx, r13w
shr ax, 0xc
or cx, ax
mov word [rdx + 4], cx
inc dword [rdi + 0x68]
cmp r14, rbp
jb 0x140003fa0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x30]
mov r15, rbp
sub rbp, rax
mov edx, dword [rcx + 0x2c]
cmp rbp, rdx
jb 0x140003f90
mov rbp, qword [rsp + 0x68]
xor r13d, r13d
mov r14, qword [rsp + 0x28]
mov edx, dword [rdi + 0x68]
mov eax, 8
mov rcx, qword [rdi + 0x70]
mul rdx
cmovo rax, r8
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x1400040f5
cmp dword [rdi + 0x68], 0
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rbp
jbe 0x1400040be
mov rax, qword [rdi + 0x70]
movzx edx, word [rax + r13*8 + 4]
lea r8, [rax + r13*8]
and edx, 0xf
je 0x1400040b5
cmp edx, 3
je 0x1400040a4
cmp edx, 0xa
jne 0x1400040de
mov edx, dword [r8]
mov rcx, rdi
call fcn.140003e50
mov rcx, rbp
sub rcx, rbx
add qword [rax], rcx
jmp 0x1400040b5
mov edx, dword [r8]
mov rcx, rdi
call fcn.140003e50
mov ecx, ebp
sub ecx, ebx
add dword [rax], ecx
inc r13d
cmp r13d, dword [rdi + 0x68]
jb 0x140004071
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
add rsp, 0x48
pop rdi
pop rbp
ret
lea rcx, str.Unsupported_relocation_:_0x_x_nExiting..._n
call fcn.140001010
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140004100
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
mov edx, 0x88
mov ecx, 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rdi, rax
test rax, rax
je 0x14000422d
mov qword [rsp + 0x30], rbp
xor ebp, ebp
mov dword [rax + 4], ebp
mov dword [rax], esi
mov qword [rax + 8], 0xffffffffffffffff
mov qword [rax + 0x18], rbx
movsxd rdx, dword [rbx + 0x3c]
add rdx, rbx
mov qword [rax + 0x20], rdx
lea rcx, [rdx + 0x18]
mov qword [rax + 0x28], rcx
test esi, esi
jne 0x140004162
mov rbx, qword [rcx + 0x18]
mov qword [rax + 0x10], rbx
lea rsi, [rcx + 0x70]
mov qword [rax + 0x30], rsi
movzx eax, word [rdx + 0x14]
add rax, rcx
mov qword [rdi + 0x38], rax
mov edx, dword [rsi]
test edx, edx
jne 0x140004191
mov qword [rdi + 0x40], rbp
mov qword [rdi + 0x48], rbp
mov qword [rdi + 0x58], rbp
mov qword [rdi + 0x60], rbp
jmp 0x1400041d3
mov rcx, rdi
call fcn.140003e50
mov qword [rdi + 0x40], rax
mov rcx, rdi
mov rbx, rax
mov edx, dword [rax + 0x20]
call fcn.140003e50
mov qword [rdi + 0x48], rax
mov rcx, rdi
mov edx, dword [rbx + 0x1c]
call fcn.140003e50
mov qword [rdi + 0x58], rax
mov rcx, rdi
mov edx, dword [rbx + 0x24]
call fcn.140003e50
mov qword [rdi + 0x60], rax
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x50], eax
mov qword [rdi + 0x70], rbp
mov edx, dword [rsi + 0x30]
test edx, edx
je 0x140004211
mov rcx, rdi
call fcn.140003e50
mov qword [rdi + 0x78], rax
cmp dword [rax + 0xc], 2
jne 0x140004211
mov edx, dword [rax + 0x14]
mov rcx, rdi
call fcn.140003e50
mov qword [rdi + 0x80], rax
cmp dword [rax], 0x53445352
je 0x140004215
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x78], rbp
mov rbp, qword [rsp + 0x30]
mov rax, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400044e0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
sub rsp, 0xa8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, edx
call fcn.140004460
mov rbx, rax
test rax, rax
je 0x14000468d
mov qword [rsp + 0xd0], rsi
lea rax, str._Re_enabling
mov qword [rsp + 0xd8], rdi
lea rdx, str.Disabling
mov qword [rsp + 0xa0], r12
lea rcx, str.____ETWTI__t_s_the_ETW_Threat_Intel_provider_by_patching_ProviderEnableInfo_at_0x_I64x_with_0x_02X._n
mov qword [rsp + 0x98], r14
mov r8, rbx
xor r14d, r14d
mov qword [rsp + 0x90], r15
test ebp, ebp
mov r9d, r14d
setne r9b
test ebp, ebp
cmovne rdx, rax
call fcn.1400014f0
test ebp, ebp
lea rdi, [rsp + 0x70]
lea esi, [r14 + 1]
movabs r15, 0x800000000000
setne byte [rsp + 0x70]
movabs r12, 0xffff800000000000
nop word [rax + rax]
mov qword [rsp + 0x40], r14
xorps xmm0, xmm0
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x6c], r14d
mov qword [rsp + 0x48], rbx
movdqu xmmword [rsp + 0x5c], xmm0
cmp rsi, 4
jb 0x1400045bf
mov dword [rsp + 0x58], 4
mov eax, dword [rdi]
jmp 0x1400045dd
cmp rsi, 2
jb 0x1400045d2
mov dword [rsp + 0x58], 2
movzx eax, word [rdi]
jmp 0x1400045dd
mov dword [rsp + 0x58], 1
movzx eax, byte [rdi]
mov dword [rsp + 0x5c], eax
cmp rbx, r15
jb 0x1400046a7
cmp rbx, r12
jb 0x1400046c1
call fcn.140002a10
mov rcx, rax
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x78]
mov r9d, 0x30
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x30
mov edx, 0x8000204c
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
add rbx, rax
add rdi, rax
sub rsi, rax
jne 0x140004590
test ebp, ebp
lea rax, str.enabled
lea rdx, str.disabled
cmovne rdx, rax
lea rcx, str.____ETWTI__tThe_ETW_Threat_Intel_provider_was_successfully__s__n
call fcn.1400014f0
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008f20
add rsp, 0xa8
pop rbp
pop rbx
ret
mov rdx, rbx
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rdx, rbx
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140006fe0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, [rsp + 0x3c]
mov rbp, rcx
mov dword [rsp + 0x3c], eax
mov rcx, r8
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov rsi, r8
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x1400070c3
mov ecx, edi
mov qword [rsp + 0x78], rbx
mov edx, 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rbx, rax
test rax, rax
jne 0x14000704b
lea rcx, str.____Couldnt_allocate_memory_to_retrieve_version_data
call sub.api_ms_win_crt_stdio_l1_1_0.dll__putws
jmp 0x1400070be
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400070b6
lea r9, [rsp + 0x38]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [0x14000a5f4]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400070b6
cmp dword [rsp + 0x38], 0
je 0x1400070b6
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0xfeef04bd
jne 0x1400070b6
mov r9d, dword [rax + 0xc]
lea r8, str._ld__ld
movzx eax, r9w
mov edx, 0x100
shr r9d, 0x10
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140002210
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400070e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
lea rsi, str.ntdll.dll
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rsi + rdx*2 + 2], 0
lea rdx, [rdx + 1]
jne 0x140007100
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14000715f
lea rdi, [rdx + rdx]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x60]
mov r8, rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
test eax, eax
je 0x140007171
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x14000715f
test rbx, rbx
jne 0x140007130
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140007190
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
lea rdi, [rsp + 0x70]
mov ebx, 4
xor ebp, ebp
movabs r14, 0x800000000000
movabs r15, 0xffff800000000000
nop dword [rax]
mov qword [rsp + 0x40], rbp
xorps xmm0, xmm0
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x6c], ebp
mov qword [rsp + 0x48], rsi
movdqu xmmword [rsp + 0x5c], xmm0
cmp rbx, 4
jb 0x14000720b
mov dword [rsp + 0x58], 4
jmp 0x140007218
cmp rbx, 2
sbb eax, eax
add eax, 2
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x54], ebp
cmp rsi, r14
jb 0x1400072d7
cmp rsi, r15
jb 0x1400072f1
call fcn.140002a10
mov rcx, rax
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x74]
mov r9d, 0x30
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x30
mov edx, 0x80002048
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
add rsi, rax
cmp rbx, 4
jb 0x140007282
mov eax, dword [rsp + 0x5c]
mov dword [rdi], eax
jmp 0x140007299
cmp rbx, 2
jb 0x140007292
movzx eax, word [rsp + 0x5c]
mov word [rdi], ax
jmp 0x140007299
movzx eax, byte [rsp + 0x5c]
mov byte [rdi], al
mov eax, dword [rsp + 0x58]
add rdi, rax
sub rbx, rax
jne 0x1400071e0
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140008f20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, rsi
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rdx, rsi
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3