joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400adfa0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x48]
test al, al
jne 0x14008d30b
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x30]
mov edx, 1
add rsp, 0x20
pop rbx
jmp 0x1400adfa0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
lea rbx, [rcx + 0x48]
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Acquire_void____ptr64]
mov rcx, qword [rdi + 0x70]
cmp rcx, 0xffffffffffffffff
jne 0x1400adfd1
mov rdi, rcx
jmp 0x1400adff1
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400adfef
xor edx, edx
mov rax, qword [rsp + 0x30]
div rsi
mov rdi, rax
jmp 0x1400adff1
xor edi, edi
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Release_void____ptr64]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ae600
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rcx
add rcx, 0x48
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Acquire_void____ptr64]
mov rcx, qword [rdi + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400ae67e
mov rax, qword [rdi + 0x20]
xor ebp, ebp
test rax, rax
je 0x1400ae658
lea edx, [rbp + 1]
mov rcx, rax
call fcn.14008e078
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x38], rbp
mov qword [rdi + 0x28], rbp
mov rcx, qword [rdi + 0x70]
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400ae67e
xor edx, edx
mov rax, qword [rsp + 0x30]
div rsi
mov rsi, rax
mov qword [rdi], rax
jmp 0x1400ae685
mov rsi, 0xffffffffffffffff
lea rcx, [rdi + 0x48]
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Release_void____ptr64]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b0e20
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea ecx, [rbp + 0x20]
call fcn.14008e03c
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400b0e84
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
mov qword [rax], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
shr r8, 1
mov rcx, rax
call fcn.14008fd10
jmp 0x1400b0e87
mov rbx, rbp
mov qword [r14], rbx
mov dword [rsp + 0x20], 1
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x1400b0ef9
sub rax, rcx
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b0eae
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400b0f18
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b0eca
mov rdx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rbx + 0x10]
sub rcx, rax
lea rdi, [rdx + rax*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi + 0x18]
cmp qword [rbx + 0x10], rax
jb 0x1400b0f12
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x1400b0ef5
mov rbx, qword [rbx]
mov word [rbx + rax*2], bp
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.1400058b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400ad990
lea rdx, [0x140102720]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400c38c0
Capabilities:
Read http header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rax - 0x18], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rax - 0x18], 1
mov dword [rax + 0x18], esi
mov qword [rax - 0x20], rsi
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400c393e
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c3938
mov rax, qword [rbx]
mov word [rax + rdx*2], si
jmp 0x1400c394c
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.14008fa20
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c3959
mov r9, qword [rbx]
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400c3a8f
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x1400c3997
mov rax, qword [rbx]
mov rcx, rax
jmp 0x1400c399d
mov rax, rbx
mov rcx, rbx
lea rdx, [r8 + r8]
add rax, rdx
cmp word [rcx], 0
jne 0x1400c3a1f
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400c39c2
cmp word [rdx], 0
jne 0x1400c39f0
add rdx, 2
cmp rdx, rax
jne 0x1400c39b3
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp r9, 8
jb 0x1400c39d2
mov rax, qword [rbx]
mov word [rax], si
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
je 0x1400c39f0
sub rax, rdx
lea r8, [rax + 2]
sar r8, 1
mov rcx, rbx
call fcn.14008fd10
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
jne 0x1400c3a8f
nop dword [rax]
mov rcx, rax
sub rax, 2
cmp word [rax], 0
je 0x1400c3a30
sub rdx, rcx
mov rax, r8
cmp r9, 8
mov r9, rcx
jb 0x1400c3a57
sub r9, qword [rbx]
add rdx, qword [rbx]
mov rcx, qword [rbx]
jmp 0x1400c3a60
sub r9, rbx
add rdx, rbx
mov rcx, rbx
sar r9, 1
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rcx + r9*2]
sub r8, rdx
mov qword [rbx + 0x10], r8
sub r8, r9
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c3ab0
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140133700]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.14005a4f0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400c3b51
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400c3b5d
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14008fa20
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400c3cba
cmp dword [rdi], 0x22
je 0x1400c3cc7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c3c0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3c0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c3c0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008e078
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400c38c0
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400c3c4d
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400c3c43
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.14008fd10
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c3c90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c3c8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008e078
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a3f90
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c7420
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400c7210
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c724a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c724f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c7298
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400e0840]
cmp byte [rcx + rax], 0
je 0x1400c7298
dec r8
sub rdx, 1
jne 0x1400c727e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004fb0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x1400137c0]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rcx, qword [0x140013730]
lea rdi, [0x140013730]
movzx r9d, al
cmp rcx, rdi
je 0x140005064
xor esi, esi
nop dword [rax]
mov r8, qword [rcx]
mov rdx, qword [rcx + 8]
cmp qword [r8 + 8], rcx
jne 0x140005085
cmp qword [rdx], rcx
jne 0x140005085
mov qword [rdx], r8
lea rbx, [rcx - 0xa8]
mov rax, rsi
mov qword [r8 + 8], rdx
xchg qword [rbx + 0x68], rax
test rax, rax
je 0x140005058
movzx edx, r9b
lea rcx, [0x1400137c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
xor edx, edx
mov dword [rbx + 0x30], 0xc0000120
mov rcx, rbx
mov qword [rbx + 0x38], rsi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [0x1400137c0]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
movzx r9d, al
mov rcx, qword [0x140013730]
cmp rcx, rdi
jne 0x140004ff0
movzx edx, r9b
lea rcx, [0x1400137c0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov ecx, 3
int 0x29
int3

Function at 0x1400059f0
Capabilities:
Create device object

Disassembly:
sub rsp, 0x48
lea rax, [0x1400136a0]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [0x140013220]
mov byte [rsp + 0x28], 0
xor edx, edx
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x140005a97
mov rax, qword [0x1400136a0]
lea rdx, [0x140013220]
lea rcx, [0x140013430]
mov qword [rsp + 0x40], rbx
and dword [rax + 0x30], 0xffffff7f
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x140005a77
mov rcx, qword [0x1400136a0]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
mov qword [0x1400136a0], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, qword [0x1400136a0]
mov rbx, qword [rsp + 0x40]
and dword [rax + 0x30], 0xffffff7f
mov rax, qword [0x1400136a0]
or dword [rax + 0x30], 0x10
xor eax, eax
add rsp, 0x48
ret
Function at 0x140005aa0
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
sub rsp, 0x60
xor ebp, ebp
mov rsi, rdx
cmp qword [0x140012068], rbp
mov rbx, rcx
mov dword [rax + 0x18], ebp
mov qword [rax - 0x38], rbp
mov qword [rax + 0x20], rbp
jne 0x140005afb
lea rdx, [0x14000f100]
lea rcx, [rax - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x140012068], rax
test rax, rax
jne 0x140005afb
mov eax, 0xc0000001
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140005c22
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov byte [rsp + 0x28], bpl
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov ebx, eax
test eax, eax
jns 0x140005b56
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r9 + 0x1b]
call qword [0x140012068]
mov ebx, eax
cmp eax, 0xc0000004
jne 0x140005bfd
mov edx, dword [rsp + 0x90]
xor ecx, ecx
mov r8d, 0x32544c46
mov qword [rsp + 0x80], rdi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140005bf5
mov r9d, dword [rsp + 0x90]
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov r8, rdi
mov edx, 0x1b
mov qword [rsp + 0x20], rax
call qword [0x140012068]
mov ebx, eax
test eax, eax
js 0x140005bea
cmp dword [rsp + 0x90], ebp
je 0x140005bea
mov qword [rsi], rdi
mov ebx, ebp
jmp 0x140005bf5
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140005c10
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140005c20
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret
Function at 0x140006320
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx + 0x18]
xor dil, dil
cmp byte [0x1400137e0], dil
mov r14, r8
mov rsi, rdx
mov rbx, rcx
je 0x140006477
test rbp, rbp
je 0x140006477
cmp dword [rdx + 0x10], 0x1c
jb 0x140006477
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov r8, qword [0x1400136d8]
xor edx, edx
mov r10, qword [rsi + 0x30]
movzx r11d, al
mov rax, r10
mov ecx, dword [r8]
div rcx
mov r9, qword [r8 + rdx*8 + 8]
test r9, r9
je case.default.0x1400063ce
nop
cmp qword [r9], r10
je 0x1400063b3
mov r9, qword [r9 + 8]
test r9, r9
jne 0x1400063a0
jmp case.default.0x1400063ce
mov eax, dword [rbp + 0x10]
dec eax
cmp eax, 5
ja case.default.0x1400063ce
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x64ac]
add rcx, rdx
jmp rcx
mov eax, dword [r9 + 0x190]
test al, 1
je case.default.0x1400063ce
mov dil, 1
jmp case.default.0x1400063ce
mov eax, dword [r9 + 0x190]
test al, 2
je case.default.0x1400063ce
mov dil, 1
jmp case.default.0x1400063ce
mov eax, dword [r9 + 0x190]
test al, 4
je case.default.0x1400063ce
mov dil, 1
jmp case.default.0x1400063ce
mov eax, dword [r9 + 0x190]
test al, 8
je case.default.0x1400063ce
mov dil, 1
jmp case.default.0x1400063ce
mov eax, dword [r9 + 0x190]
test al, 0x10
je case.default.0x1400063ce
mov dil, 1
jmp case.default.0x1400063ce
movzx eax, byte [r9 + 0x190]
mov edx, 1
and al, 0x20
movzx edi, dil
cmovne edi, edx
movzx edx, r11b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
test dil, dil
je 0x140006464
xor eax, eax
xor edx, edx
mov rcx, rbx
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x14000648e
inc byte [rbx + 0x43]
mov rdx, rbx
add qword [rbx + 0xb8], 0x48
mov rcx, r14
jmp 0x140006488
inc byte [rcx + 0x43]
mov rdx, rcx
add qword [rcx + 0xb8], 0x48
mov rcx, r8
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000b2a0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
xor esi, esi
mov r15, r8
cmp byte [0x1400137e0], sil
mov rbp, rdx
mov rbx, rcx
jne 0x14000b2e6
inc byte [rcx + 0x43]
mov rdx, rcx
add qword [rcx + 0xb8], 0x48
mov rcx, r8
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
jmp qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov qword [rsp + 0x40], rdi
lea rcx, [0x1400136c0]
mov qword [rsp + 0x48], r14
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov r8, qword [0x1400136d8]
xor edx, edx
mov r9, qword [rbp + 0x30]
movzx r14d, al
mov rax, r9
mov ecx, dword [r8]
div rcx
mov rcx, qword [r8 + rdx*8 + 8]
test rcx, rcx
je 0x14000b32f
cmp qword [rcx], r9
je 0x14000b353
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14000b321
movzx edx, r14b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp esi, 0x103
jne 0x14000b487
mov eax, esi
jmp 0x14000b49e
mov eax, dword [rcx + 0x38]
lea rdi, [rcx - 0x10]
test al, 2
je 0x14000b32f
cmp byte [rdi + 0xe9], sil
jne 0x14000b32f
mov eax, dword [rbp + 0xc]
test al, al
jns 0x14000b3bc
lea r8, [rdi + 0x100]
mov edx, esi
mov rax, qword [r8]
cmp rax, r8
je 0x14000b392
nop
add edx, dword [rax + 0xdc]
mov rax, qword [rax]
cmp rax, r8
jne 0x14000b380
test edx, edx
jne 0x14000b3bc
movzx edx, r14b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
xor edx, edx
mov qword [rbx + 0x38], rsi
mov rcx, rbx
mov dword [rbx + 0x30], esi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x14000b49e
cmp byte [0x1400137e0], sil
je 0x14000b459
cmp byte [rdi + 0x18d], sil
jne 0x14000b459
cmp byte [rdi + 0xe7], sil
je 0x14000b459
lea rcx, [rdi + 0x190]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
lea rcx, [rdi + 0x110]
mov r8, qword [rcx + 8]
lea rdx, [rbx + 0xa8]
mov qword [rdx], rcx
mov qword [rdx + 8], r8
cmp qword [r8], rcx
je 0x14000b411
mov ecx, 3
int 0x29
mov qword [r8], rdx
mov qword [rcx + 8], rdx
movzx edx, al
lea rcx, [rdi + 0x190]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rax, qword [rbx + 0xb8]
xor edx, edx
mov rcx, rdi
or byte [rax + 3], 1
lea rax, [0x140008ef0]
xchg qword [rbx + 0x68], rax
mov dword [rbx + 0x30], 0x103
call fcn.14000b0a0
mov esi, 0x103
jmp 0x14000b32f
movzx edx, r14b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
xor edx, edx
mov qword [rbx + 0x38], rsi
mov rcx, rbx
mov dword [rbx + 0x30], 0xc0000184
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000184
jmp 0x14000b49e
inc byte [rbx + 0x43]
mov rdx, rbx
add qword [rbx + 0xb8], 0x48
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x14000c6e0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
xor r13d, r13d
mov r14, r8
mov r12d, r13d
mov rsi, rdx
cmp byte [0x1400137e0], r12b
mov rdi, rcx
jne 0x14000c729
inc byte [rcx + 0x43]
mov rdx, rcx
add qword [rcx + 0xb8], 0x48
mov rcx, r8
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
jmp qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov qword [rsp + 0x50], rbx
lea rcx, [0x1400136c0]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rbx, qword [0x1400136d8]
xor edx, edx
mov r8, qword [rsi + 0x30]
movzx r15d, al
mov rax, r8
mov ecx, dword [rbx]
div rcx
mov rbx, qword [rbx + rdx*8 + 8]
test rbx, rbx
je 0x14000c776
cmp qword [rbx], r8
je 0x14000c795
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14000c768
movzx edx, r15b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp r12d, 0x103
jne 0x14000c7b6
mov eax, r12d
jmp 0x14000c7cd
lea rax, [rsi + 8]
test rax, rax
je 0x14000c7e9
mov eax, dword [rax + 4]
test al, 0x20
je 0x14000c7e9
movzx edx, r15b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
inc byte [rdi + 0x43]
mov rdx, rdi
add qword [rdi + 0xb8], 0x48
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, dword [rbx + 0x38]
test al, 2
je 0x14000c776
cmp byte [rbx + 0xd9], r12b
jne 0x14000c776
cmp byte [0x1400137e0], r12b
je 0x14000c8f4
cmp byte [rbx + 0x17c], r12b
jne 0x14000c8f4
lea rcx, [rbx + 0x180]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
lea rcx, [rbx + 0x138]
mov rdx, qword [rcx + 8]
lea rsi, [rdi + 0xa8]
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
cmp qword [rdx], rcx
je 0x14000c849
mov ecx, 3
int 0x29
mov qword [rdx], rsi
movzx edx, al
mov qword [rcx + 8], rsi
lea rcx, [rbx + 0x180]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rax, qword [rdi + 0xb8]
mov ecx, 3
mov r12d, 0x103
or byte [rax + 3], 1
mov qword [rdi + 0x38], r13
lea r13, [0x140008ef0]
xchg qword [rdi + 0x68], r13
mov dword [rdi + 0x30], 0x103
mov rdx, qword [rbx + 0x20]
call fcn.140004b30
test eax, eax
jns 0x14000c776
lea rcx, [rbx + 0x180]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
cmp qword [rdx + 8], rsi
jne 0x14000c8ed
cmp qword [rcx], rsi
jne 0x14000c8ed
mov qword [rcx], rdx
mov qword [rdx + 8], rcx
movzx edx, al
lea rcx, [rbx + 0x180]
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
xchg qword [rdi + 0x68], r13
mov dword [rdi + 0x30], 0
xor r12d, r12d
jmp 0x14000c776
mov ecx, 3
int 0x29
movzx edx, r15b
lea rcx, [0x1400136c0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
xor edx, edx
mov qword [rdi + 0x38], r13
mov rcx, rdi
mov dword [rdi + 0x30], 0xc0000184
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000184
jmp 0x14000c7cd