joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027900
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [rcx]
test rdi, rdi
je 0x1400278f1
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400278f1
mov rax, qword [rdi + 0x48]
shr rax, 3
cmp rax, rcx
jbe 0x140027873
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140027900
lea rcx, [rdi + 8]
mov qword [rsp + 0x50], rsi
call fcn.140027a80
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400278ba
mov qword [rsp + 0x48], rbx
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1400a77c0
mov rcx, rbx
test rbx, rbx
jne 0x1400278a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 0x10]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 0x10]
mov qword [rax + 8], rax
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
call fcn.140005760
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
push rbx
push rbp
sub rsp, 0x28
mov rbx, r8
mov r11, rdx
mov rbp, rcx
cmp rdx, r8
je 0x140027a70
movzx eax, byte [r11 + 0x11]
mov r10, qword [rcx + 0x10]
mov r8, qword [r11]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rdx + 8]
movzx edx, byte [rdx + 0x10]
mov qword [rsp + 0x50], r12
movabs r12, 0xcbf29ce484222325
xor rdx, r12
mov qword [rsp + 0x58], r14
mov r14, qword [rcx + 0x28]
mov qword [rsp + 0x20], r15
movabs r15, 0x100000001b3
imul rdx, r15
xor rdx, rax
movzx eax, byte [r11 + 0x12]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r11 + 0x13]
imul rdx, r15
xor rdx, rax
imul rdx, r15
and rdx, qword [rcx + 0x40]
shl rdx, 4
add rdx, r14
mov rcx, qword [rdx + 8]
mov r9, qword [rdx]
cmp r11, rcx
je 0x1400279b4
nop dword [rax + rax]
mov rax, r8
cmp r8, rbx
je 0x140027a3e
mov r8, qword [r8]
cmp rax, rcx
jne 0x1400279a0
cmp r9, r11
jne 0x1400279bf
mov qword [rdx], r10
mov rdi, r10
mov qword [rdx + 8], rdi
cmp r8, rbx
je 0x140027a4b
nop dword [rax]
movzx eax, byte [r8 + 0x11]
mov rdx, r8
movzx r9d, byte [r8 + 0x10]
xor r9, r12
imul r9, r15
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, r15
xor r9, rax
movzx eax, byte [r8 + 0x13]
mov r8, qword [r8]
imul r9, r15
xor r9, rax
imul r9, r15
and r9, qword [rbp + 0x40]
shl r9, 4
add r9, r14
mov rcx, qword [r9 + 8]
cmp rdx, rcx
je 0x140027a30
nop word [rax + rax]
mov rax, r8
cmp r8, rbx
je 0x140027a48
mov r8, qword [r8]
cmp rax, rcx
jne 0x140027a20
mov qword [r9], r10
mov qword [r9 + 8], r10
cmp r8, rbx
jne 0x1400279d0
jmp 0x140027a4b
cmp r9, r11
jne 0x140027a4b
mov qword [rdx], r8
jmp 0x140027a4b
mov qword [r9], r8
mov rdx, r11
lea rcx, [rbp + 8]
call fcn.140027b10
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rax, rbx
add rsp, 0x28
pop rbp
pop rbx
ret
Function at 0x140027ca0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x128]
sub rsp, 0x220
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1401f2100]
xor rax, rsp
mov qword [rbp + 0xf8], rax
xor ebx, ebx
xorps xmm6, xmm6
movss xmm7, dword [0x1401dc488]
nop dword [rax]
cmp byte [0x140298a0c], 0
je 0x140027ce0
lea rcx, [rbp + 0x10]
call fcn.140026b30
mov qword [rbp + 0xc0], 0
movd xmm1, dword [0x1402989f8]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
movzx r9d, byte [0x140298a00]
mov r8d, dword [0x140298a04]
call fcn.14003a900
test al, al
jne 0x140027d34
lea rcx, [rbp + 0x10]
call fcn.140006bb0
jmp 0x140027ce0
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140026c20
mov r9d, 0x796e
mov r8, rax
lea rdx, [rsp + 0x30]
call fcn.140039a10
mov rcx, qword [0x140298980]
test rcx, rcx
jne 0x140027d6d
mov rdx, rbx
mov rcx, qword [0x1402984b0]
jmp 0x140027db2
mov rdx, qword [0x1402983c0]
add rdx, rcx
mov rcx, qword [0x1402984b0]
test rcx, rcx
je 0x140027dab
cmp dword [0x140298418], 0
je 0x140027dab
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402984b0]
mov rdx, qword [rbp + 0xe0]
test rcx, rcx
je 0x140027e17
cmp dword [0x140298418], 0
je 0x140027de3
add rdx, 0x78
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402984b0]
test rcx, rcx
je 0x140027e17
cmp dword [0x140298418], 0
je 0x140027e17
mov rdx, qword [rbp + 0xe8]
add rdx, 0x320
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [0x1402989fc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140027ee0
mov rdx, qword [rbp + 0x10]
add rdx, 0x70
mov rcx, qword [0x1402984b0]
test rcx, rcx
je 0x140027e68
cmp dword [0x140298418], 0
je 0x140027e68
mov qword [rsp + 0x20], rbx
mov r9d, 0xc
lea r8, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402984b0]
movss xmm2, dword [rsp + 0x38]
addss xmm2, dword [rbp + 0xd8]
movss xmm1, dword [rsp + 0x34]
addss xmm1, dword [rbp + 0xd4]
addss xmm2, xmm7
addss xmm1, xmm6
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rbp + 0xd0]
addss xmm0, xmm6
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm2
test rcx, rcx
je 0x140027ee0
cmp dword [0x140298418], 0
je 0x140027ee0
mov rdx, qword [rbp + 0xf0]
add rdx, 0x20
mov qword [rsp + 0x20], rbx
mov r9d, 0xc
lea r8, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea rcx, [rbp + 0x10]
call fcn.140006bb0
jmp 0x140027ce0
Function at 0x14003c1c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14003c1e4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14003c272
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003c240
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14003c240
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140115840
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003c25d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003c265
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14003c201
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x14003c350
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14003c289
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003c28b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003c2bd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140115840
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003c34d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003c2f8
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
cmp rsi, 0xfff
jbe 0x14003c32e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400d33e0
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003c34d
cmp rsi, rax
ja 0x14003c301
test rsi, rsi
je 0x14003c34d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400d33e0
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140040b40
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, r13
and rcx, qword [rsi + 0x40]
add rcx, rcx
mov rax, qword [rsi + 0x28]
mov rbx, qword [rax + rcx*8 + 8]
mov r15, qword [rsi + 0x10]
cmp rbx, r15
jne 0x140040bcc
mov rbx, r15
mov rbp, r15
jmp 0x140040c13
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140040be6
cmp rbx, rcx
je 0x140040c0d
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140040bd8
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x18], rax
je 0x140040d71
lea rax, [rsi + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1400a7240
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r12]
mov dword [rax + 0x10], ecx
xor r12d, r12d
mov dword [rax + 0x14], r12d
mov rdx, qword [rsi + 0x18]
add rdx, 1
xorps xmm0, xmm0
js 0x140040c6d
cvtsi2ss xmm0, rdx
jmp 0x140040c85
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x48]
xorps xmm1, xmm1
test rcx, rcx
js 0x140040c98
cvtsi2ss xmm1, rcx
jmp 0x140040cad
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x140040d12
mov rcx, rsi
call fcn.140027790
mov rdx, rax
mov rcx, rsi
call fcn.1400275d0
mov rdx, qword [rsi + 0x40]
and rdx, r13
add rdx, rdx
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 0x10]
cmp rax, rbx
je 0x140040d05
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140040d02
mov rbx, rax
cmp rax, rdx
je 0x140040d46
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140040cf1
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x18]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x40]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 0x10]
jne 0x140040d4d
mov qword [rcx + rax*8], rdi
jmp 0x140040d5f
mov qword [rsp + 0x20], rax
jmp 0x140040d0a
cmp r8, rbp
jne 0x140040d58
mov qword [rcx + rax*8], rdi
jmp 0x140040d64
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140040d64
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140040bed
lea rcx, [0x14013b950]
call fcn.1400a3e80
int3
Function at 0x140042790
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140042926
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 0x10]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x20]
lea rdx, [rdi + rdi]
call fcn.140004330
lea rax, [rdi - 1]
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x40], rax
mov rax, qword [rsi + 0x10]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400428f4
mov qword [rsp + 0x20], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x40]
shl r11, 4
add r11, qword [rsi + 0x28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004286d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400428e3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400428aa
mov r10, qword [rdx]
cmp r10, rax
je 0x1400428a4
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400428e3
cmp r9, rdx
je 0x1400428bf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140042900
cmp r9, rdx
jne 0x1400428b0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140042820
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400428e3
lea rcx, str.invalid_hash_bucket_count
call fcn.1400a3e80
int3

Function at 0x140045a60
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 0x140045abd
lea rbx, [0x14013d630]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140045aa4
cmp r10, 2
jb 0x140045aa4
cmp byte [r9], r8b
jne 0x140045aa4
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 0x140045a80
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140045aff
lea rbx, [0x14013d630]
cmp r8b, 0x23
jne 0x140045ae3
cmp byte [r9], r8b
jne 0x140045ae3
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 0x140045ad0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140045c00
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 0x140045c1e
mov qword [r8], r14
lea rdx, [0x14013d154]
call fcn.140045b10
mov rbx, rax
test rax, rax
jne 0x140045c43
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.1400d4d70
mov ebp, eax
cmp eax, 0xffffffff
je 0x140045d67
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1400d3d30
test eax, eax
jne 0x140045d67
mov rcx, rbx
call fcn.1400d4d70
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140045d67
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400d3d30
test eax, eax
jne 0x140045d67
cmp rdi, 0xffffffffffffffff
je 0x140045d67
mov rcx, rdi
call fcn.140049da0
mov rbp, rax
test rax, rax
je 0x140045d67
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400d33e0
mov rcx, rbx
cmp rax, rdi
je 0x140045d55
call fcn.1400cc9c0
mov r8, qword [0x140298400]
test r8, r8
je 0x140045d4b
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140045d40
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 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rbp
call fcn.1400d2050
jmp 0x140045d6f
call fcn.1400cc9c0
test rsi, rsi
je 0x140045d62
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140045d71
mov rcx, rbx
call fcn.1400cc9c0
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
Function at 0x140049540
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x14013d630]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x1400495d4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14005ebc0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400495f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x14013d630]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14005d880
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140298400]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14005d8e3
mov qword [rsp], rbx
lea rbx, [0x14013d630]
nop dword [rax]
cmp r9b, 0x23
jne 0x14005d8c3
cmp byte [r8], r9b
jne 0x14005d8c3
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 0x14005d8b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f70]
not eax
mov r8, qword [r10 + 0x5f78]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14005d90f
cmp dword [r8 + 8], eax
je 0x14005d916
add r8, 0x48
cmp r8, rcx
jne 0x14005d900
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400808c0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1401f2100]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140298400]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140080a7e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140080a7e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.140049da0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x14008094a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14008094d
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1401db490]
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 rax, qword [0x140298400]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x140080997
mov rsi, qword [rax + 0x90]
jmp 0x14008099a
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 0x1400809c5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140298400]
mov rcx, qword [rax + 0x4b30]
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
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140080a3e
inc rbx
cmp rbx, 5
jl 0x140080a20
jmp 0x140080a6a
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 0x140080a80
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a7220
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret