joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140074cb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140074cd4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140074d17
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140074d17
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140074e48
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140074d5a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140074d85
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x140074e4d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140074dfa
sub eax, 1
je 0x140074dfa
cmp eax, 2
jne 0x140074e48
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x140074e4d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x140074e2b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140074e48
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140074e4d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x140075050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140075084
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140075070
ret
Function at 0x140075710
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400757d9
cmp byte [rcx + 0x71], 0
je 0x1400757d9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400757cc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140075788
sub eax, 1
je 0x14007578c
cmp eax, 2
jne 0x1400757cc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1400757ba
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400757cc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x14007c0e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14007c1ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14007c1ac
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14007c1c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14007c19c
cmp byte [rax], 0x5c
jne 0x14007c196
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14007c196
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14007c182
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14007c193
test r8b, 0x10
jne 0x14007c196
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14007c196
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140078e30
test edi, edi
jne 0x14007c100
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140078e20
int3
Function at 0x1400873c0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
mov edi, 2
mov edx, edi
mov ecx, edi
lea r8d, [rdi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140087442
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movsxd rdx, eax
xorps xmm0, xmm0
lea rax, str.socket_failed:
mov r8, rbx
add rdx, rax
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
nop
inc r8
cmp byte [rdx + r8], al
jne 0x140087410
lea rcx, [rbp - 0x20]
call fcn.14004bfd0
mov r8b, 1
lea rdx, [rbp - 0x20]
mov ecx, recv
call fcn.14007e0c0
mov rax, 0xffffffffffffffff
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
lea r9, [rbp + 0x20]
mov dword [rbp + 0x20], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400874db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movsxd rdx, eax
xorps xmm0, xmm0
lea rax, str.setsockopt_failed:
mov r8, 0xffffffffffffffff
add rdx, rax
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
nop dword [rax]
inc r8
cmp byte [rdx + r8], al
jne 0x1400874a0
lea rcx, [rbp - 0x20]
call fcn.14004bfd0
mov r8b, 1
lea rdx, [rbp - 0x20]
mov ecx, recv
call fcn.14007e0c0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, 0xffffffffffffffff
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
lea r9, [rbp + 0x28]
mov dword [rbp + 0x28], 0x3e8
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1006
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [0x1400fd180]
mov word [rbp - 0x30], di
call fcn.1400c1e90
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rbp - 0x2e], ax
call qword [sym.imp.WS2_32.dll_htonl]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x30]
mov rcx, rbx
mov dword [rbp - 0x2c], eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14008757e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movsxd rdx, eax
xorps xmm0, xmm0
lea rax, str.bind_failed:
mov r8, 0xffffffffffffffff
add rdx, rax
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
nop dword [rax]
inc r8
cmp byte [rdx + r8], al
jne 0x140087570
jmp 0x1400874a9
mov rax, rbx
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
Function at 0x140087590
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
cmp qword [rdx + 0x18], 0xf
mov rax, rdx
jbe 0x1400875a1
mov rax, qword [rdx]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
xor r9d, r9d
mov qword [rsp + 0x20], r8
mov r8d, dword [rdx + 0x10]
mov rdx, rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x140087616
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movsxd rdx, eax
xorps xmm0, xmm0
lea rax, str.sendto_failed:
mov r8, 0xffffffffffffffff
add rdx, rax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x30], xmm0
inc r8
cmp byte [rdx + r8], al
jne 0x1400875f1
lea rcx, [rsp + 0x30]
call fcn.14004bfd0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov ecx, recv
call fcn.14007e0c0
add rsp, 0x58
ret
Function at 0x1400aa420
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [rcx]
lea rdi, [r11 + 0x18]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [r11 + 0x18], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [r11 + 0x1c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400aa4eb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400aa4f1
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400aa4c1
test ebx, ebx
je 0x1400aa511
jmp 0x1400aa4f8
cmp ebx, 0xffffffff
je 0x1400aa534
jmp 0x1400aa4eb
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x30]
call fcn.1400aa2b0
lea rdx, [0x1400f6cc8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400aa250
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_select_socket
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400a9f60
lea rdx, [0x1400f6b90]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400b7460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov edi, ecx
and edi, 7
je 0x1400b7493
cmp ecx, edi
jge 0x1400b7483
mov rcx, rbx
call fcn.1400b6c90
mov eax, dword [rbx + 0x14]
mov ecx, edi
shr eax, cl
sub dword [rbx + 0x10], edi
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor edi, edi
mov eax, ecx
test ecx, ecx
jle 0x1400b74cd
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r8d, cl
nop word [rax + rax]
shr ecx, 8
inc edi
mov byte [rdx], r8b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r8d, cl
test eax, eax
jg 0x1400b74b0
mov dword [rbx + 0x10], eax
test eax, eax
je 0x1400b74eb
mov r8d, 0x10a8
lea rdx, str.E:ReposDCRealisticlibsimgui_stb_image.h
lea rcx, str.a__num_bits__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, edi
cmp rcx, 4
jge 0x1400b751a
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400b7504
xor dl, dl
jmp 0x1400b750d
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400b74f8
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
je 0x1400b7570
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1400b75a8
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1400b75c2
mov rcx, rbx
call fcn.1400b6e30
test eax, eax
je 0x1400b7563
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6cf8
Capabilities:
Parse pe header

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

Function at 0x1400c7208
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 0x1400c7242
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c7247
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 0x1400c7290
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d0980]
cmp byte [rcx + rax], 0
je 0x1400c7290
dec r8
sub rdx, 1
jne 0x1400c7276
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x11b90
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x00025100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea r8d, [rdx + 0x3b]
lea rcx, [r11 - 0x67]
mov byte [r11 - 0x68], 0
call fcn.0001dc60
and dword [rsp + 0x38], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov edx, 0x20019
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x40
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
lea rcx, [0x0001e120]
mov rdx, rdi
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
mov rdx, rdi
test ebx, ebx
jns 0x11c3b
lea rcx, [0x0001e150]
mov r8d, ebx
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x11cf6
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x80]
lea rdx, [rsp + 0x70]
mov r8d, 1
mov dword [rsp + 0x20], 0x3c
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test eax, eax
jns 0x11c9b
lea rcx, [0x0001e190]
mov r8d, eax
mov rdx, rdi
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x11c34
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [rsp + 0x84], 4
je 0x11cd3
cmp dword [rsp + 0x84], 5
je 0x11cd3
mov r8d, dword [rsi]
lea rcx, [0x0001e200]
mov rdx, rdi
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000024
jmp 0x11cf6
mov eax, dword [rsp + 0x88]
lea rcx, [0x0001e1d0]
mov rdx, rdi
mov r8d, dword [rsp + rax + 0x80]
mov dword [rsi], r8d
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.0001da70
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x11d18
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rdx
mov edi, 0x20
lea rcx, [rsp + 0x38]
mov r8, rdi
xor edx, edx
call fcn.0001dc60
and dword [rsp + 0x78], 0
call fcn.00015554
mov rax, qword [rbx + 0xb8]
lea r8d, [rdi - 0x1f]
or byte [rax + 3], r8b
mov rcx, qword [rbx + 0xb8]
mov dword [rbx + 0x30], 0x103
mov eax, dword [rcx + 0x10]
mov edx, dword [rcx + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x30], edx
and edx, 3
mov dword [rsp + 0x50], eax
jne 0x11d85
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x11dc1
cmp edx, r8d
je 0x11d8f
cmp edx, 2
jne 0x11dc6
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x11dc6
test byte [rcx + 0xa], 5
je 0x11dad
mov rax, qword [rcx + 0x18]
jmp 0x11dc1
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], edi
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.0001d718
mov edi, eax
test eax, eax
jne 0x11de5
mov ecx, dword [rsp + 0x78]
mov qword [rbx + 0x38], rcx
jmp 0x11dea
and qword [rbx + 0x38], 0
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rbx, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x60
pop rdi
ret

Function at 0x12e58
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x70
cmp byte [0x000266c2], 0
mov r12b, r8b
mov r8, rcx
je 0x12f2c
movzx r9d, word [rdx + 2]
movzx edx, word [rdx]
movzx r10d, byte [r8 + 0x13]
movzx ebx, byte [r8 + 0x11]
movzx edi, byte [r8 + 0x10]
movzx esi, byte [r8 + 0xf]
movzx ebp, byte [r8 + 0xe]
mov word [r11 + 0x20], r9w
mov al, byte [r11 + 0x21]
mov word [r11 + 0x20], dx
mov byte [rsp + 0x60], al
mov al, byte [r11 + 0x21]
movzx r11d, byte [r8 + 0x12]
mov byte [rsp + 0xa9], dl
mov byte [rsp + 0x61], r9b
movzx r9d, byte [r8 + 0xd]
movzx r8d, byte [r8 + 0xc]
mov byte [rsp + 0xa8], al
movzx eax, word [rsp + 0x60]
movzx ecx, word [rsp + 0xa8]
test r12b, r12b
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
lea r13, [0x0001e450]
lea rdx, [0x0001e460]
lea rcx, [0x0001e470]
cmovne rdx, r13
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x12f4c
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x70
cmp byte [0x000266c2], 0
mov r12b, r8b
mov r8, rcx
je 0x13020
movzx r9d, word [rdx + 2]
movzx edx, word [rdx]
movzx r10d, byte [r8 + 0x13]
movzx ebx, byte [r8 + 0x11]
movzx edi, byte [r8 + 0x10]
movzx esi, byte [r8 + 0xf]
movzx ebp, byte [r8 + 0xe]
mov word [r11 + 0x20], r9w
mov al, byte [r11 + 0x21]
mov word [r11 + 0x20], dx
mov byte [rsp + 0x60], al
mov al, byte [r11 + 0x21]
movzx r11d, byte [r8 + 0x12]
mov byte [rsp + 0xa9], dl
mov byte [rsp + 0x61], r9b
movzx r9d, byte [r8 + 0xd]
movzx r8d, byte [r8 + 0xc]
mov byte [rsp + 0xa8], al
movzx eax, word [rsp + 0x60]
movzx ecx, word [rsp + 0xa8]
test r12b, r12b
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
lea r13, [0x0001e450]
lea rdx, [0x0001e460]
lea rcx, [0x0001e4c0]
cmovne rdx, r13
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x13040
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x60
cmp byte [0x000266c2], 0
mov r9, rdx
mov r12b, r8b
mov rdx, rcx
je 0x130d9
movzx r11d, byte [rcx + 0x13]
movzx ebx, byte [rdx + 0x11]
movzx edi, byte [rdx + 0x10]
movzx esi, byte [rdx + 0xf]
movzx ebp, byte [rdx + 0xe]
movzx eax, byte [r9 + 1]
movzx r10d, byte [r9]
movzx ecx, byte [rcx + 0x12]
movzx r8d, byte [rdx + 0xc]
movzx r9d, byte [rdx + 0xd]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], ebx
test r12b, r12b
mov dword [rsp + 0x30], edi
lea r13, [0x0001e450]
lea rdx, [0x0001e460]
lea rcx, [0x0001e510]
mov dword [rsp + 0x28], esi
cmovne rdx, r13
mov dword [rsp + 0x20], ebp
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14698
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x000266c2], 0
mov rdi, rcx
je 0x146c0
mov edx, dword [0x000251c0]
lea rcx, [0x0001eab0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [0x000251c0], 0x2710
jb 0x146ff
mov rdx, qword [0x000251c8]
test rdx, rdx
je 0x146f0
mov rbx, qword [rdx + 8]
lea rcx, [0x00025200]
call fcn.000155d0
mov rdx, rbx
test rbx, rbx
jne 0x146d8
and dword [0x000251c0], 0
and qword [0x000251c8], 0
lea rcx, [0x00025200]
call fcn.0001559c
mov rbx, rax
test rax, rax
je 0x14770
mov ecx, dword [rdi + 4]
call fcn.00019098
xor edx, edx
mov rcx, rbx
movzx r11d, al
lea r8d, [rdx + 0x30]
mov dword [rdi], r11d
call fcn.0001dc60
lea rcx, [rbx + 0x10]
mov r8d, 0x20
mov rdx, rdi
call fcn.0001dd60
and qword [rbx], 0
mov rax, qword [0x000251c8]
mov qword [rbx + 8], rax
mov rax, qword [0x000251c8]
test rax, rax
je 0x14760
mov qword [rax], rbx
inc dword [0x000251c0]
mov qword [0x000251c8], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x148dc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov sil, r8b
mov rbx, rcx
mov edi, edx
lea rcx, [rax - 0x24]
lea r8d, [rbp + 0x1c]
xor edx, edx
mov dword [rax - 0x28], ebp
call fcn.0001dc60
cmp byte [0x000266c2], bpl
je 0x14921
lea rcx, [0x0001eaf0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, word [rbx + 0x18]
movzx ecx, word [rbx + 0x1a]
mov word [rsp + 0x2a], ax
movzx eax, word [rbx + 0x1e]
mov word [rsp + 0x2e], cx
mov word [rsp + 0x28], ax
cmp cx, bp
je 0x1494f
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x24], eax
mov eax, 2
jmp 0x1495b
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x24], eax
mov eax, 1
mov word [rsp + 0x2c], ax
lea ecx, [rdi + 0x2a]
cmp sil, bpl
je 0x1496f
mov qword [rsp + 0x30], rcx
jmp 0x14974
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
call fcn.00014a58
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1499c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov edi, r8d
mov rbx, rdx
lea rcx, [rax - 0x24]
lea r8d, [rbp + 0x1c]
xor edx, edx
mov sil, r9b
mov dword [rax - 0x28], ebp
call fcn.0001dc60
cmp byte [0x000266c2], bpl
je 0x149e2
lea rcx, [0x0001eb10]
call sub.ntoskrnl.exe_DbgPrint
movzx ecx, word [rbx + 2]
movzx eax, word [rbx]
mov word [rsp + 0x28], bp
mov word [rsp + 0x2e], cx
mov word [rsp + 0x2a], ax
cmp cx, bp
je 0x14a0b
mov eax, dword [rbx + 8]
mov dword [rsp + 0x24], eax
mov eax, 2
jmp 0x14a17
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x24], eax
mov eax, 1
mov word [rsp + 0x2c], ax
lea ecx, [rdi + 0x22]
cmp sil, bpl
je 0x14a2b
mov qword [rsp + 0x30], rcx
jmp 0x14a30
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
call fcn.00014a58
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret