joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d4b3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d4bba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d4bb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d4bb1
mov rax, qword [rbp - 8]
jmp 0x2fc4d4bcf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d4b84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800111cc
Capabilities:
Print debug messages

Disassembly:
jmp 0x180012fa4
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x180026036]
call fcn.18001136b
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x180012fe3
jmp 0x180012ff0
lea rcx, str.DllMain
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x180011212
Capabilities:
Terminate process

Disassembly:
jmp 0x180018a50
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 0x1800113a7
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001201c
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x3b0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3d8]
lea rcx, [0x180026036]
call fcn.18001136b
mov qword [rbp + 8], 0
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180012082
xor eax, eax
jmp 0x1800121f4
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x4550
je 0x1800120b0
mov rax, qword [rbp + 8]
jmp 0x1800121f4
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rbp + rax + 0xe0], 0
jne 0x1800120e2
mov rax, qword [rbp + 8]
jmp 0x1800121f4
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xe0]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1f4], 0
jmp 0x18001217a
mov eax, dword [rbp + 0x1f4]
inc eax
mov dword [rbp + 0x1f4], eax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0x1f4], eax
jae 0x1800121f0
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x1d8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rbp + 0x3b8]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x1800121eb
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x1b8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x198]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
jmp 0x1800121f0
jmp 0x18001216c
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18001d8d0]
call fcn.18001130c
mov rax, rdi
lea rsp, [rbp + 0x390]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001230
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140001300
cmp byte [rax + 0x3a], 0
je 0x14000125a
mov rcx, rax
call fcn.140001140
mov byte [rax + 0x3a], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.Enter_an_IP_address:
call fcn.140001020
mov r8d, 0x10
lea rdx, [rsp + 0x40]
lea rcx, str._15s
call fcn.140001080
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x40]
call fcn.1400010e0
mov edx, dword [rsp + 0x30]
lea rcx, str.The_result_is:_0x_X_n
add edx, dword [rsp + 0x34]
add edx, dword [rsp + 0x38]
add edx, dword [rsp + 0x3c]
xor edx, 0x5a
call fcn.140001020
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001450
add rsp, 0x68
ret

Function at 0x140001e48
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002939c
cmp rax, 0xffffffffffffffff
je 0x14002939c
xor edi, edi
test rbp, rbp
jle 0x140029347
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f158
mov rbx, rax
test rax, rax
jne 0x1400292d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002933d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a178
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d520
cmp eax, 0xffffffff
je 0x14002931d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400292e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a178
jmp 0x14002933d
cmp byte [rsi + 0x38], dil
je 0x140029334
cmp dword [rsi + 0x34], 5
jne 0x140029334
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002933d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001af0c
jmp 0x1400293b0
jns 0x1400293b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c844
cmp rax, 0xffffffffffffffff
jne 0x140029368
cmp byte [rsi + 0x30], dil
je 0x1400293b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400293b0
mov ecx, r14d
call fcn.140018630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400293b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400293b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400293a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400293ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c844
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140f5b1c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5b1d2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5b1fb
pop rbp
sub rbp, 0x33
sub rbp, 0xf5b1c8
sub rsp, 0x20
jmp 0x140f5b21a
mov rax, 0xf5b1c8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6278aed0
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f5b239
jmp 0x140f5b250
cwde
pop rcx
cmp dword [rbx + 0x59], ebx
in al, dx
rcl al, 1
rcr byte [rax - 0x2e27eeaf], 1
rcl al, 1
cwde
sar dword [rcx], 1
cwde
invalid
Function at 0x14000bbe0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
xor edx, edx
test r10, r10
cmovne edx, eax
jmp fcn.14000c710

Function at 0x14000c2e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000c2fb
mov qword [r8], 0
call fcn.14000c430
mov rbx, rax
test rax, rax
jne 0x14000c311
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, rbx
mov qword [rsp + 0x50], r15
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000c3fe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000c3fe
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000c3fe
mov rax, qword [0x1400a8838]
mov rsi, rdi
test rax, rax
je 0x14000c377
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400a8848]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000c3fe
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rsi
je 0x14000c3d6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a8838]
test rax, rax
je 0x14000c3c4
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400a8848]
mov rcx, rdi
call qword [0x140081008]
jmp 0x14000c407
test ebp, ebp
jle 0x14000c3e8
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000c3f9
mov qword [r14], rsi
mov rax, rdi
jmp 0x14000c409
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x14000c710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400a8864], 0
lea rdi, [0x1400a8860]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14000c7e8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x14000c740
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000c81e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x14000c800
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000c85f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14000c843
cmp byte [r8], r9b
jne 0x14000c843
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 [rdi + rdx*4]
test r9b, r9b
jne 0x14000c830
not eax
pop rdi
ret
Function at 0x1400148e0
Capabilities:
Write file on windows

Disassembly:
push rdi
push r15
sub rsp, 0x28
mov rax, qword [0x1400a8838]
xor edi, edi
mov r15, rcx
mov dword [rax + 0x2d9c], edi
test rcx, rcx
je 0x140014a0f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov rsi, qword [0x1400a8838]
lea rbx, [rsi + 0x2da0]
mov dword [rsi + 0x2d9c], edi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140014945
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140017a30
mov dword [rbx], edi
cmp dword [rbx + 4], edi
jne 0x140014959
mov edx, 8
mov rcx, rbx
call fcn.140017a30
movsxd rcx, dword [rbx]
mov ebp, edi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], dil
inc dword [rbx]
cmp dword [rsi + 0x2db0], edi
jle 0x1400149aa
mov qword [rsp + 0x20], r14
mov r14, rdi
nop dword [rax + rax]
mov r9, qword [rsi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rsi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rsi + 0x2db0]
jl 0x140014980
mov r14, qword [rsp + 0x20]
cmp qword [rbx + 8], rdi
je 0x1400149b4
mov edi, dword [rbx]
dec edi
mov rax, qword [rsi + 0x2da8]
lea rdx, [0x140053cb4]
test rax, rax
movsxd rbp, edi
lea rdi, [0x1400a8840]
mov rcx, r15
cmovne rdi, rax
call fcn.14000c430
mov rsi, qword [rsp + 0x50]
mov rbx, rax
test rax, rax
je 0x140014a05
mov r9, rax
mov r8, rbp
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 + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x28
pop r15
pop rdi
ret
Function at 0x14001abc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001ad77
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001ac56
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001ded0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140018410
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001ac47
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140017b70
mov dword [rbx + 0x80], 0
jmp 0x14001ad63
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001e410
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140028080
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400a83c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14000bc10
mov rcx, qword [0x1400a8cb8]
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movd xmm1, ecx
mov ecx, dword [rsp + 0x44]
sub ecx, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xorps xmm1, xmm1
sub rax, qword [0x1400a8cc0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400a8cc8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x1400a8cc0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.14000bc10
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x1400281ad
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x20]
cvttss2si eax, dword [rax + 0x114]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1400a8cb8]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400a8cb8]
jne 0x140028209
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140028209
mov rcx, qword [0x1400a8cb8]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140028209
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140028219
mov eax, 0xffffffff
jmp 0x14002821e
call fcn.14000bc20
cmp dword [0x140081138], eax
je 0x140028231
mov dword [0x140081138], eax
call fcn.140028260
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140050730
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14004b050
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a83c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14004b123
cmp byte [rcx + 0x71], 0
je 0x14004b123
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004b11f
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 0x14004b0e4
sub eax, 1
je 0x14004b0e8
cmp eax, 2
jne 0x14004b11f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050730
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14004b116
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 0x14004b11f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004b0cc
xor al, al
jmp 0x14004b0cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050730
add rsp, 0x60
pop rbx
ret

Function at 0x14004b5a0
Capabilities:
Manipulate console buffer

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a83c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov ecx, 0xfffffff5
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rsp + 0x38]
lea rax, [rsp + 0x34]
movsx r8d, word [rsp + 0x3a]
mov dl, 0x20
mov r9d, dword [rsp + 0x30]
imul r8d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
movsx eax, word [rsp + 0x38]
mov edx, 7
movsx r8d, word [rsp + 0x3a]
mov rcx, rdi
mov r9d, dword [rsp + 0x30]
imul r8d, eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140050730
add rsp, 0x60
pop rdi
ret