joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007fc8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000805b
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rsi, [rbx + 0x10]
mov ecx, 2
mov rdx, qword [rsi]
inc rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140008055
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x140008022
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008055
cmp qword [rbx + 0x18], 0xf
jbe 0x14000802c
mov rbx, qword [rbx]
mov rdx, qword [rsi]
mov r8, rbx
inc rdx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140010390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400103c0
call 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]
jmp 0x140010439
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400103d7
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400103d9
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010433
test ecx, ecx
jle 0x140010413
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140010433
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010433
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140010454
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140010474
xor eax, eax
jmp 0x14001055e
cmp qword [rcx + 0x68], 0
je 0x140010486
call 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]
jmp 0x14001055e
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001049d
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001049f
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400104d2
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call qword [sym.imp.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
je 0x140010558
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140010509
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
mov ebx, 0xfff
jmp 0x140010533
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140010558
cmp rdi, rbx
ja 0x140010510
test rdi, rdi
je 0x140010558
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 rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140010934
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x14001096d
xor eax, eax
jmp 0x140010a8d
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400109a7
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1400109a7
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x140010a8d
cmp qword [rbx + 0x80], 0
je 0x140010a8b
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400109e2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140010a03
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x140010a88
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010a51
sub eax, 1
je 0x140010a51
cmp eax, 2
jne 0x140010a8b
movsx ecx, byte [rbp - 0x30]
jmp 0x1400109ef
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140010a7c
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140010a8b
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140063600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140011b30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011b9f
cmp byte [rcx + 0x71], 0
je 0x140011b9f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140011bf4
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140011bb9
sub eax, 1
je 0x140011bbd
cmp eax, 2
jne 0x140011bf4
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140063600
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011beb
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140011bf4
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140011ba1
xor al, al
jmp 0x140011ba1
Function at 0x140014d98
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x1400cabe0]
xor r8d, r8d
lea r9, [rsp + 0x28]
xor edx, edx
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140014e50
mov rdx, qword [rsp + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
or r8, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
inc r8
cmp word [rdx + r8*2], di
jne 0x140014df0
lea rcx, [rsp + 0x30]
call fcn.140012ed0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov r8d, 0x20
mov qword [rbx + 0x10], rdi
mov rcx, rbx
mov qword [rbx + 0x18], rdi
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
movdqa xmm0, xmmword [0x1400f0330]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
call fcn.140003fe8
jmp 0x140014e93
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_retrieve_AppData_folder_path.
call fcn.140004498
lea rdx, [0x140004608]
mov rcx, rax
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]
xorps xmm0, xmm0
lea rdx, [0x1400ed500]
movups xmmword [rbx], xmm0
xor r8d, r8d
mov qword [rbx + 0x10], rdi
mov rcx, rbx
mov qword [rbx + 0x18], rdi
call fcn.140012ed0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140063600
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140015870
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400158d4
xor ebx, ebx
jmp 0x140015950
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
or rcx, 0xffffffffffffffff
lea rax, [rsp + 0x4c]
xor ebx, ebx
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1400158ed
cmp qword [rdi + 0x18], 7
mov r9, rdi
mov r10, qword [rdi + 0x10]
jbe 0x140015907
mov r9, qword [rdi]
cmp rcx, r10
lea r8, [rsp + 0x4c]
mov rdx, r10
cmovb rdx, rcx
test rdx, rdx
je 0x14001593c
lea rax, [rsp + 0x4c]
sub r9, rax
movzx eax, word [r9 + r8]
cmp ax, word [r8]
jne 0x1400159b2
add r8, 2
sub rdx, 1
jne 0x140015923
cmp r10, rcx
jb 0x1400159b2
ja 0x1400159b2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call fcn.140003fe8
mov eax, ebx
jmp 0x1400159d7
lea rax, [rsp + 0x4c]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x140015965
cmp qword [rdi + 0x18], 7
mov r9, rdi
mov r10, qword [rdi + 0x10]
jbe 0x14001597f
mov r9, qword [rdi]
cmp rcx, r10
lea r8, [rsp + 0x4c]
mov rdx, r10
cmovb rdx, rcx
test rdx, rdx
je 0x14001593c
lea rax, [rsp + 0x4c]
sub r9, rax
movzx eax, word [r9 + r8]
cmp ax, word [r8]
jne 0x1400159b2
add r8, 2
sub rdx, 1
jne 0x14001599b
jmp 0x14001593c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14001595c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140003fe8
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140063600
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001b0ac
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14001b106
mov r11b, 0x23
lea rbx, [0x1400e8c50]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14001b0f0
cmp rdx, 2
jb 0x14001b0f0
cmp byte [r10], r11b
jne 0x14001b0f0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14001b0ce
jmp 0x14001b147
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001b147
mov r11b, 0x23
lea rbx, [0x1400e8c50]
cmp dl, r11b
jne 0x14001b12b
cmp byte [r10], r11b
jne 0x14001b12b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x14001b119
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x14001b27c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x14001b29c
and qword [r8], 0
lea rdx, [0x1400ee7e0]
call fcn.14001b158
mov rbx, rax
test rax, rax
je 0x14001b38d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001b384
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001b384
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001b384
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001b384
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x14001b384
mov rax, qword [0x1401037e8]
test rax, rax
je 0x14001b321
inc dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14001b384
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x14001b371
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401037e8]
test rax, rax
je 0x14001b366
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001b38d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001b37f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14001b38f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001df84
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf8]
mov r11d, 4
mov rax, qword [rcx + 0x100]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1400e8c50]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14001dfc3
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14001dffd
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.14002fe64
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140063600
add rsp, 0x30
pop rbx
ret

Function at 0x14001e014
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x118]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x11c]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x100]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf8]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1400e8c50]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14001e091
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140063600
add rsp, 0x28
ret

Function at 0x14002eb34
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002ebcd
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14002eb85
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140030d8c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14001bc68
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1401037d5]
movsxd r8, eax
mov rax, qword [rdi + 0x5cb8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14002ebd5
mov rcx, rbx
call fcn.14001bc68
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002f270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401037e8]
mov rbx, rcx
and dword [rax + 0x5c0c], 0
test rcx, rcx
je 0x14002f2d9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14002f2e4
lea rdx, [0x1400ee7e4]
mov rcx, rbx
mov rdi, rax
call fcn.14001b158
mov rbx, rax
test rax, rax
je 0x14002f2d9
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 rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a04c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x14005a08d
xor al, al
jmp 0x14005a1c1
lea rdx, str.CreateWindowInBand
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rbp + 7], 0
xor ecx, ecx
and dword [rbp + 0xb], 0
mov rdi, rax
lea rax, [0x14005a3c8]
mov dword [rbp - 9], 0x50
mov qword [rbp - 1], rax
mov dword [rbp - 5], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbx + 0xc0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp + 0xf], rax
cmp qword [rcx + 0x18], 7
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 0x27], xmm1
jbe 0x14005a0ee
mov rcx, qword [rcx]
and qword [rbp + 0x3f], 0
mov qword [rbp + 0x37], rcx
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea r8, [rbx + 0x80]
cmp qword [r8 + 0x18], 7
jbe 0x14005a112
mov r8, qword [r8]
mov rcx, qword [rbp + 0xf]
mov r9d, 0x80000000
mov dword [rsp + 0x60], 2
movzx edx, ax
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rcx
mov ecx, 0x64
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov ecx, 0x8000028
call rdi
mov rcx, qword [rbp + 0xf]
mov rdx, rax
mov qword [rbx + 0x58], rcx
mov qword [rbx + 0x50], rax
mov qword [0x1401037b0], rax
call fcn.14005948c
test al, al
jne 0x14005a1a0
lea rcx, [0x140103898]
call fcn.140059610
mov rdx, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14005a086
mov rcx, qword [rbx + 0x50]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rbx + 0x50], 0
setne al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140063600
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14005a828
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
lea rcx, [rbp - 0x38]
movsxd rdi, r9d
mov rsi, r8
call fcn.140005248
mov edx, dword [0x1401022d8]
lea r8, [rbp + 0x28]
add rdx, qword [0x140103788]
xor r14d, r14d
mov dword [rbp + 0x28], r14d
call fcn.140013aa0
test al, al
je 0x14005a96e
mov ebx, dword [rbp + 0x28]
cmp ebx, 0xffffffff
jne 0x14005a894
mov rax, qword [rbp - 0x38]
mov qword [0x140103820], rax
mov al, 1
jmp 0x14005a970
mov eax, ebx
mov dword [rbp + 0x2c], r14d
shr eax, 9
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
lea eax, [rax*8 + 0x10]
mov dword [rbp + 0x28], eax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
call fcn.14005aa68
mov rdx, qword [0x140103670]
mov r8, rax
call fcn.14005a674
test rax, rax
je 0x14005a96e
mov ecx, ebx
mov qword [rbp + 0x28], r14
and ecx, 0x1ff
lea r8, [rbp + 0x28]
imul rdx, rcx, 0x78
add rdx, rax
call fcn.1400043b0
test al, al
je 0x14005a96e
mov edx, dword [0x1401022ac]
lea r8, [rbp + 0x20]
mov rbx, qword [rbp + 0x28]
add rdx, rbx
mov dword [rbp + 0x20], r14d
call fcn.1400127d0
test rbx, rbx
je 0x14005a93f
mov edx, dword [0x1401022f8]
lea r8, [rbp + 0x28]
add rdx, rbx
call fcn.14001274c
mov edx, dword [0x1401022dc]
lea r8, [rbp - 0x40]
add rdx, rbx
call fcn.1400127d0
mov edx, dword [rbp + 0x20]
mov cl, byte [rbp + 0x28]
test edx, edx
jle 0x14005a94f
mov al, 1
test cl, cl
je 0x14005a952
mov al, r14b
cmp byte [0x14010210c], r14b
je 0x14005a985
mov eax, dword [rbp - 0x40]
cmp dword [0x140103798], eax
je 0x14005a96e
test edx, edx
jle 0x14005a96e
test cl, cl
je 0x14005a989
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test al, al
je 0x14005a96e
mov rbx, qword [rbp - 0x38]
imul rdx, rdi, 0xf4240
mov rcx, rbx
sub rcx, qword [0x140103820]
cmp rcx, rdx
je 0x14005a9a9
jl 0x14005a88d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14005a9fc
cmp byte [rbp + 0x40], r14b
je 0x14005a9d0
movd xmm1, dword [rbp + 0x48]
movss xmm0, dword [rsi]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x14005a96e
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x140103820], rbx
jmp 0x14005a88d