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

Disassembly:
cld
pop r11
jmp 0x14005a16d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005a17d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005a165
lea eax, [rcx + 1]
jmp 0x14005a18b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005a19e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005a184
sub eax, 3
jb 0x14005a1be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005a20d
sar eax, 1
movsxd rbp, eax
jb 0x14005a1f4
jmp 0x14005a1cc
add ebx, ebx
jne 0x14005a1ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005a1f4
inc ecx
add ebx, ebx
jne 0x14005a1da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005a1f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005a1ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005a1dc
add ecx, 2
jmp 0x14005a1f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005a122
jmp 0x14005a16d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005a259
cmp rsi, rcx
jae 0x14005a261
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005a240
cmp al, 0x8f
ja 0x14005a240
cmp byte [rsi - 2], 0xf
je 0x14005a246
sub al, 0xe8
cmp al, 1
ja 0x14005a22a
cmp rsi, rcx
jae 0x14005a261
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005a230
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005a261
lodsb al, byte [rsi]
jmp 0x14005a240
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x58000]
mov eax, dword [rdi]
or eax, eax
je 0x14005a2ca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7f8e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005a26e
jns 0x14005a2a3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14005a2ad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005a2c4
mov qword [rbx], rax
add rbx, 8
jmp 0x14005a28e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005a322
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x12a30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov edx, 0x58
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x60]
call fcn.00015d80
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x000239c0]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x68]
lea rcx, [0x000239e0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
lea rax, [0x00012a10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [0x000128e0]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
add rsp, 0x58
ret
Function at 0x15c70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
shr rax, 0x2f
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 1
test rax, rax
je 0x15ca9
cmp qword [rsp + 0x20], 0x1ffff
je 0x15ca7
xor al, al
jmp 0x15d6a
jmp 0x15cb8
cmp qword [rsp + 0x20], 0
je 0x15cb8
xor al, al
jmp 0x15d6a
cmp dword [0x000322bc], 0
je 0x15d0e
mov byte [rsp + 0x28], 0
call fcn.00012580
call fcn.000187c0
mov r11, qword [rsp + 0x60]
movzx eax, byte [r11]
mov byte [rsp + 0x28], al
call fcn.00018800
call fcn.00018840
mov qword [rsp + 0x30], rax
call fcn.00012570
mov rdx, qword [rsp + 0x30]
lea rcx, [0x00024700]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x30], 0
je 0x15d0e
xor al, al
jmp 0x15d6a
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x60], rax
jae 0x15d2f
mov al, 1
jmp 0x15d6a
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x15d5a
mov dword [rsp + 0x48], 1
jmp 0x15d62
mov dword [rsp + 0x48], 0
mov al, byte [rsp + 0x48]
jmp 0x15d6a
add rsp, 0x58
ret
Function at 0x15dd0
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 0xc0000001
cmp qword [rsp + 0x20], 0
jne 0x15e26
mov ecx, dword [rsp + 0xc0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x15e26
xor al, al
jmp 0x16054
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x60], rax
lea rdi, [rsp + 0x28]
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, qword [rsp + 0xd0]
call fcn.00015c70
movzx eax, al
test eax, eax
je 0x16008
mov ecx, dword [rsp + 0xd8]
mov rax, qword [rsp + 0xd0]
lea rcx, [rax + rcx - 1]
call fcn.00015c70
movzx eax, al
test eax, eax
je 0x16008
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x78], rax
cmp dword [0x000322bc], 0
jne 0x15ec0
cmp dword [0x00033010], 0
je 0x15f07
call fcn.00012580
cmp dword [0x000322bc], 0
je 0x15ed3
call fcn.000187c0
cmp dword [0x00033010], 0
je 0x15f07
lea rcx, [0x00024730]
call sub.ntoskrnl.exe_DbgPrint
call fcn.000124f0
mov rcx, rax
and rcx, 0xfffffffffffeffff
call fcn.000124d0
mov dword [rsp + 0x80], 1
cmp dword [0x000322bc], 0
jne 0x15f21
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x70], rax
jae 0x15f3e
mov ecx, dword [rsp + 0xd8]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x58], 0
jmp 0x15f78
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.00022810
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x68], eax
je 0x15f70
mov dword [rsp + 0x58], 0xc0000001
jmp 0x15f78
mov dword [rsp + 0x58], 0
cmp dword [0x000322bc], 0
jne 0x15f8b
cmp dword [rsp + 0x80], 0
je 0x16008
mov qword [rsp + 0x88], 0
cmp dword [rsp + 0x80], 0
je 0x15fc1
call fcn.000124f0
mov rcx, rax
or rcx, 0x10000
call fcn.000124d0
lea rcx, [0x00024750]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [0x000322bc], 0
je 0x15fdc
call fcn.00018840
mov qword [rsp + 0x88], rax
call fcn.00018800
call fcn.00012570
mov rdx, qword [rsp + 0x88]
lea rcx, [0x00024760]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x88], 0
je 0x16008
mov dword [rsp + 0x58], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x16018
cmp qword [rsp + 0xc8], 0
jne 0x1602e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [rsp + 0x58], 0
jl 0x16042
mov dword [rsp + 0x90], 1
jmp 0x1604d
mov dword [rsp + 0x90], 0
mov al, byte [rsp + 0x90]
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x16070
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xc0000001
cmp qword [rsp + 0x88], 0
jne 0x160c6
mov ecx, dword [rsp + 0x80]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x160c6
xor al, al
jmp 0x1623a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, qword [rsp + 0x90]
call fcn.00015c70
movzx eax, al
test eax, eax
je 0x161f7
mov ecx, dword [rsp + 0x98]
mov rax, qword [rsp + 0x90]
lea rcx, [rax + rcx - 1]
call fcn.00015c70
movzx eax, al
test eax, eax
je 0x161f7
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
cmp dword [0x000322bc], 0
je 0x16148
call fcn.00012580
call fcn.000187c0
cmp dword [0x000322bc], 0
jne 0x16162
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x48], rax
jae 0x1617f
mov ecx, dword [rsp + 0x98]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
jmp 0x161b9
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00022810
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x38], eax
je 0x161b1
mov dword [rsp + 0x28], 0xc0000001
jmp 0x161b9
mov dword [rsp + 0x28], 0
cmp dword [0x000322bc], 0
je 0x161f7
call fcn.00018840
mov qword [rsp + 0x50], rax
call fcn.00018800
call fcn.00012570
mov rdx, qword [rsp + 0x50]
lea rcx, [0x00024760]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x50], 0
je 0x161f7
mov dword [rsp + 0x28], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x16207
cmp qword [rsp + 0x88], 0
jne 0x1621d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [rsp + 0x28], 0
jl 0x1622e
mov dword [rsp + 0x58], 1
jmp 0x16236
mov dword [rsp + 0x58], 0
mov al, byte [rsp + 0x58]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x16250
Capabilities:
Map section object
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x00029100]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rdi, [rsp + 0x68]
lea rsi, [0x00023c20]
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xd0], 0xc0000001
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x130]
lea rcx, [0x00024770]
call sub.ntoskrnl.exe_DbgPrint
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xb0], 0x40
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
lea r8, [rsp + 0x98]
mov edx, 0xf001f
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
jne 0x16478
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xe0], 0x2000
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0xd8], 0
mov rdx, qword [rsp + 0xe8]
lea rcx, [0x00024790]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xd8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
jne 0x16457
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x130]
sub rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xd8]
add rsi, rax
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0xf8]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0xd8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
jmp 0x1646a
mov edx, dword [rsp + 0xd0]
lea rcx, [0x000247c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x16487
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.00022fb0
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x164f0
Capabilities:
Check os version
Print debug messages

Disassembly:
sub rsp, 0x178
mov rax, qword [0x00029100]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [0x0002d4b0], 0
jne 0x165e4
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
je 0x16541
lea rcx, [0x00024810]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x165eb
cmp dword [rsp + 0x34], 0xa
jb 0x165d3
cmp dword [rsp + 0x3c], 0x3839
jb 0x165d3
call fcn.00012510
and rax, 0xfffffffffffff000
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_MmGetVirtualForPhysical]
mov qword [rsp + 0x158], rax
movabs rcx, 0xffffff8000000000
mov rax, qword [rsp + 0x158]
and rax, rcx
mov qword [0x0002d4b0], rax
movabs rcx, 0x7ffffffff8
mov rax, qword [0x0002d4b0]
add rax, rcx
mov qword [0x00031d40], rax
movabs rcx, 0x7b7ffffff8
mov rax, qword [0x0002d4b0]
add rax, rcx
mov qword [0x00031d50], rax
jmp 0x165e4
movabs rax, 0xfffff68000000000
mov qword [0x0002d4b0], rax
mov rax, qword [0x0002d4b0]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.00022fb0
add rsp, 0x178
ret
Function at 0x179f0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov dl, 1
lea rcx, [0x00032240]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceSharedLite]
movzx eax, al
test eax, eax
je 0x17b0e
lea rcx, [0x000249c0]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, dword [rsp + 0x60]
call fcn.000178d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x17b02
lea rcx, [0x000249e0]
call sub.ntoskrnl.exe_DbgPrint
mov r11, qword [rsp + 0x48]
cmp qword [r11 + 8], 0
jne 0x17aab
mov ecx, dword [rsp + 0x60]
call fcn.00015d80
mov r11, rax
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], r11
mov rcx, qword [rsp + 0x48]
add rcx, 0x10
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
lea rax, [0x00017970]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [0x00017950]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 8]
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
mov rdx, qword [rsp + 0x48]
lea rcx, [0x00024a00]
call sub.ntoskrnl.exe_DbgPrint
mov r11, qword [rsp + 0x48]
mov ecx, dword [r11 + 0x88]
add ecx, 1
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x88], ecx
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x88], 1
jne 0x17b00
mov rcx, qword [rsp + 0x48]
add rcx, 0x10
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
jmp 0x17b0e
lea rcx, [0x00024a10]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00032240]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x58
ret

Function at 0x17b30
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dl, 1
lea rcx, [0x00032240]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceSharedLite]
movzx eax, al
test eax, eax
je 0x17bcd
lea rcx, [0x00024a30]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, dword [rsp + 0x40]
call fcn.000178d0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x17bc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x88], 0
je 0x17bbf
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x88]
sub ecx, 1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x88], ecx
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x88], 0
jne 0x17bbf
mov rcx, qword [rsp + 0x28]
add rcx, 0x68
xor r9d, r9d
mov r8d, 1
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeReleaseSemaphore]
jmp 0x17bcd
lea rcx, [0x00024a10]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00032240]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x38
ret
Function at 0x18300
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [0x0002d4c0], 0
je 0x18360
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [0x0002d4c0]
call qword [sym.imp.ntoskrnl.exe_RtlLookupElementGenericTable]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18360
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x10]
mov edx, dword [rsp + 0x60]
lea rcx, [0x00024bb0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
jmp 0x18362
xor eax, eax
add rsp, 0x58
ret

Function at 0x18460
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
lea rcx, [0x00024bd0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0xc
mov eax, dword [0x00033018]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov edx, dword [0x000322b0]
lea rcx, [rsp + 0x20]
call qword [0x00031d20]
add rsp, 0x38
ret

Function at 0x184b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov qword [rsp + 0x20], 0x20
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x60]
lea rcx, [0x00024bf0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x30], 0x20
mov eax, dword [0x00033018]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 9
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x44], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x4c], eax
mov edx, dword [0x000322b0]
lea rcx, [rsp + 0x30]
call qword [0x00031d20]
add rsp, 0x58
ret

Function at 0x18550
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x20
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
lea rcx, [0x00024c50]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0x20
mov eax, dword [0x00033018]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0x18
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x34], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x3c], eax
mov edx, dword [0x000322b0]
lea rcx, [rsp + 0x20]
call qword [0x00031d20]
add rsp, 0x48
ret
Function at 0x185e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x20
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
lea rcx, [0x00024ca0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0x20
mov eax, dword [0x00033018]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0x16
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x34], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x3c], eax
mov edx, dword [0x000322b0]
lea rcx, [rsp + 0x20]
call qword [0x00031d20]
add rsp, 0x48
ret

Function at 0x18670
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0x24
mov eax, dword [0x00033018]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0x1c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x2c], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x34], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x3c], rax
mov r9, qword [rsp + 0x3c]
mov r8, qword [rsp + 0x34]
mov rdx, qword [rsp + 0x2c]
lea rcx, [0x00024cf0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [0x000322b0]
lea rcx, [rsp + 0x20]
call qword [0x00031d20]
add rsp, 0x58
ret
Function at 0x18950
Capabilities:
Print debug messages

Disassembly:
mov byte [rsp + 8], cl
push rsi
push rdi
sub rsp, 0x48
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
cmp dword [rax + rcx], 0
je 0x18aca
movzx edi, byte [rsp + 0x60]
call fcn.00012440
mov r8d, edi
mov edx, eax
lea rcx, [0x00024d20]
call sub.ntoskrnl.exe_DbgPrint
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
cmp dword [rax + rcx + 4], 0
je 0x189fe
movzx eax, byte [rsp + 0x60]
cmp eax, 1
jne 0x189c4
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call fcn.000184b0
jmp 0x189f4
movzx eax, byte [rsp + 0x60]
cmp eax, 3
jne 0x189e2
xor r9d, r9d
xor r8d, r8d
mov edx, 3
xor ecx, ecx
call fcn.00018550
jmp 0x189f4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xe
xor ecx, ecx
call fcn.000185e0
mov eax, 1
jmp 0x18acf
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
mov rax, qword [rax + rcx + 0x10]
shr rax, 0x10
mov word [rsp + 0x26], ax
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
movzx eax, word [rax + rcx + 0x10]
mov word [rsp + 0x20], ax
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
movzx eax, word [rax + rcx + 8]
mov word [rsp + 0x22], ax
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x18
lea rax, [0x00030520]
mov rax, qword [rax + rcx + 0x10]
shr rax, 0x20
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x30]
call fcn.00012550
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x32]
movzx eax, byte [rax + rcx + 5]
mov byte [rsp + 0x25], al
call fcn.00012580
movzx ecx, byte [rsp + 0x60]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x32]
lea rsi, [rsp + 0x20]
lea rdi, [rax + rcx]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
call fcn.00012570
lea rcx, [0x00024d50]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 1
add rsp, 0x48
pop rdi
pop rsi
ret