joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084040
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140087890
sub rsp, 0x28
test ecx, ecx
je 0x140087923
sub ecx, 1
je 0x140087901
sub ecx, 1
je 0x1400878ec
sub ecx, 1
je 0x1400878d7
cmp ecx, 1
je 0x1400878c2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb ecx, ecx
add ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x140087560
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400be680]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
call fcn.140093660
nop
mov dword [rsp + 0x20], 1
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400875ce
lea rdx, str.Failed_to_get_the_clipboard_data_in_Unicode_format.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002900
mov rcx, rax
lea rdx, [0x14000d720]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140087693
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400875e3
lea rdx, str.Failed_to_open_the_Win32_clipboard.
jmp 0x1400875ad
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x14008761b
lea rdx, str.Failed_to_get_Win32_handle_for_clipboard_content.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002900
mov rcx, rax
lea rdx, [0x14000d720]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14008768c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400935d0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140093680
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 4
jb 0x140087683
lea rdx, [rdx*4 + 4]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008767e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008767e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009488c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140094830
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400876b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x1400876b0
push rbx
sub rsp, 0x50
mov rax, qword [0x1400be680]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14008770a
lea rdx, str.Failed_to_open_the_Win32_clipboard.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002900
mov rcx, rax
lea rdx, [0x14000d720]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140094830
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14008771d
lea rdx, str.Failed_to_empty_the_Win32_clipboard.
jmp 0x1400876db
mov qword [rsp + 0x68], rsi
mov rcx, rbx
mov qword [rsp + 0x70], rdi
call fcn.1400937e0
mov ecx, 2
lea rsi, [rax*2 + 2]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400877de
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140093f10
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14008776b
mov rbx, qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400877c7
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400877c2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400877c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009488c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140094830
add rsp, 0x50
pop rbx
ret
Function at 0x140087890
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140087890
sub rsp, 0x28
test ecx, ecx
je 0x140087923
sub ecx, 1
je 0x140087901
sub ecx, 1
je 0x1400878ec
sub ecx, 1
je 0x1400878d7
cmp ecx, 1
je 0x1400878c2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb ecx, ecx
add ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x140094090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
lea rax, vtable.DefaultErrStreamBuf.0
mov rsi, rcx
mov qword [rcx], rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
cmp rax, rbx
je 0x14009412f
mov rcx, rsi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov ecx, 2
sub rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r9, rbx
mov r8, rdi
mov rcx, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r8, rbx
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setp_char____ptr64__char____ptr64____ptr64]
mov rdi, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rcx, rax
call fcn.14009488c
mov rcx, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
Function at 0x140094330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
cmp rax, rbx
je 0x1400943c5
mov rcx, rsi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov ecx, 2
sub rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r9, rbx
mov r8, rdi
mov rcx, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r8, rbx
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setp_char____ptr64__char____ptr64____ptr64]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x1400944b0
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov edx, dword [0x1400c6c30]
mov rax, qword gs:[0x58]
mov esi, 0x28
mov rbx, qword [rax + rdx*8]
mov eax, dword [rbx + rsi]
cmp dword [0x1400c6630], eax
jg 0x1400945b0
mov eax, dword [rbx + rsi]
cmp dword [0x1400c6638], eax
jg 0x140094603
cmp byte [0x1400c6634], 0
je 0x140094534
mov eax, dword [rbx + rsi]
cmp dword [0x1400c6648], eax
jg 0x140094571
lea rdx, [0x1400c6640]
lea rcx, [rsp + 0x38]
call fcn.140094050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
call fcn.140094070
jmp 0x14009453f
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1400c6628]
cvttsd2si rdx, xmm0
mov rcx, rdi
call fcn.1400930f0
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1400c6648]
call fcn.140094968
cmp dword [0x1400c6648], 0xffffffff
jne 0x14009450c
lea rcx, [0x1400c6640]
call fcn.140093fc0
lea rcx, [0x1400981d0]
call fcn.140094c08
nop
lea rcx, [0x1400c6648]
call fcn.1400948fc
jmp 0x14009450c
lea rcx, [0x1400c6630]
call fcn.140094968
cmp dword [0x1400c6630], 0xffffffff
jne 0x1400944e9
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x38]
movsd xmm1, qword [0x1400acdd0]
divsd xmm1, xmm0
movsd qword [0x1400c6628], xmm1
lea rcx, [0x1400c6630]
call fcn.1400948fc
jmp 0x1400944e9
lea rcx, [0x1400c6638]
call fcn.140094968
cmp dword [0x1400c6638], 0xffffffff
jne 0x1400944f8
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
setb byte [0x1400c6634]
lea rcx, [0x1400c6638]
call fcn.1400948fc
jmp 0x1400944f8

Function at 0x140095618
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rdx
mov rbx, qword [rdx + 0x10]
mov rbp, rbx
shr rbp, 4
lea r13d, [rbp + 1]
shl r13d, 4
movsxd rsi, r13d
inc rsi
mov rcx, rsi
call fcn.18001f3bc
mov r15, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.180020d00
cmp qword [rdi + 0x18], 0x10
jb 0x18000880a
mov rdi, qword [rdi]
mov rcx, r15
sub rcx, rdi
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
inc rdi
test al, al
jne 0x180008810
and ebx, 0xf
mov edx, reloc.WSOCK32.dll_recv
sub edx, ebx
test edx, edx
jle 0x180008842
movsxd rax, ebp
shl rax, 4
mov edi, ebx
add rax, r15
add rdi, rax
mov ecx, edx
movsx rax, dl
rep stosb byte [rdi], al
movsxd r14, r13d
mov byte [r14 + r15], 0
mov rcx, rsi
call fcn.18001f3bc
mov r12, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.180020d00
lea rax, vtable.AES.0
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
xor ebx, ebx
mov qword [rsp + 0x40c], rbx
mov dword [rsp + 0x414], ebx
lea rcx, [rsp + 0x40]
call fcn.180002560
movzx edi, byte [rsp + 0x48]
test dil, dil
je 0x18000895e
test r13d, r13d
je 0x18000895e
movsxd r8, dword [rsp + 0x410]
xor edx, edx
mov rax, r14
div r8
test rdx, rdx
jne 0x18000895e
mov ebp, ebx
mov rbx, r15
mov rsi, r12
test rax, rax
je 0x18000895e
nop
lea rax, [rsp + 0x438]
test dil, dil
je 0x180008907
xor edx, edx
test r8d, r8d
jle 0x180008907
lea rcx, [rsp + 0x438]
mov rdi, rbx
sub rdi, rcx
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
lea rax, [rax + 1]
inc edx
cmp edx, dword [rsp + 0x410]
jl 0x1800088f2
mov r8, rsi
lea rdx, [rsp + 0x438]
lea rcx, [rsp + 0x40]
call fcn.180001e90
movsxd r8, dword [rsp + 0x410]
mov rdx, rsi
lea rcx, [rsp + 0x438]
call fcn.1800208a0
movsxd r8, dword [rsp + 0x410]
add rbx, r8
add rsi, r8
inc ebp
xor edx, edx
mov rax, r14
div r8
movsxd rcx, ebp
cmp rcx, rax
jae 0x18000895e
movzx edi, byte [rsp + 0x48]
jmp 0x1800088d0
mov r8d, r13d
mov rdx, r12
mov rcx, qword [rsp + 0x4f0]
call fcn.1800029c0
mov rcx, r15
call fcn.18001ef68
mov rcx, r12
call fcn.18001ef68
nop
mov rax, qword [rsp + 0x4f0]
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18001bd70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x18001bd86
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x1800534c0]
not ecx
cmp r10d, 8
jb 0x18001be78
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x18001bdb0
test r10d, r10d
je 0x18001bea0
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x18001be80
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x18001d600
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x18001d811
cmp dword [rcx + 0x1c], 0
je 0x18001d811
cmp qword [rcx + 0x80], 0
je 0x18001d62f
call fcn.18001dbb0
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.18001d340
test eax, eax
je 0x18001d656
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call fcn.18002ba48
mov rbx, rax
test rax, rax
jne 0x18001d67c
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call fcn.18002ba48
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x18001d6c2
mov rcx, rbx
call fcn.1800291a0
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rbx + 0x64], ebp
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x74], ebp
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x18001d714
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.18001c130
test eax, eax
jne 0x18001d714
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
movzx eax, byte [rdi + 0x34]
and al, 1
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x18001d73f
movzx eax, byte [rdi + 0x3d]
jmp 0x18001d743
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
movzx eax, byte [rbx + 0x98]
neg al
sbb ecx, ecx
and ecx, 0xc
mov dword [rbx + 0xa8], ecx
mov dword [rbx + 0x9c], 0x12345678
mov dword [rbx + 0xa0], 0x23456789
mov dword [rbx + 0xa4], 0x34567890
test rsi, rsi
je 0x18001d7e5
lea r8, [0x1800534c0]
movzx eax, byte [rsi]
test al, al
je 0x18001d7e5
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
mov eax, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
xor eax, edx
mov dword [rbx + 0x9c], eax
movzx eax, al
add eax, dword [rbx + 0xa0]
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
mov eax, dword [r8 + rax*4]
xor eax, ecx
mov dword [rbx + 0xa4], eax
add rsi, 1
jne 0x18001d787
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], ebp
add eax, 0x1e
mov rbp, qword [rsp + 0x20]
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140001f90
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call fcn.140002d50
cmp byte [0x140041f8a], 0
je 0x14000202f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
nop
lea rdx, str._r__________________________________________HOME_________________________________________
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
nop word [rax + rax]
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001ff0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [0x140043b60]
lea rcx, [rsp + 0x20]
call fcn.140002580
lea rcx, [rsp + 0x20]
call fcn.140001d30
mov ecx, 1
call fcn.14001e9c0
int3

Function at 0x140018294
Capabilities:
Parse pe header

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

Function at 0x14001e9c0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001e82b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e82b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e82b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e82b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e82b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e82b
cmp dword [rcx + 0xf8], 0
je 0x14001e82b
mov ecx, ebx
call fcn.14001e8dc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001e6b8
nop
cmp dword [rbp + 0x20], 0
je 0x14001e879
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e884
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e7bc