joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027a0a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x98
mov rax, qword [0x1405d52b0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, dword [rcx + 0x10]
mov rdi, r9
mov r15, qword [rbp + 0x7f]
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test eax, eax
jne 0x14027a0ec
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbx + 0x10]
cmp eax, 1
jne 0x14027a10b
mov rcx, qword [rbx + 8]
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], r15
mov rdx, r14
call sub.ntdll.dll_NtReadVirtualMemory
mov eax, dword [rbx + 0x10]
cmp eax, 2
jne 0x14027a200
mov eax, dword [rbx]
mov edx, 0x9a4
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0xf601f600
mov dword [rbp - 1], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0xf603f670
mov rax, rdi
mov qword [rbp + 7], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0xf613f624
xor r14d, r14d
mov qword [rbp + 0xf], rax
mov dword [rbp - 9], r14d
mov eax, r14d
mov dword [rbp - 0x25], 0xf615f60b
mov dword [rbp - 0x21], 0xf617f601
mov dword [rbp - 0x1d], 0xf612f617
mov dword [rbp - 0x19], 0xf61bf60d
mov dword [rbp - 0x15], 0xf613
mov byte [rbp - 0x11], 1
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xf
jb 0x14027a182
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x11], r14b
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14027a200
mov qword [rsp + 0x38], r14
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 1]
mov dword [rsp + 0x28], edi
mov r9d, Ordinal_27
mov edx, 0x22240e
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14027a740
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14027a5a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x98
mov rax, qword [0x1405d52b0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, dword [rcx + 0x10]
mov rdi, r9
mov r15, qword [rbp + 0x7f]
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test eax, eax
jne 0x14027a5ec
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rbx + 0x10]
cmp eax, 1
jne 0x14027a60b
mov rcx, qword [rbx + 8]
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], r15
mov rdx, r14
call sub.ntdll.dll_NtWriteVirtualMemory
mov eax, dword [rbx + 0x10]
cmp eax, 2
jne 0x14027a700
mov eax, dword [rbx]
mov edx, 0x9a4
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0xf601f600
mov dword [rbp - 1], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0xf603f670
mov rax, rdi
mov qword [rbp + 7], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0xf613f624
xor r14d, r14d
mov qword [rbp + 0xf], rax
mov dword [rbp - 9], r14d
mov eax, r14d
mov dword [rbp - 0x25], 0xf615f60b
mov dword [rbp - 0x21], 0xf617f601
mov dword [rbp - 0x1d], 0xf612f617
mov dword [rbp - 0x19], 0xf61bf60d
mov dword [rbp - 0x15], 0xf613
mov byte [rbp - 0x11], 1
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xf
jb 0x14027a682
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x11], r14b
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14027a700
mov qword [rsp + 0x38], r14
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 1]
mov dword [rsp + 0x28], edi
mov r9d, Ordinal_27
mov edx, 0x22240a
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14027a740
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140008d60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x28
mov rbp, rcx
mov edi, 1
movsxd rcx, dword [rdx + 0x1404]
test rcx, rcx
jle 0x140008d90
mov rax, qword [rdx + 0x1408]
imul rdi, qword [rax]
lea rax, [rax + 8]
sub rcx, 1
jne 0x140008d82
mov eax, dword [rdx + 0x13f8]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rsi
cmp eax, 0x20
je 0x140008edc
cmp eax, 0x40
je 0x140008de3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Invalid_input_size_type._n
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
xor eax, eax
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop rdi
pop rbp
ret
mov ecx, dword [rdx + 0x13f4]
mov rsi, qword [rdx + 0x1440]
sub ecx, 1
je 0x140008e9c
sub ecx, 1
je 0x140008e5b
cmp ecx, 1
je 0x140008e1a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Unrecognized_input_class_type._n
jmp 0x140008fbd
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
mov edx, 8
lea rcx, [rsp + 0x50]
mov r9, rbp
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140008fab
mov rax, qword [rsp + 0x50]
inc rbx
mov qword [rsi], rax
add rsi, 8
cmp rbx, rdi
jb 0x140008e21
jmp 0x140008dd0
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
nop word [rax + rax]
mov r8, rsi
lea rdx, [0x14000b8f8]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140008fab
inc rbx
add rsi, 8
cmp rbx, rdi
jb 0x140008e70
jmp 0x140008dd0
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
nop word [rax + rax]
mov r8, rsi
lea rdx, [0x14000b8f8]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140008fab
inc rbx
add rsi, 8
cmp rbx, rdi
jb 0x140008eb0
jmp 0x140008dd0
mov ecx, dword [rdx + 0x13f4]
mov rsi, qword [rdx + 0x1440]
sub ecx, 1
je 0x140008f78
sub ecx, 1
je 0x140008f44
cmp ecx, 1
jne 0x140008e03
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
nop dword [rax + rax]
mov edx, 4
lea rcx, [rsp + 0x48]
mov r9, rbp
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140008fab
mov eax, dword [rsp + 0x48]
inc rbx
mov dword [rsi], eax
add rsi, 4
cmp rbx, rdi
jb 0x140008f10
jmp 0x140008dd0
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
nop
mov r8, rsi
lea rdx, [0x14000b8f4]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140008fab
inc rbx
add rsi, 4
cmp rbx, rdi
jb 0x140008f50
jmp 0x140008dd0
xor ebx, ebx
test rdi, rdi
je 0x140008dd0
mov r8, rsi
lea rdx, [0x14000b8f4]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140008fab
inc rbx
add rsi, 4
cmp rbx, rdi
jb 0x140008f83
jmp 0x140008dd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Unable_to_get_float_value_from_file._n
mov rcx, rax
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
mov rsi, qword [rsp + 0x20]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop rdi
pop rbp
ret
Function at 0x140478496
Capabilities:
Authenticate hmac

Disassembly:
mov edi, 0x9c3b2f00
movzx edi, byte [rsi]
push 0xfffffffff30ba002
xor edi, ebx
rol dword [rsp + 4], 0x5c
and edi, 0xff
mov edi, dword [rax + rdi*4]
shr ebx, 8
xor ebx, edi
inc rsi
xor ebx, 0xfa17b723
jmp 0x1404a003b
lea rax, [0x140486570]
lea rsp, [rsp + 0x10]
jmp 0x14046ee0e
dec rdx
lea rsp, [rsp + 8]
jne 0x1404784a2
Function at 0x1800038f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xc0
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_void___cdecl_thread::keepAlive_class_std::chrono::duration_long_long___int64___struct_std::ratio_1__1000____int____ptr64::_2::_lambda_1___void___.0
mov qword [r11 - 0x58], rax
lea rcx, [r11 - 0x58]
mov qword [r11 - 0x20], rcx
lea rax, [r11 - 0x58]
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x18], rdx
cmp byte [0x180078268], 0
je 0x1800039cb
lea rbx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_tools::whileLoopWithExit_bool____ptr64__class_std::chrono::duration_long_long___int64___struct_std::ratio_1__1000____int__class_std::function_void____cdecl___void___::_4::_lambda_1___void___.0
lea rdi, [0x180078268]
nop dword [rax]
test rcx, rcx
je 0x1800039f9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000398e
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800039f2
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800039a9
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0xb0]
call fcn.180008190
mov rcx, qword [rsp + 0xa8]
cmp byte [0x180078268], 0
jne 0x180003940
test rcx, rcx
je 0x1800039e1
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3

Function at 0x180003a00
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rax, str.dawn
mov dword [rcx + 8], 0xff
mov qword [rcx], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18004a81c]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x180004270
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x180078290]
lea rax, [0x1800792d0]
mov rbx, qword [0x180078288]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [0x1800792e8]
dec rax
mov rdx, qword [rcx + 0x10]
dec rdx
add rax, qword [0x1800792f0]
and rdx, rax
mov rax, qword [rcx + 8]
mov rsi, qword [rax + rdx*8]
cmp rbx, rdi
je 0x1800042e1
mov rcx, rbx
call fcn.180004110
add rbx, 0x128
cmp rbx, rdi
jne 0x1800042c6
mov rbx, qword [0x180078288]
mov qword [0x180078290], rbx
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1800042f7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movabs rdi, 0x3759f22983759f23
test al, 1
je 0x18000434b
mov rcx, qword [0x180078290]
mov rax, rdi
sub rcx, qword [0x180078288]
imul rcx
mov rcx, rdx
xor edx, edx
sar rcx, 6
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsi + 0x80]
inc rax
div rcx
mov qword [rsi + 0x80], rdx
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180004398
mov rcx, qword [0x180078290]
mov rax, rdi
sub rcx, qword [0x180078288]
imul rcx
mov rcx, rdx
xor edx, edx
sar rcx, 6
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsi + 0x80]
dec rax
add rax, rcx
div rcx
mov qword [rsi + 0x80], rdx
mov rax, qword [0x180078288]
cmp rax, qword [0x180078290]
je 0x1800043e9
imul rbx, qword [rsi + 0x80], 0x128
mov ecx, 0xd
add rbx, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800043d7
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1800043d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x1800043e9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000444c
mov rcx, qword [0x1800792f0]
cmp rcx, 1
jbe 0x18000444c
mov rax, qword [0x1800792e0]
lea rdx, [rcx - 1]
add rdx, qword [0x1800792e8]
mov rcx, qword [0x1800792d8]
dec rax
and rdx, rax
mov rcx, qword [rcx + rdx*8]
call fcn.1800047d0
mov rcx, qword [0x1800792e8]
mov edx, 0
sub qword [0x1800792f0], 1
cmove rcx, rdx
mov qword [0x1800792e8], rcx
mov rcx, qword [0x180078290]
mov rax, rdi
sub rcx, qword [0x180078288]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, 0xb
cmp rdx, rax
cmova rdx, rax
mov qword [0x1800792a0], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x180006160
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
cmp edx, 1
jne 0x1800061b0
xor eax, eax
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x40], dl
lea r8, [0x180006110]
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]
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movsd qword [0x180078268], xmm1
movups xmmword [0x180078258], xmm0
mov al, 1
add rsp, 0x58
ret
Function at 0x1800150f0
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 0x18001514d
lea rbx, [0x18004b640]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180015134
cmp r10, 2
jb 0x180015134
cmp byte [r9], r8b
jne 0x180015134
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 0x180015110
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001518f
lea rbx, [0x18004b640]
cmp r8b, 0x23
jne 0x180015173
cmp byte [r9], r8b
jne 0x180015173
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 0x180015160
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180017e40
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18004b640]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x180017ed6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18002b450
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180024cb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180078028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800791f8]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x180024d11
cmp byte [rbx + 0x4d4e], 0
jne 0x180024d11
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180014fe0
test dil, 2
je 0x180024e3f
jmp 0x180024d9a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18006f124]
mulss xmm1, dword [0x18006f118]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x18006f088]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.180014fe0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180024df0
lea r11, [0x18004b640]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180024dd3
cmp byte [r8], r9b
jne 0x180024dd3
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 0x180024dc0
not ecx
call fcn.18001b580
test rax, rax
je 0x180024e3f
cmp byte [rax + 0xbe], 0
je 0x180024e3f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.180014fe0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18001e4c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800479f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180029b60
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 + 0x6010], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x180029be3
xor edx, edx
add rcx, 0x6018
call fcn.18002c310
mov r8, rsi
lea rcx, [rbx + 0x6018]
mov rdx, rbp
call fcn.180015930
mov eax, dword [rbx + 0x6018]
xor edx, edx
mov r9, qword [rbx + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6020]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x180079179]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180029bef
add rcx, 0x6018
call fcn.180015930
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18002a040
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800791f8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18002a0a3
mov qword [rsp], rbx
lea rbx, [0x18004b640]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002a083
cmp byte [r8], r9b
jne 0x18002a083
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 0x18002a070
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18002a0cf
cmp dword [r8 + 8], eax
je 0x18002a0d6
add r8, 0x48
cmp r8, rcx
jne 0x18002a0c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x18002a320
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800791f8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f6c], ecx
test rbx, rbx
je 0x18002a38f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18002a3a0
lea rdx, [0x18006e6d0]
mov rcx, rbx
mov rdi, rax
call fcn.1800151a0
mov rbx, rax
test rax, rax
je 0x18002a38a
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 0x18003c880
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180078028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1800791f8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18003ca9e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18003ca9e
mov rdx, qword [0x1800791f0]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x1800791f8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18003c95a
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18003c94f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x18003c977
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x18003c97a
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x18006ee18]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x18003c9bd
mov rsi, qword [r8 + 0x90]
jmp 0x18003c9c0
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18003c9eb
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1800791f8]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18003ca5e
inc rbx
cmp rbx, 5
jl 0x18003ca40
jmp 0x18003ca8a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x18003caa0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800479f0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x18003cc30
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800791f8]
mov edx, 0x210
call fcn.180021680
cmp byte [rax], 0
je 0x18003cca6
xor edx, edx
mov ecx, 0x210
call fcn.180023e60
test al, al
je 0x18003cca6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003cca6
mov rbx, qword [0x1800791f8]
cmp byte [rbx + 0x38d1], 0
je 0x18003cc92
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180014950
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x1800791f8]
mov edx, 0x214
call fcn.180021680
cmp byte [rax], 0
je 0x18003cd16
xor edx, edx
mov ecx, 0x214
call fcn.180023e60
test al, al
je 0x18003cd16
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003cd16
mov rbx, qword [0x1800791f8]
cmp byte [rbx + 0x38d1], 0
je 0x18003cd02
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180014950
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x1800791f8]
mov edx, 0x212
call fcn.180021680
cmp byte [rax], 0
je 0x18003cd86
xor edx, edx
mov ecx, 0x212
call fcn.180023e60
test al, al
je 0x18003cd86
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003cd86
mov rbx, qword [0x1800791f8]
cmp byte [rbx + 0x38d1], 0
je 0x18003cd72
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180014950
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x1800791f8]
mov edx, 0x216
call fcn.180021680
cmp byte [rax], 0
je 0x18003cdf6
xor edx, edx
mov ecx, 0x216
call fcn.180023e60
test al, al
je 0x18003cdf6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003cdf6
mov rbx, qword [0x1800791f8]
cmp byte [rbx + 0x38d1], 0
je 0x18003cde2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180014950
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret