joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bb72
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.14001b8c5
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.14001b719
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14001bbdf
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x1400284f0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001bd23
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14001bc7c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bc37
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a33c
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400284f0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14001bd23
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bcb6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001bd23
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a33c
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400284f0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140026f80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140026a95
call fcn.1400269f0
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x140026a9a
call fcn.1400268d0
mov rcx, qword [rbx - 0x38]
call fcn.140025050
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400269f0
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov r13, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov r12, qword [rbx - 0x38]
call fcn.140025070
mov rcx, rax
jmp 0x140026ea0
call fcn.1400269f0
call fcn.140026c50
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x140026f27
mov rbx, qword [rbx]
lea r14, [rsp + 0x20]
mov rdx, r13
xor ecx, ecx
mov r8, r14
call fcn.140024bd0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r14
call fcn.140024cc0
test al, al
jne 0x140026f45
lea r13, [0x14002dce0]
mov r9, rsi
xor r8d, r8d
mov rcx, r14
mov rdx, r13
call fcn.140024cc0
test al, al
je 0x140026f4a
mov ecx, 8
call fcn.140026980
lea r8, [0x140026460]
mov rdx, r13
mov rcx, rax
mov rax, qword [0x14002d1a0]
add rax, 0x10
mov qword [rcx], rax
call fcn.140026d10
add rbx, 0x90
jmp 0x140026eb6
call fcn.140026cc0
mov rcx, r12
call fcn.140025050
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.1400269f0
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140026ffc
call fcn.1400269f0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sub.msvcrt.dll_fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.140026b20
call sub.msvcrt.dll_abort
mov rcx, r13
call sub.msvcrt.dll_free
call fcn.140026cc0
call fcn.1400269f0
call fcn.140026b20
jmp 0x140026fea
Function at 0x1400019bb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000a008]
jne 0x14000161a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001616
repz ret
ror rcx, 0x10
jmp 0x140001914
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000afa0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000b098]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001999
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000afa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400019bb
mov rax, qword [rsp + 0x88]
mov qword [0x14000b098], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000b038], rax
mov rax, qword [0x14000b098]
mov qword [0x14000af10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000b020], rax
mov dword [0x14000af00], 0xc0000409
mov dword [0x14000af04], 1
mov rax, qword [0x14000a008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000a010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000af98], eax
mov ecx, 1
call fcn.14000336c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007250]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000af98], 0
jne 0x140001a42
mov ecx, 1
call fcn.14000336c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140001f88
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001df8
Function at 0x140004028
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002f14
xor ebx, ebx
cmp qword [0x14000be98], rbx
mov rdi, rax
jne 0x14000413b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004212
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004212
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000be98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000bea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000bea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000beb8], rax
test rax, rax
je 0x140004132
lea rdx, [0x140007e50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000beb0], rax
jmp 0x140004142
mov rax, qword [0x14000beb0]
jmp 0x140004149
mov rax, qword [0x14000beb0]
mov r11, qword [0x14000beb8]
cmp rax, rdi
je 0x1400041b0
cmp r11, rdi
je 0x1400041b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000beb8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400041b0
test rax, rax
je 0x1400041b0
call rsi
test rax, rax
je 0x1400041aa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400041aa
test byte [rsp + 0x40], 1
jne 0x1400041b0
bts ebp, 0x15
jmp 0x1400041f0
mov rcx, qword [0x14000bea0]
cmp rcx, rdi
je 0x1400041f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400041f0
call rax
mov rbx, rax
test rax, rax
je 0x1400041f0
mov rcx, qword [0x14000bea8]
cmp rcx, rdi
je 0x1400041f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400041f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000be98]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004212
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004214
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001600
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x141fa5fa2
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rbp + rbx*8 + 0x20]
push 0xffffffffda37d921
mov qword [rsp], rax
dec ebx
push 0xffffffffae81a51e
lea rsp, [rsp + 8]
jne 0x141fc6c7f
mov eax, 0xf513083f
and ax, ax
mov rax, qword [rbp + riz]
sbb rsp, 0x20
push 0x568cf5bf
lea rsp, [rsp + 8]
call rax
mov ebx, 0xeb1f0e0e
call fcn.141fa769f
mov word [r8], bx
lea rsp, [rsp + 0x20]
jmp fcn.141fa3405
mov r8d, 0x5400bb39
mov eax, 0x5400bb39
mov r8, rax
call fcn.141fbcd80
popfq
imul ebx, dword [rcx], 0xffffffab
or ebx, dword [rbx + 0x1e]
fdiv qword [rcx + 0x2745170a]
cmp dl, byte [rax]
xor al, byte [rdi + rbp*4 - 0x60ed538c]
jae 0x141fa1a83
test al, 0xce
jp 0x141fa1aee
invalid
retf 0xcb28
jmp 0x141fa0ee4
cmp ebx, 3
push 0x4192b8a2
lea rsp, [rsp + 0x10]
jne 0x141fb35b9
jmp 0x141fa1a82
cmp ebx, 4
jne 0x141fa5f6d
mov r9, rax
push 0xfffffffff93de78e
lea rsp, [rsp + 8]
jmp 0x141fa0ef2
cmp ebx, 1
call fcn.141fda4ba
mov edx, 0xc0b04c2a
mov r10d, edx
sub rdi, 1
or rdx, rdx
movzx edx, byte [rdi]
xor dl, r9b
sal r10w, 0x8f
ror dl, 1
rol r10, 0x85
adc r10w, r10w
dec dl
not r10b
sub r10, 0xffffffffc58546bf
not dl
rol dl, 1
neg r10d
not dl
xor r10b, 0x92
ror r10d, 0x23
inc r10d
neg dl
or r10b, 0xa8
or r10w, r10w
xor r9b, dl
bswap r10d
sar r10w, 0x66
adc rdx, rsp
mov r10d, dword [rdx]
call fcn.141fd19f4
push 0x5182d093
adc r10, 4
push 0xffffffffaebc0180
mov dword [r10], eax
lea rsp, [rsp + 0x10]
jmp fcn.141fcb2b9
mov eax, 0x8fae9f31
and eax, eax
mov rax, qword [rbp + rbx*8]
jnp 0x141fc973a
js 0x141fba958
Function at 0x111f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
and qword [rax + 0x20], 0
and qword [rax - 0x40], 0
and qword [rax - 0x28], 0
and qword [rax - 0x20], 0
mov rbp, r8
mov qword [rax - 0x38], rcx
mov rsi, rdx
lea r8, [rax - 0x48]
lea rcx, [rax + 0x20]
mov edx, 0x20019
mov dword [rax - 0x48], 0x30
mov dword [rax - 0x30], 0x40
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
xor ecx, ecx
xor edi, edi
xor ebx, ebx
mov dword [rsp + 0x80], ecx
test eax, eax
js 0x11314
lea rax, [rsp + 0x80]
mov r9, rbx
mov r8d, 2
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x98]
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0xc0000023
jne 0x112b6
test rbx, rbx
je 0x11298
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x80]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov ecx, dword [rsp + 0x80]
mov rbx, rax
jmp 0x11256
test eax, eax
js 0x112f6
cmp dword [rsp + 0x80], edi
je 0x112f6
movzx eax, word [rbx + 8]
mov ecx, 1
mov rdx, rax
mov word [rbp + 2], ax
mov word [rbp], ax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
lea rdx, [rbx + 0xc]
mov qword [rbp + 8], rax
mov r8d, dword [rbx + 8]
mov rcx, rax
call fcn.00020330
mov edi, 1
test rbx, rbx
je 0x11306
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1132c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebx, ebx
mov rsi, r8
mov qword [rax - 0x38], rcx
mov rbp, rdx
mov edi, 0xf003f
lea r8, [rax - 0x48]
lea rcx, [rax + 0x20]
mov edx, edi
mov qword [rax + 0x20], rbx
mov dword [rax - 0x48], 0x30
mov qword [rax - 0x40], rbx
mov dword [rax - 0x30], 0x40
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jge 0x113bb
lea rax, [rsp + 0xa0]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov edx, edi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0xa0], ebx
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, ebx
mov edi, eax
jl 0x11404
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsi + 8]
movzx r11d, word [rsi]
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xb8]
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0xb8]
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp edi, ebx
setge bl
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x123b0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbx, qword [rcx + 0x80]
lea rax, [0x00024680]
lea rdi, [rcx + 0x70]
mov qword [rcx], rax
mov rsi, rcx
cmp rbx, qword [rdi + 0x10]
jne 0x12482
cmp rdi, rdi
jne 0x12482
cmp qword [rdi + 0x20], 0
je 0x12487
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.00015df8
and qword [rdi + 8], 0
and qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rdi
mov qword [rdi + 0x18], rdi
jmp 0x12487
mov rax, qword [rbx + 0x18]
mov rcx, rbx
mov rdx, rbx
test rax, rax
je 0x1243b
mov rbx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1242d
jmp 0x1245d
mov rax, qword [rbx + 8]
cmp rbx, qword [rax + 0x18]
jne 0x12452
mov rdx, rax
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x18]
je 0x12445
cmp qword [rdx + 0x18], rax
mov rbx, rdx
cmovne rbx, rax
lea r9, [rdi + 0x18]
lea r8, [rdi + 0x10]
lea rdx, [rdi + 8]
call fcn.0001ee6c
test rax, rax
je 0x1247e
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
dec qword [rdi + 0x20]
cmp rbx, rdi
jne 0x1241e
mov rbx, qword [rsi + 0x58]
cmp rbx, qword [rsi + 0x60]
je 0x124ce
lea rbp, [rbx + 8]
mov r8, qword [rsi + 0x60]
mov r12, qword [rbx]
cmp rbp, r8
je 0x124b1
sub r8, rbp
je 0x124b1
mov rdx, rbp
mov rcx, rbx
call fcn.00020330
add qword [rsi + 0x60], 0xfffffffffffffff8
test r12, r12
je 0x124c8
mov edx, 1
mov rcx, r12
call fcn.00014cbc
cmp rbx, qword [rsi + 0x60]
jne 0x12495
mov rcx, qword [rsi + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDetachDevice]
mov rcx, qword [rsi + 0x50]
call fcn.0001a418
lea rcx, [rsi + 0x130]
call qword [sym.imp.ntoskrnl.exe_ExDeleteResourceLite]
lea rax, [0x00024888]
mov qword [rsi + 0xa8], rax
jmp 0x12515
and qword [rax + 0x38], 0
xor edx, edx
mov rcx, rax
mov dword [rax + 0x30], 0xc0000120
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsi + 0xe8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoCsqRemoveNextIrp]
test rax, rax
jne 0x124fe
lea rax, [0x00024d88]
mov qword [rsi + 0xa8], rax
cmp qword [rdi + 0x20], 0
je 0x1255c
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.00015df8
and qword [rdi + 8], 0
and qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rdi
mov qword [rdi + 0x18], rdi
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1256d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1257c
mov rax, qword [rcx]
call qword [rax + 8]
and qword [rsi + 0x50], 0
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.0001a2dc
Function at 0x14e5c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [rdx + 0xb8]
mov rbx, rdx
xor edx, edx
cmp dword [r8 + 0x18], 0x87342000
je 0x14e86
mov edi, 0xc0000010
mov dword [rbx + 0x30], edi
jmp 0x14ece
mov rdi, qword [rbx + 0x18]
mov r9d, 1
cmp word [rdi], r9w
jne 0x14ec0
cmp word [rdi + 2], 2
jne 0x14ec0
mov r8, rdi
mov rdx, rbx
call fcn.00014f4c
xor edx, edx
cmp eax, edx
je 0x14eb1
mov dword [rdi + 4], eax
mov dword [rbx + 0x30], edx
mov qword [rbx + 0x38], 0x54
mov edi, edx
jmp 0x14ed2
mov rax, qword [rdi + 0x18]
cmp rax, rdx
jne 0x14ee1
mov dword [rbx + 0x30], edx
mov edi, edx
mov qword [rbx + 0x38], rdx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x14f3a
mov rax, qword [rax + 0x40]
cmp rax, rdx
je 0x14ef7
cmp dword [rax], 0x5465616e
jne 0x14ef7
mov eax, dword [rax + 4]
jmp 0x14efa
or eax, 0xffffffff
cmp eax, r9d
jne 0x14f28
movzx eax, word [rdi + 2]
dec eax
cmp eax, r9d
ja 0x14f28
add byte [rbx + 0x43], r9b
lea rax, [r8 + 0x48]
mov rdx, rbx
mov qword [rbx + 0xb8], rax
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x14f3a
mov rcx, rbx
mov dword [rbx + 0x30], edx
mov qword [rbx + 0x38], rdx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x17848
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
mov rax, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x1793e
test rbx, rbx
je 0x1793e
and qword [r11 - 0x30], 0
and qword [r11 + 0x18], 0
mov qword [r8 + 0x10], rbx
mov r8, qword [sym.imp.ntoskrnl.exe_ExEventObjectType]
lea rcx, [r11 + 0x18]
mov r9b, 1
mov r8, qword [r8]
mov qword [r11 - 0x38], rcx
mov rcx, qword [rax + 8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
and dword [rdi + 0x30], 0
xor edx, edx
mov rcx, rdi
mov qword [rdi + 0x38], 0x54
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x70]
mov r11, qword [rsi + 0x80]
test rcx, rcx
je 0x17937
test r11, r11
je 0x1792c
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x40]
lea ecx, [r9 + 2]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x40], r11
mov byte [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeWaitForMultipleObjects]
test eax, eax
je 0x17927
cmp eax, 1
jne 0x17927
mov rcx, qword [rsp + 0x70]
mov ebx, dword [rbx]
test rcx, rcx
je 0x17923
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x1794b
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x17937
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000010
jmp 0x1794b
xor r8d, r8d
call fcn.0001bddc
mov eax, 0xc000009a
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x182d4
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
lea rax, [0x00024af0]
mov r12, rcx
mov qword [rcx], rax
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [r12 + 0x1f8]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rbp, [r12 + 0x1c8]
jmp 0x18363
mov rsi, qword [rbx + 0x28]
lea rcx, [rsi + 0x140]
call qword [sym.imp.ntoskrnl.exe_FsRtlUninitializeFileLock]
mov r11, qword [rsi]
mov rcx, rsi
call qword [r11 + 8]
lea r9, [rbp + 0x18]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.0001ee6c
test rax, rax
je 0x1835f
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
dec qword [rbp + 0x20]
mov rbx, qword [r12 + 0x1d8]
cmp rbx, rbp
jne 0x18320
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [r12 + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rcx, [r12 + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_ExDeleteResourceLite]
cmp qword [rbp + 0x20], 0
je 0x183bd
mov rdx, qword [rbp + 8]
mov rcx, rbp
call fcn.00015df8
and qword [rbp + 8], 0
and qword [rbp + 0x20], 0
mov qword [rbp + 0x10], rbp
mov qword [rbp + 0x18], rbp
mov rcx, qword [r12 + 0x198]
test rcx, rcx
je 0x183d2
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rax, [0x00024888]
mov qword [r12 + 0x108], rax
jmp 0x183fa
and qword [rax + 0x38], 0
xor edx, edx
mov rcx, rax
mov dword [rax + 0x30], 0xc0000120
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [r12 + 0x148]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoCsqRemoveNextIrp]
test rax, rax
jne 0x183e3
lea rax, [0x00024d88]
mov rcx, r12
mov qword [r12 + 0x108], rax
call fcn.0001cb9c
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, r12
add rsp, 0x20
pop r12
ret
Function at 0x197e0
Capabilities:
Attach user process memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x90
mov rdx, qword [rcx + 0x50]
mov rbx, rcx
mov ecx, dword [rdx + 0x1a8]
test ecx, ecx
je 0x199b9
mov eax, ecx
shr eax, 0xc
test al, 1
jne 0x19838
mov eax, ecx
shr eax, 8
test al, 1
jne 0x19838
shr ecx, 0xb
test cl, 1
jne 0x19838
test byte [rdx + 0x1a8], 1
je 0x199b9
lea rcx, [rdx + 0x1c8]
xor edx, edx
call fcn.0001be7c
mov rsi, rax
test rax, rax
je 0x199b9
mov rdi, qword [rax + 0x18]
and dword [rsp + 0x88], 0
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x58]
call fcn.00020a10
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_IoGetRequestorProcess]
test rax, rax
je 0x19895
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x88], 1
mov rax, qword [rbx + 0x50]
mov r14d, 0x10
mov rcx, qword [rax + 0x1c0]
mov qword [rdi + 0x20], rcx
mov rax, qword [rbx + 0x50]
test byte [rax + 0x1a8], 1
je 0x198c0
lea eax, [r14 - 2]
mov word [rdi], ax
jmp 0x19932
xor edx, edx
lea rcx, [rdi + 0x28]
mov word [rdi], r14w
lea r8d, [rdx + 0x2c]
call fcn.00020a10
mov r11, qword [rbx + 0x50]
mov eax, dword [r11 + 0x1a8]
shr eax, 0xc
test al, 1
je 0x198f2
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov dword [rdi + 0x28], eax
mov rax, qword [rbx + 0x50]
mov ecx, dword [rax + 0x1a8]
shr ecx, 0xb
test cl, 1
je 0x19912
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov qword [rdi + 0x3c], rax
mov rax, qword [rbx + 0x50]
mov ecx, dword [rax + 0x1a8]
shr ecx, 8
test cl, 1
je 0x19932
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov qword [rdi + 0x44], rax
and dword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x30]
mov edx, 0x12
mov byte [rsp + 0x50], 0
call fcn.00017964
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
and dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
mov dl, r8b
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rcx, qword [rbx + 0x50]
mov r8, rdi
add rcx, 0x1c8
mov r9, rax
mov rdx, rsi
mov qword [rsp + 0x48], rax
call fcn.00017848
lea rcx, [rsp + 0x30]
call fcn.00017a98
cmp dword [rsp + 0x88], 0
je 0x199b9
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret