joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180036748
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800777d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18003679f
cmp word [rdx], r13w
jne 0x18003679f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800367a4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800368c9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800368ea
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800367dd
mov rdx, r9
mov word [rbx], cx
jmp 0x180036804
cmp r9, r8
jae 0x180036814
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800367be
jmp 0x1800368c9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800368be
cmp dword [rsp + 0x80], esi
je 0x1800368be
lea r8, [0x1800777d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180036896
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180036866
mov word [rbx], r13w
jmp 0x1800368c6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180036873
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800368c6
cmp word [rsp + 0x70], r13w
jne 0x1800368a3
cmp rbx, r14
je 0x180036860
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800373b0
cmp word [rsp + 0x70], r13w
je 0x1800368c9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800777d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800368c3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800368c9
Function at 0x18003930c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18003933c
xor eax, eax
jmp 0x1800393ff
mov rbp, rbx
cmp word [rax], si
je 0x180039361
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180039348
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180039344
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180034358
movsxd r14, eax
test eax, eax
jne 0x18003939f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180039335
mov rcx, r14
call fcn.18002de48
mov rdi, rax
test rax, rax
jne 0x1800393b8
xor ecx, ecx
call fcn.18002de0c
jmp 0x180039394
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180034358
test eax, eax
jne 0x1800393e9
mov rcx, rdi
call fcn.18002de0c
jmp 0x1800393f3
xor ecx, ecx
call fcn.18002de0c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18003941c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1800394a3
mov rsi, rbx
cmp word [rax], bp
je 0x180039462
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18003944c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180039448
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18002de48
mov rdi, rax
test rax, rax
je 0x180039490
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180019770
mov rbp, rdi
xor ecx, ecx
call fcn.18002de0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003f658
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.1800373b0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800373b0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18003f7a8
cmp rax, 0xffffffffffffffff
je 0x18003f7a8
xor edi, edi
test rbp, rbp
jle 0x18003f753
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18002df88
mov rbx, rax
test rax, rax
jne 0x18003f6e0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18003f749
mov edx, 0x8000
mov ecx, r14d
call fcn.18003f4dc
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.1800358d0
cmp eax, 0xffffffff
je 0x18003f729
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18003f6f0
mov edx, r15d
mov ecx, r14d
call fcn.18003f4dc
jmp 0x18003f749
cmp byte [rsi + 0x38], dil
je 0x18003f740
cmp dword [rsi + 0x34], 5
jne 0x18003f740
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18003f749
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18002de0c
jmp 0x18003f7bc
jns 0x18003f7bc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800373b0
cmp rax, 0xffffffffffffffff
jne 0x18003f774
cmp byte [rsi + 0x30], dil
je 0x18003f7bc
mov edi, dword [rsi + 0x2c]
jmp 0x18003f7bc
mov ecx, r14d
call fcn.18003aeb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18003f7bc
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 0x18003f7bc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18003f7b5
mov eax, dword [rsi + 0x2c]
jmp 0x18003f7ba
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800373b0
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 0x18003ff20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18003ff48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18003ff48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400279dc
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.14001b104
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b104
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027b2c
cmp rax, 0xffffffffffffffff
je 0x140027b2c
xor edi, edi
test rbp, rbp
jle 0x140027ad7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001da18
mov rbx, rax
test rax, rax
jne 0x140027a64
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027acd
mov edx, 0x8000
mov ecx, r14d
call fcn.140018a68
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.14001bde0
cmp eax, 0xffffffff
je 0x140027aad
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027a74
mov edx, r15d
mov ecx, r14d
call fcn.140018a68
jmp 0x140027acd
cmp byte [rsi + 0x38], dil
je 0x140027ac4
cmp dword [rsi + 0x34], 5
jne 0x140027ac4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027acd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400197c8
jmp 0x140027b40
jns 0x140027b40
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b104
cmp rax, 0xffffffffffffffff
jne 0x140027af8
cmp byte [rsi + 0x30], dil
je 0x140027b40
mov edi, dword [rsi + 0x2c]
jmp 0x140027b40
mov ecx, r14d
call fcn.140017594
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027b40
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 0x140027b40
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027b39
mov eax, dword [rsi + 0x2c]
jmp 0x140027b3e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b104
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 0x140028c30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028c58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028c58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140ecb538
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ecb542
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 0x140ecb56b
pop rbp
sub rbp, 0x33
sub rbp, 0xecb538
sub rsp, 0x20
jmp 0x140ecb58a
mov rax, 0xecb538
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x70d28161
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ecb5a9
jmp 0x140ecb5c0
sub eax, ebp
mov dl, ch
call 0x1a24e1726
sub eax, esp
movabs al, byte [0x2988602961616069]
cmpsb byte [rsi], byte [rdi]
movabs eax, dword [0x49a3a62961616169]
invalid
Function at 0x140002da8
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4daa12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4daaaa
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4daa8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4daa82
cmp qword [rbp - 0x10], 0
je 0x2fc4daa82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4daa48
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4daaab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dabb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dabd8
mov eax, 0
jmp 0x2fc4dac26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dac01
mov eax, 0
jmp 0x2fc4dac26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dac21
mov eax, 0
jmp 0x2fc4dac26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dac2c
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 0x2fc4dacaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4daca1
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 0x2fc4daca1
mov rax, qword [rbp - 8]
jmp 0x2fc4dacbf
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 0x2fc4dac74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003ec0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rsi, rdx
movsxd rdx, dword [0x1400f43d4]
mov rdi, rcx
movaps xmmword [rax - 0x28], xmm7
lea rcx, [0x1400f43f0]
movaps xmmword [rax - 0x38], xmm8
mov rbx, r9
shl rdx, 5
mov rbp, r8
add rdx, qword [0x1400f43d8]
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
call fcn.140004ba0
lea rdx, [rsp + 0x20]
mov r10d, dword [rax]
shl r10d, 5
movsxd r8, r10d
add r8, rbx
call fcn.140008090
movsd xmm7, qword [rax]
movsd xmm8, qword [rax]
movss xmm6, dword [rax + 8]
subss xmm8, dword [rdi + 0x20]
subss xmm6, dword [rdi + 0x28]
shufps xmm7, xmm7, 0x55
subss xmm7, dword [rdi + 0x24]
movaps xmm0, xmm8
xorps xmm6, xmmword [0x1400dd7b0]
movaps xmm1, xmm7
call fcn.14009f01c
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.14009f36c
movaps xmm9, xmm0
movaps xmm1, xmm8
mulss xmm9, dword [0x1400dd2a4]
movaps xmm0, xmm7
subss xmm9, dword [rdi + 0x38]
call fcn.14009f36c
movaps xmm10, xmm0
xorps xmm8, xmm8
mulss xmm10, dword [0x1400dd2a4]
movaps xmm0, xmm9
xorps xmm6, xmm6
xorps xmm7, xmm7
subss xmm10, dword [rdi + 0x3c]
movaps xmm1, xmm10
call fcn.14009f01c
movss xmm1, dword [0x1400f43c8]
comiss xmm1, xmm0
jbe 0x140003fcd
movaps xmm6, xmm9
movaps xmm7, xmm10
movss xmm2, dword [0x1400dd2b0]
comiss xmm6, xmm2
movss xmm1, dword [0x1400dd2d4]
movss xmm0, dword [0x1400dd2c4]
jbe 0x140003fef
comiss xmm0, xmm6
jae 0x140004005
comiss xmm6, xmm0
jbe 0x140003ff8
subss xmm6, xmm1
movss xmm2, dword [0x1400dd350]
comiss xmm2, xmm6
jbe 0x140004008
movaps xmm6, xmm2
comiss xmm7, xmm0
jbe 0x140004011
subss xmm7, xmm1
movss xmm0, dword [0x1400dd358]
comiss xmm0, xmm7
jbe 0x140004022
addss xmm7, xmm1
divss xmm6, dword [0x1400f43c4]
divss xmm7, dword [0x1400f43c4]
ucomiss xmm6, xmm8
jp 0x140004057
jne 0x140004057
ucomiss xmm7, xmm8
jp 0x140004057
jne 0x140004057
ucomiss xmm8, xmm8
jp 0x140004057
jne 0x140004057
mov qword [0x1400f4100], 0
jmp 0x1400040ba
cmp byte [0x1400f4400], 0
je 0x14000408b
movsxd rdx, dword [0x1400f4404]
lea rcx, [0x1400f4438]
shl rdx, 5
add rdx, qword [0x1400f4420]
call fcn.140004ba0
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400040ba
addss xmm6, dword [rsi]
addss xmm7, dword [rsi + 4]
movss xmm1, dword [rsi + 8]
lea r8, [rsp + 0x20]
addss xmm1, xmm8
mov rdx, rbp
unpcklps xmm6, xmm7
movsd qword [rsp + 0x20], xmm6
movss dword [rsp + 0x28], xmm1
call fcn.1400083c0
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rdi
ret
Function at 0x140020ab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dil, 1
mov qword [rsp + 0xd0], rbx
movzx esi, dil
mov r14, rdx
mov rbp, rcx
nop word [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140020b06
test sil, sil
sete sil
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140020b6b
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x58], 0x12
je 0x140020b68
test dil, dil
je 0x140020b6b
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140020b25
jmp 0x140020b6b
xor dil, dil
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140020cc0
mov rax, qword [0x1400f41b8]
test rax, rax
je 0x140020b94
mov rcx, qword [rax + 0x98]
jmp 0x140020b96
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x140020ba2
call fcn.14004f2b0
call fcn.1400503a0
call fcn.1400283a0
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movsd xmm1, qword [r14 + 0x10]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.14000c6f0
test sil, sil
je 0x140020be1
movzx ecx, dil
call fcn.14001f090
mov r8d, 0x80088
jmp 0x140020be7
mov r8d, 0x800a8
mov rcx, qword [rbp + 0x58]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.140029f80
call fcn.14002a3a0
mov rcx, qword [rbp + 0xb8]
lea r8, [rbp + 0xc8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x80], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [rbp + 0xb8]
lea r8, [rsp + 0x80]
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400f41b8]
mov rcx, qword [rax + 0x48d8]
mov rax, qword [rcx]
xor ecx, ecx
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14004e650
mov rcx, qword [rbp + 0xc0]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
jne 0x140020af0
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140076500
mov rbp, qword [rsp + 0xd8]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret
mov rcx, rbp
call fcn.140020cd0
xor ecx, ecx
call fcn.14007c560
int3
Function at 0x140023520
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 0x14002357d
lea rbx, [0x1400d6cb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140023564
cmp r10, 2
jb 0x140023564
cmp byte [r9], r8b
jne 0x140023564
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 0x140023540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400235bf
lea rbx, [0x1400d6cb0]
cmp r8b, 0x23
jne 0x1400235a3
cmp byte [r9], r8b
jne 0x1400235a3
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 0x140023590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400236c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400236de
mov qword [r8], r14
lea rdx, [0x1400d67f0]
call fcn.1400235d0
mov rbx, rax
test rax, rax
jne 0x140023703
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400808c0
mov ebp, eax
cmp eax, 0xffffffff
je 0x140023827
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1400813fc
test eax, eax
jne 0x140023827
mov rcx, rbx
call fcn.1400808c0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140023827
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400813fc
test eax, eax
jne 0x140023827
cmp rdi, 0xffffffffffffffff
je 0x140023827
mov rcx, rdi
call fcn.140027960
mov rbp, rax
test rax, rax
je 0x140023827
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140082178
mov rcx, rbx
cmp rax, rdi
je 0x140023815
call fcn.14008105c
mov r8, qword [0x1400f41b8]
test r8, r8
je 0x14002380b
movsx rdx, word [r8 + 0x5e38]
lea rcx, [r8 + 0x5e3c]
mov r9d, dword [r8 + 0x3e38]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140023800
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 + 0x5e38], cx
movsx rax, cx
lea rcx, [r8 + 0x5e3c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5e34]
mov rcx, rbp
call fcn.14007fd44
jmp 0x14002382f
call fcn.14008105c
test rsi, rsi
je 0x140023822
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140023831
mov rcx, rbx
call fcn.14008105c
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret