joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016390
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140075b10]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400163f3
mov qword [rsp], rbx
lea rbx, [0x14004dd50]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400163d3
cmp byte [r8], r9b
jne 0x1400163d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400163c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x2580]
not eax
mov r8, qword [r10 + 0x2588]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001641f
cmp dword [r8 + 8], eax
je 0x140016426
add r8, 0x48
cmp r8, rcx
jne 0x140016410
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x1400164b0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140016500
lea r11, [0x14004dd50]
cmp r9b, 0x23
jne 0x1400164e3
cmp byte [r8], r9b
jne 0x1400164e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400164d0
not ecx
jmp fcn.140016430

Function at 0x140016ab0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r10, [0x14004dd50]
mov rax, qword [rcx + 0x110]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x13c0], ebx
jne 0x140016b3d
xor r9d, r9d
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.140013aa0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140017950
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400179ad
lea rbx, [0x14004dd50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140017994
cmp r10, 2
jb 0x140017994
cmp byte [r9], r8b
jne 0x140017994
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140017970
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400179ef
lea rbx, [0x14004dd50]
cmp r8b, 0x23
jne 0x1400179d3
cmp byte [r9], r8b
jne 0x1400179d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400179c0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140019b30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x2628], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140019bb3
xor edx, edx
add rcx, 0x2630
call fcn.140029cf0
mov r8, rsi
lea rcx, [rbx + 0x2630]
mov rdx, rbp
call fcn.1400294f0
mov eax, dword [rbx + 0x2630]
xor edx, edx
mov r9, qword [rbx + 0x2628]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2638]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x140075b18]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140019bbf
add rcx, 0x2630
call fcn.1400294f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023560
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140075b10]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x256c], ecx
test rbx, rbx
je 0x1400235cf
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1400235e0
lea rdx, [0x140050064]
mov rcx, rbx
mov rdi, rax
call fcn.1400175a0
mov rbx, rax
test rax, rax
je 0x1400235ca
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14003ba40
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
xor edx, edx
jmp 0x14003ba50
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x140075270]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rcx
call fcn.140016bd0
mov qword [rsp + 0x30], 2
lea rcx, [0x14004dc0c]
mov qword [rsp + 0x28], 0x14
mov edx, 0xba0
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x484
mov rdi, rax
call fcn.140013a20
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003bc3e
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003bc3e
mov qword [rsp + 0xa0], rbx
mov ecx, 0x50
mov qword [rsp + 0xa8], rsi
call fcn.140019c70
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x14003bb19
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14003bb1c
mov rsi, rbx
or dword [rdi + 4], 6
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x88], rax
xor ecx, ecx
mov qword [rdi + 0x98], rsi
mov qword [rsi], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rdi, qword [rdi + 0x98]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003bb83
mov dword [rdi + 0x2c], ebx
call fcn.140016fc0
mov rcx, qword [rsi]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x28], rcx
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x80], rax
mov byte [rsi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14003bbfe
inc rbx
cmp rbx, 5
jl 0x14003bbe0
jmp 0x14003bc2a
lea rdx, str.XInputGetCapabilities
mov qword [rsi + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0xa8]
mov al, 1
mov rbx, qword [rsp + 0xa0]
jmp 0x14003bc40
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14004a900
mov rbp, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x14003ba50
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
xor edx, edx
jmp 0x14003ba50
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x140075270]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rcx
call fcn.140016bd0
mov qword [rsp + 0x30], 2
lea rcx, [0x14004dc0c]
mov qword [rsp + 0x28], 0x14
mov edx, 0xba0
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x484
mov rdi, rax
call fcn.140013a20
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003bc3e
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003bc3e
mov qword [rsp + 0xa0], rbx
mov ecx, 0x50
mov qword [rsp + 0xa8], rsi
call fcn.140019c70
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x14003bb19
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14003bb1c
mov rsi, rbx
or dword [rdi + 4], 6
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x88], rax
xor ecx, ecx
mov qword [rdi + 0x98], rsi
mov qword [rsi], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rdi, qword [rdi + 0x98]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003bb83
mov dword [rdi + 0x2c], ebx
call fcn.140016fc0
mov rcx, qword [rsi]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x28], rcx
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x80], rax
mov byte [rsi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14003bbfe
inc rbx
cmp rbx, 5
jl 0x14003bbe0
jmp 0x14003bc2a
lea rdx, str.XInputGetCapabilities
mov qword [rsi + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0xa8]
mov al, 1
mov rbx, qword [rsp + 0xa0]
jmp 0x14003bc40
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14004a900
mov rbp, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x14003ca60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003ca98
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x140040120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140075b10]
mov rdx, qword [rax + 0x2188]
cmp ecx, 0xffffffff
jne 0x14004013e
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140040183
movzx eax, word [rdx + 0x78]
mov r8d, dword [rdx]
mov word [rdx + 0x224], cx
lea rcx, str.ContextMenu
mov word [rdx + 0x7a], ax
mov byte [rdx + 0x23b], 1
xor edx, edx
call fcn.140017950
xor edx, edx
mov ecx, eax
add rsp, 0x28
jmp fcn.14001f0a0
add rsp, 0x28
ret

Function at 0x1400498f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140049974
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140054e90]
cmp byte [rcx + rax], 0
je 0x140049974
dec r8
sub rdx, 1
jne 0x14004995a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004b01c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004b066
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004b066
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004b066
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004b066
cmp dword [rcx + 0x84], 0xe
jbe 0x14004b066
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004b068
xor al, al
add rsp, 0x28
ret
Function at 0x140001314
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x150
xor esi, esi
lea r9, [rax + 0x18]
mov r14, rdx
mov dword [rax + 0x18], esi
mov r15, rcx
lea rdx, [rsp + 0x20]
mov r8d, 0x130
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dl, 1
mov rcx, r15
mov ebx, eax
call section..text
mov r12, rax
cmp ebx, 0xc0000004
jne 0x140001454
mov edi, dword [rsp + 0x190]
lea ecx, [rsi + 1]
add edi, 0x130
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140003140
lea r9, [rsp + 0x190]
mov r8d, edi
mov rdx, rbp
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jns 0x1400013cc
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x140001462
lea rdx, [0x140003230]
mov rcx, r15
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x14000143f
lea rdx, [0x140003240]
mov rcx, r15
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x14000143f
mov edi, esi
cmp dword [rbp], esi
jbe 0x140001449
mov eax, edi
imul r15, rax, 0x128
lea rbx, [r15 + rbp]
lea rcx, [rbx + 0x30]
call sub.ntoskrnl.exe__strupr
mov rdx, r12
lea rcx, [rbx + 0x30]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x14000142b
inc edi
cmp edi, dword [rbp]
jb 0x1400013fb
jmp 0x140001449
test r14, r14
je 0x140001438
mov rax, qword [r15 + rbp + 0x18]
mov qword [r14], rax
mov esi, dword [r15 + rbp + 0x20]
jmp 0x140001449
mov rax, qword [rbp + 0x18]
mov qword [r14], rax
mov esi, dword [rbp + 0x20]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rsi
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140001614
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
cmp rcx, qword [0x140005060]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edi, r9d
mov rsi, rdx
movups xmmword [rbp - 0x20], xmm0
mov rbx, rcx
movups xmmword [rbp - 0x10], xmm0
je 0x14000166e
lea rdx, [0x140005058]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400016d3
mov rcx, qword [0x140005058]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005060], rbx
mov rcx, qword [0x140005058]
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov eax, dword [rbp + 0x40]
lea r9, [rbp + 0x30]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], edi
or rcx, 0xffffffffffffffff
mov qword [rbp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
test eax, eax
js 0x1400016b8
mov r8, qword [rbp + 0x30]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call fcn.140003140
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x1400016d1
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x20]
mov qword [rcx], rax
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400016e4
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, r9
mov r12b, r8b
mov r13, rdx
mov r14, rcx
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rdi, rax
test rax, rax
jne 0x14000172a
mov eax, 0xc000007b
jmp 0x140001818
lea rsi, [rax + 0x108]
movzx eax, word [rax + 6]
mov rbx, rsi
lea rcx, [rax + rax*4]
lea rax, [rsi + rcx*8]
cmp rsi, rax
jae 0x140001813
lea rdx, [0x140003250]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [0x1400032f0]
lea rcx, [rbp - 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [0x140003300]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x1400017c8
mov r8b, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x1400017c8
mov r8b, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
jne 0x1400017fa
mov r9d, dword [rbx + 0xc]
lea rcx, [rbp - 0x50]
mov eax, dword [rbx + 8]
lea r8, [r15 - 1]
and qword [rbp - 0x50], 0
add r9, r14
mov qword [rsp + 0x28], rcx
mov dl, r12b
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140001848
mov edx, eax
test eax, eax
jns 0x140001839
movzx eax, word [rdi + 6]
add rbx, 0x28
lea rcx, [rax + rax*4]
lea rax, [rsi + rcx*8]
cmp rbx, rax
jb 0x140001749
mov eax, 0xc0000225
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp + 0x50]
mov qword [rcx], rax
mov eax, edx
jmp 0x140001818

Function at 0x1400018e4
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call fcn.14000206c
test al, al
jne 0x1400018f8
mov eax, 0xc0000001
jmp 0x140001912
lea rcx, [0x140002370]
call fcn.140001480
lea rcx, [0x1400033c0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001918
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
sub rsp, 0x50
cmp rcx, qword [0x140005060]
xorps xmm0, xmm0
movups xmmword [rax - 0x38], xmm0
mov rbx, rcx
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
je 0x140001968
lea rdx, [0x140005058]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400019a3
mov rcx, qword [0x140005058]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005060], rbx
mov rcx, qword [0x140005058]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x1400019ac
Capabilities:
Attach user process memory
Find process by pid
Resolve function by parsing pe exports

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, 0x50
xor edi, edi
mov r13, r9
cmp rcx, qword [0x140005060]
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
je 0x140001a08
lea rdx, [0x140005058]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140001b35
mov rcx, qword [0x140005058]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005060], rsi
mov r14d, 0x100
xor ecx, ecx
mov edx, r14d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rsi, rax
test rax, rax
je 0x140001b30
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140003140
or r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + rbp], dil
jne 0x140001a36
mov rdx, rbp
mov rcx, rsi
call fcn.140002e80
mov rcx, qword [0x140005058]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140001b30
movsxd rax, dword [rbx + 0x3c]
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x140001a83
mov ecx, dword [rax + rbx + 0x88]
jmp 0x140001a87
mov ecx, dword [rax + rbx + 0x78]
mov r8d, ecx
mov edx, edi
mov r14d, dword [r8 + rbx + 0x24]
mov r15d, dword [r8 + rbx + 0x20]
add r14, rbx
mov r11d, dword [r8 + rbx + 0x1c]
add r15, rbx
mov r12d, dword [r8 + rbx + 0x14]
add r11, rbx
test r12d, r12d
je 0x140001b12
cmp rsi, 0xffff
ja 0x140001aca
movzx r9d, dx
mov ecx, r9d
movzx eax, si
add ecx, dword [r8 + rbx + 0x10]
cmp eax, ecx
jmp 0x140001afc
cmp edx, dword [r8 + rbx + 0x18]
jae 0x140001b30
mov eax, edx
mov rbp, rsi
mov ecx, dword [r15 + rax*4]
movzx r9d, word [r14 + rax*2]
add rcx, rbx
sub rbp, rcx
movzx eax, byte [rcx]
movzx r10d, byte [rcx + rbp]
sub eax, r10d
jne 0x140001afa
inc rcx
test r10d, r10d
jne 0x140001ae5
test eax, eax
je 0x140001b07
inc edx
cmp edx, r12d
jb 0x140001aae
jmp 0x140001b12
movzx eax, r9w
mov edi, dword [r11 + rax*4]
add rdi, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor edx, edx
mov qword [r13], rdi
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x140001b35
mov eax, 0xc0000001
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001b54
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebx, ebx
lea r9, [rax + 0x10]
mov r14, rcx
mov dword [rax + 0x10], ebx
xor r8d, r8d
lea rdx, [rax + 0x10]
lea esi, [rbx + 0xb]
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001c8c
mov edx, dword [rsp + 0x178]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
je 0x140001c8c
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x140001c7c
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x140001c7c
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x20]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001be8
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140001c77
inc rsi
add rbp, 0x128
cmp rsi, qword [rdi]
jb 0x140001bdb
jmp 0x140001c7c
mov rbx, qword [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140001c8e
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret