joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058e70
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b148]
test ecx, ecx
je 0x140058ea3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058ebc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x140058ebc
add rcx, 0x10
jmp 0x140058fb9
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h49c2100727a863e8
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058e90
mov ecx, dword [0x14009b148]
test ecx, ecx
je 0x140058f9a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058fb7
mov rdi, rax
test rax, rax
jne 0x140058f32
mov rax, qword [0x1400c0808]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140058fd6
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b148]
test ecx, ecx
je 0x140058fc3
dec ecx
mov rdx, rdi
call fcn.14009858c
test rsi, rsi
je 0x140058f4f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x140058f84
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140058f7f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140058f84
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x140058fb9
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h49c2100727a863e8
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058edb
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h49c2100727a863e8
mov ecx, eax
jmp 0x140058f2a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14008da40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008daba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14008dab0
cmp r11, r10
ja 0x14008db45
cmp r10, rdx
ja 0x14008db57
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008dab2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008da90
jmp 0x14008db27
ja 0x14008daba
mov r11, r10
cmp rax, r8
jne 0x14008da62
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008db2b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14008db00
mov r8, r10
sub ecx, r9d
jns 0x14008db1e
jmp 0x14008db2d
cmp r10, rdx
je 0x14008db39
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008db2d
xor al, 1
cmp r8, rdx
jne 0x14008dae0
jmp 0x14008db2d
xor eax, eax
jmp 0x14008db2d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400b5858]
call sym.core::option::unwrap_failed::h37b1e1ef647301c4
lea r8, str._X_v_
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, str._X_v_
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x140099370
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400993e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400ce234]
mov rbx, rcx
test esi, esi
jle 0x140099510
mov rax, qword [0x1400ce238]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14009942b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400994b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140099410
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140099532
mov rax, qword [0x1400ce238]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400ce238]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140099517
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400994ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400994c0
add dword [0x1400ce234], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400ce238]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400994ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140099438
mov rax, qword [0x1400ce238]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140099ac0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400ce2a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ce280]
test rbx, rbx
je 0x140099b1c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140099b13
test eax, eax
jne 0x140099b13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140099af8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140099d30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140099d48
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140099d50
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140099d60
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140099dad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140099da4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140099daf
add rax, 0x28
cmp rax, r9
jne 0x140099d90
xor eax, eax
ret

Function at 0x140099db0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140099e40
mov rdx, qword [0x1400c0720]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140099e2e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140099e2e
cmp word [rax + 0x18], 0x20b
jne 0x140099e2e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140099e40
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140099e19
add rbx, 0x28
cmp rbx, rdi
je 0x140099e40
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140099e10
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140099e50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c0720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140099e70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140099e78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140099e70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140099ecd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140099ec4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140099e70
add rax, 0x28
cmp rax, r9
jne 0x140099eb0
xor eax, eax
ret

Function at 0x140099ed0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c0720]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140099eef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140099ef8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140099eef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140099f10
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c0720]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140099f30
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140099f38
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140099f30
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140099f80
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140099f77
test rcx, rcx
je 0x140099f30
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140099f68
xor eax, eax
ret

Function at 0x140099f90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c0720]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140099faf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140099fb8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140099fd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c0720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140099ff0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140099ff8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140099ff0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140099ff0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14009a044
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14009a050
add rdx, 0x28
cmp rdx, r9
jne 0x14009a030
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14009a060
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400c0720]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14009a082
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14009a090
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009a082
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14009a082
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14009a082
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14009a0e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14009a0f8
add rdx, 0x28
cmp r10, rdx
jne 0x14009a0d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14009a107
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14009a117
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14009a0ee
test ecx, ecx
jg 0x14009a100
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1401344be
Capabilities:
Encode data using base64

Disassembly:
jbe 0x140167511
mov rsi, r10
mov qword [rsp + rdi*2 - 0x484c0618], rdi
jge 0x1401482ee
dec r10w
dec cx
or word [rsp + rcx - 0x2ffdba63], cx
sar cx, cl
ror r10w, 1
and cl, ch
sar cl, 4
not r10w
jae 0x1401415fc
mov dword [rbx], r8d
lea rsp, [rsp + 0x10]
jmp fcn.1401520fe
mov eax, 0x412c824
mov rax, qword [rbp + rbx*8 + 0x20]
push 0xffffffffc30e059a
mov qword [rsp], rax
push 0x251dec94
sub rbx, 4
push 0xffffffff9381cb3a
mov dword [rbx], ebp
lea rsp, [rsp + 0x10]
jmp fcn.140152f78
adc cl, byte [rsp + rcx - 0x2ffdfbf3]
adc r10w, 0x912d
shr cx, 0x2f
xor r11w, r10w
neg ecx
not dword [rsp]
lea r10, [rsp + r10 + 8]
mov rcx, qword [r10]
jno 0x140166e48
rol dil, 1
not dil
shl bp, 0x41
rol dil, 1
sub dil, 0x3f
or rbp, 0xffffffffa98b11ae
xor r11b, dil
rol ebp, 0x3d
add rdi, rsp
inc bp
mov ebp, dword [rdi]
jne 0x14013e5df
mov r8, r10
call fcn.1401329c4
mov word [r10], di
jmp 0x1401518e6
movzx r10d, r11w
pop rax
jg 0x1401537c4
call fcn.1401581be
mov ecx, 0xb307a40c
mov r10, qword [rbx]
add rcx, rcx
jno 0x14016ac90
lea rsp, [rsp + 0x10]
jne 0x140135207
mov r9d, 0x12a4ea26
not r9
not r9b
mov r9, rax
push 0xffffffffc4afa73e
lea rsp, [rsp + 8]
jmp fcn.14013521a
neg dil
not ebp
lea rbp, [rbp*8 - 0x5c40f844]
jmp 0x1401416e0
xadd cl, ch
mov ecx, dword [r10]
push 0xffffffffa683bdb5
adc rbx, 4
mov dword [rbx], ecx
push 0xe2cec98
lea rsp, [rsp + 0x10]
jmp fcn.1401520fe

Function at 0x14014c4f9
Capabilities:
Encode data using xor

Disassembly:
mov rbp, qword [rbx + 8]
add rbx, 0xc
xor edi, edi
mov qword [rsp], 0xffffffffe593311d
test rbp, rbp
lea rsp, [rsp + 8]
je 0x14014c56b
mov eax, 0x5c2850b6
lea rcx, [0x140154ec8]
mov eax, 0x893acd27
movzx eax, byte [r9]
push 0x4f11bcb0
xor eax, edi
and eax, 0xff
mov eax, dword [rcx + rax*4]
shr edi, 8
xor edi, eax
inc r9
xor edi, 0xb7287404
dec rbp
push 0xfffffffffc386b2b
push 0xfffffffff6bc732f
push 0x250202ac
lea rsp, [rsp + 0x20]
jne 0x14014c528
not edi
jmp 0x14014d49d
mov dword [rbx], edi
call fcn.14013c6fd

Function at 0x140159a29
Capabilities:
Encode data using xor

Disassembly:
pop rbx
push 0xffffffffe49a0822
push 0xffffffff939d88a0
not eax
jmp 0x14016be0e
lea rbx, [0x140157b90]
lea rsp, [rsp + 8]
mov r10d, 0x8c2f9b85
push r10
shl r10, 0xf9
movzx r10d, byte [r9]
xor r10d, eax
shl qword [rsp], 0x20
and r10d, 0xff
rol byte [rsp + 3], 0xc4
mov r10d, dword [rbx + r10*4]
shr eax, 8
xor eax, r10d
push 0xffffffff999114ba
inc r9
xor eax, 0x1881f2bb
push 0xffffffff8a0e2b87
dec r8
lea rsp, [rsp + 0x18]
jne 0x140159a35
mov ebx, 0x4cbb8e24
jmp 0x140148303
mov dword [rbx], eax
push 0x5ea550ae
lea rsp, [rsp + 0x18]
jmp fcn.1401520fe
Function at 0x140009540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x58
mov rax, qword [0x1400efe40]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [r8 + 0x18], 0xf
mov r15, rdx
mov r10, qword [r8 + 0x10]
mov rdx, r8
movzx ebp, r9b
mov rsi, rcx
jbe 0x140009574
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400095a3
movabs r11, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x140009590
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x20]
call fcn.1400022d0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400095be
mov rcx, qword [rsi + 0x28]
cmp rcx, qword [rsi + 0x28]
je 0x1400096e5
cmp byte [rsp + 0xa0], 0
mov qword [rsp + 0x98], rdi
lea rdi, [rcx + 0x30]
mov qword [rsp + 0x50], r14
lea r14, [rcx + 0x50]
je 0x140009639
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rsp + 0x3e]
sub eax, dword [r15 + 0x10]
movsx ecx, word [rsp + 0x3a]
sub eax, ecx
inc eax
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x140009639
mov ebx, eax
nop dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400a5e68]
call fcn.140001cb0
sub rbx, 1
jne 0x140009620
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400a5e70]
call fcn.140001cb0
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
jbe 0x14000965a
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140002720
cmp qword [r14 + 0x18], 0xf
mov r8, qword [r14 + 0x10]
mov rdi, qword [rsp + 0x98]
jbe 0x14000967b
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.140002720
cmp qword [rsi + 0x18], 0xf
mov r8, qword [rsi + 0x10]
mov r14, qword [rsp + 0x50]
jbe 0x140009699
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140002720
lea rdx, [0x1400a5e6c]
mov rcx, rax
call fcn.140001cb0
cmp qword [r15 + 0x18], 0xf
mov r8, qword [r15 + 0x10]
jbe 0x1400096c1
mov r15, qword [r15]
mov rdx, r15
mov rcx, rax
call fcn.140002720
test bpl, bpl
jne 0x1400096e5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140002e20]
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 + 0x48]
xor rcx, rsp
call fcn.14009f740
add rsp, 0x58
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009770
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400efe40]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea rsi, [rsp + 0xa8]
movabs rbp, 0xff00ff00ff00ff00
xor r14d, r14d
nop dword [rax]
mov rcx, qword [0x1400f5e38]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x38], rax
mov qword [rsi], r14
call qword [0x1400f5978]
nop
mov qword [rsi], rbx
mov rcx, qword [0x1400f5e38]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x38], rax
mov qword [rsi], r14
mov edx, 5
call qword [0x1400f5960]
nop
mov qword [rsi], rbx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400f5e38]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140009864
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.14001c3d0
mov rbx, rax
mov rcx, qword [0x1400f5e38]
mov qword [rax + 0xc0], rcx
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdf8], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400098da
mov byte [rbx + 0xe00], 1
mov byte [rbx + 0x3738], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
jmp 0x1400098e1
mov byte [rbx + 0xe00], 0
mov rcx, qword [0x1400f5e28]
xor r8d, r8d
mov rax, qword [rcx]
cmp byte [0x1400f58bc], r8b
je 0x1400098fd
lea edx, [r8 + 1]
jmp 0x1400098ff
xor edx, edx
call qword [rax + 0x40]
call fcn.140043170
call fcn.140044040
call fcn.140022cc0
mov rcx, qword [0x1400f59a0]
call fcn.140004cf0
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000993e
cmp byte [0x1400ef73b], 0
sete al
mov byte [0x1400ef73b], al
jmp 0x140009945
movzx eax, byte [0x1400ef73b]
test al, al
je 0x140009951
mov rcx, rdi
call fcn.140007fc0
call fcn.1400246a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rcx, qword [0x1400f5e20]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400f5e30]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1400f5e20]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
mov rdx, qword [0x1400f5e30]
call qword [rax + 0x190]
call fcn.14001c090
mov rcx, rax
call fcn.1400431b0
cmp dword [rsp + 0x58], 0x12
jne 0x1400097d0
call fcn.140043e10
call fcn.140044350
xor ecx, ecx
call fcn.140019990
mov rcx, qword [0x1400f5e38]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009f740
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140017270
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1400f5e60]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1b0], 0
jne 0x1400172cf
cmp qword [rdi + 0x4bd8], 0
mov eax, 0x258
je 0x1400172d4
mov eax, 0x228
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x140017319
jne 0x140017319
mov eax, 1
jmp 0x14001731b
xor eax, eax
ucomiss xmm0, xmm3
jp 0x14001732a
jne 0x14001732a
mov r15d, 2
jmp 0x14001732d
xor r15d, r15d
movss xmm2, dword [0x1400a6860]
or r15d, eax
comiss xmm3, xmm1
jb 0x140017349
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x140017349
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14001735a
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14001735a
movaps xmm0, xmm2
or dword [rdi + 0x47f0], 2
xor edx, edx
movss dword [rdi + 0x4810], xmm1
movss dword [rdi + 0x4814], xmm0
mov dword [rdi + 0x47f8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x1400173a3
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14001cf90
jmp 0x1400173b9
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.14001cf90
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x1400173d0
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.140014840
mov rsi, qword [rdi + 0x3f08]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x140017416
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400a7a59]
not r9d
lea r10, [0x1400a6be0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140017443
cmp byte [rdx], r8b
jne 0x140017443
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140017430
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x140017473
xor edx, edx
xor ecx, ecx
call fcn.1400279a0
cmp dword [rdi + 0x4918], r14d
jne 0x1400174c0
bt r12d, 0x17
jb 0x1400174c0
cmp word [rsi + 0x15c], 0
jne 0x140017496
cmp byte [rsi + 0x162], 0
je 0x1400174c0
xor edx, edx
mov rcx, rsi
call fcn.14001b9f0
xor edx, edx
mov rcx, rsi
call fcn.14001f2e0
mov rdx, rsi
mov ecx, ebx
call fcn.1400279a0
mov eax, dword [rdi + 0x4940]
mov dword [rdi + 0x3f90], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret