joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004fe80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1800a03c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, r8
mov rdi, rdx
mov r12, rcx
call fcn.18004fdf0
lea r9, [r12 + 0x10]
xor r13d, r13d
mov qword [r9 + 8], r13
mov qword [r9 + 0x10], r13
mov qword [r9 + 0x20], r13
mov qword [r9 + 0x18], 0x7fd8
lea r8, [r9 + 0x28]
mov qword [r8 + 8], r13
mov qword [r8 + 0x10], r13
mov qword [r8 + 0x18], r13
mov qword [r8 + 0x20], r13
mov qword [r8 + 0x30], r13
mov qword [r8 + 0x38], r13
mov rcx, r8
shl rcx, 8
mov rax, r9
shl rax, 8
sub rcx, rax
or rcx, 1
mov qword [r8], rcx
mov qword [r8 + 0x40], r9
mov qword [r8 + 0x48], 0x7fd8
mov qword [r8 + 0x50], r13
mov qword [r8 + 0x58], r13
mov qword [r12], r8
mov qword [r8 + 0x28], r8
mov rax, qword [r12]
lea rcx, [rax + 0x40]
test rax, rax
cmove rcx, r13
mov qword [r9], rcx
mov qword [rsp + 0x60], r13
lea r8, [0x180090f10]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov ebp, r13d
test eax, eax
cmove rbp, qword [rsp + 0x60]
mov qword [rsp + 0x50], rbp
lea rax, [0x18004fdd0]
mov qword [rsp + 0x58], rax
mov r15, qword [r12]
test rbp, rbp
jne 0x18004ff81
mov dword [rdi + 0x10], r13d
mov dword [rdi], 1
mov qword [rdi + 8], r13
jmp 0x180050056
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov rbx, rax
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test rbx, rbx
jns 0x18004ffc2
mov dword [rdi + 0x10], r13d
mov dword [rdi], 2
mov qword [rdi + 8], r13
jmp 0x180050056
lea r14, [rbx + 1]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x18004ffe7
mov dword [rdi + 0x10], r13d
mov dword [rdi], 3
mov qword [rdi + 8], r13
jmp 0x180050056
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
cmp rax, rbx
je 0x180050019
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [rdi + 0x10], r13d
mov dword [rdi], 2
mov qword [rdi + 8], r13
jmp 0x180050056
mov rdx, rbx
call fcn.18004e6c0
mov ecx, eax
cmp eax, 1
jne 0x18005002e
mov byte [rbx + rsi], 0
jmp 0x180050031
mov r14, rbx
lea rax, [r12 + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8, r15
mov rdx, r15
mov rcx, rdi
call fcn.18004fb50
nop
test rbp, rbp
je 0x180050065
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180062a80
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180050690
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800a03c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
cmp edx, 1
jne 0x180050705
mov r8d, 0x104
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rbx
mov qword [0x1800a3630], rax
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180050880]
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]
mov qword [0x1800a3650], rax
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180062a80
add rsp, 0x150
pop rbx
ret

Function at 0x1800536a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800a03c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ebx, edx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x20], eax
jne 0x1800536f8
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sets al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180062a80
add rsp, 0x30
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180062a80
add rsp, 0x30
pop rbx
ret

Function at 0x180053710
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800a03c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x20], eax
jne 0x180053778
mov ecx, 0x7b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180053778
mov eax, 1
mov dword [0x1800a31d8], eax
mov dword [0x1800a31dc], eax
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180062a80
add rsp, 0x38
ret
xor eax, eax
cmp dword [0x1800a31dc], eax
mov dword [0x1800a31d8], eax
je 0x18005375e
mov dword [0x1800a31dc], eax
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180062a80
add rsp, 0x38
ret
Function at 0x18005fe60
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.18005fc50
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18005ff37
mov dword [rsp + 0x20], 0
jmp 0x18005fed4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18005ff37
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005ff35
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18005fa30
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005feca
add rsp, 0x30
pop rdi
ret

Function at 0x18005ff50
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18005fff4
mov dword [rsp + 0x20], 0
jmp 0x18005ff8d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18005ffdd
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005ffdb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005ff83
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1800a23c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180060000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x1800a36f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180060084
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800600ad
mov eax, 0xa
jmp 0x1800601e7
cmp dword [rsp + 0x88], 0
je 0x18006011b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180060119
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180060167
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006014b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180060167
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180068f50]
call fcn.1800635f8
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1800616d0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18006173e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18006173e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18006173e
xor eax, eax
jmp 0x180061785
mov dword [rsp], 1
jmp 0x18006174f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180061780
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18006177e
xor eax, eax
jmp 0x180061785
jmp 0x180061747
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x180064fb4
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 0x180064fee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180064ff3
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 0x18006503c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180086b70]
cmp byte [rcx + rax], 0
je 0x18006503c
dec r8
sub rdx, 1
jne 0x180065022
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140009ed4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140012951
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140012968
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140012990
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140012992
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400129c4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140012a61
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140012a02
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140012a41
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140012a82
cmp rdi, rax
ja 0x140012a10
test rbx, rbx
je 0x140012a61
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140012a64
Function at 0x140012a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140012ac0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140012ae8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140012aea
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012b43
test ecx, ecx
jle 0x140012b23
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140012b43
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140012b43
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400142e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015630
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015650
xor al, al
jmp 0x1400156d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015663
xor al, al
jmp 0x1400156d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001568d
xor al, al
jmp 0x1400156d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400156a1
xor al, al
jmp 0x1400156d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400156b3
xor al, al
jmp 0x1400156d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400156cf
xor al, al
jmp 0x1400156d1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001114a
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140011f20
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400280a3]
call fcn.140011465
mov dword [rbp + 0x24], 0xffffffff
mov eax, dword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x160], rax
jae 0x140011fce
mov rax, qword [rbp + 0x160]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x160]
inc rax
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x64], 0
jmp 0x140011fa4
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 8
jae 0x140011fcc
mov eax, dword [rbp + 0x24]
and eax, 1
dec eax
not eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x24]
shr eax, 1
mov ecx, dword [rbp + 4]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 0x24], eax
jmp 0x140011f9c
jmp 0x140011f61
mov eax, dword [rbp + 0x24]
not eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011276
Capabilities:
Terminate process

Disassembly:
jmp 0x1400163b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011320
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400176f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017710
xor al, al
jmp 0x140017791
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017723
xor al, al
jmp 0x140017791
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001774d
xor al, al
jmp 0x140017791
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017761
xor al, al
jmp 0x140017791
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017773
xor al, al
jmp 0x140017791
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001778f
xor al, al
jmp 0x140017791
mov al, 1
add rsp, 0x38
ret
Function at 0x1400073d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007422
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007422
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007422
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007422
cmp dword [rcx + 0x84], 0xe
jbe 0x140007422
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007424
xor al, al
add rsp, 0x28
ret
Function at 0x180001230
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x60
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rsi, rax
test rax, rax
jne 0x180001266
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x70], rdi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rsi, qword [rsi + 0x18]
test rsi, rsi
je 0x1800012f5
mov rbx, qword [rsi + 0x10]
add rsi, 0x10
cmp rbx, rsi
je 0x1800012f5
nop
movups xmm0, xmmword [rbx + 0x58]
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, str.____Module_Name:__wZ_n
xor ecx, ecx
movaps xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9, qword [rbx + 0x30]
lea r8, str.____Module_Base:__p_n
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9d, dword [rbx + 0x40]
lea r8, str.____Module_Size:__d_n
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r8b, 1
lea rcx, [rbx + 0x58]
mov rdx, rbp
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
je 0x18000131a
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x180001290
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
mov rbx, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, rbx
jmp 0x180001302
Function at 0x1800015e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r8d, 0x20
mov dword [rsp + 0x60], 0x20
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x15]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edx, dword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbp, rax
test rax, rax
je 0x1800016ba
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jne 0x1800016af
xor esi, esi
cmp dword [rbp], esi
jbe 0x1800016af
lea rdi, [rbp + 8]
movzx r14d, word [rdi + 0x26]
lea rbx, [rdi + 0x28]
add rbx, r14
movzx eax, byte [r14 + rdi + 0x28]
test al, al
je 0x180001686
nop dword [rax]
movsx ecx, al
call qword [sym.imp.ntoskrnl.exe_tolower]
mov byte [rbx], al
lea rbx, [rbx + 1]
movzx eax, byte [rbx]
test al, al
jne 0x180001670
lea rcx, [rdi + 0x28]
add rcx, r14
lea rdx, str.win32k.sys
call sub.ntoskrnl.exe_strcmp
test eax, eax
je 0x1800016e3
mov eax, dword [rbp]
inc rsi
add rdi, 0x128
cmp rsi, rax
jb 0x180001653
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea r8, str.____win32k_not_found_
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc0000365
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rdi + 0x10]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rbx, rbx
je 0x1800016ba
lea rax, [rbx + 0x67538]
lea rcx, [0x1800015d0]
mov qword [0x180003018], rax
mov qword [rax], rcx
xor eax, eax
jmp 0x1800016d0