joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ccb0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r9, qword [r8]
and dword [rsp + 0x50], 0
mov rdi, rdx
add r9, 2
mov rsi, r8
movabs r13, 0xaaaaaaaaaaaaaaab
mov rax, r13
mov bpl, 0x3d
mov rbx, rcx
mov r8b, bpl
mul r9
shr rdx, 1
shl rdx, 2
call fcn.140005438
cmp qword [rbx + 0x18], 0x10
jb 0x14001cd09
mov r11, qword [rbx]
jmp 0x14001cd0c
mov r11, rbx
mov r9, qword [rsi]
mov rax, r13
xor r10d, r10d
mov r8, r9
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul r9
shr rdx, 1
lea rcx, [rdx + rdx*2]
sub r8, rcx
sub r9, r8
je 0x14001cdb8
lea rcx, [r9 - 1]
mov rax, r13
lea r12, [rdi + 1]
mul rcx
mov rsi, rdx
shr rsi, 1
inc rsi
movzx eax, byte [r12]
movzx ecx, byte [r12 - 1]
add r12, 3
shl ecx, 8
or ecx, eax
movzx eax, byte [r12 - 2]
shl ecx, 8
or ecx, eax
movsxd rdx, ecx
mov rax, rdx
sar rax, 0x12
mov al, byte [rax + r14]
mov byte [r10 + r11], al
mov rax, rdx
add r10, 4
sar rax, 0xc
and eax, 0x3f
mov al, byte [rax + r14]
mov byte [r10 + r11 - 3], al
mov rax, rdx
and edx, 0x3f
sar rax, 6
and eax, 0x3f
dec rsi
mov al, byte [rax + r14]
mov byte [r10 + r11 - 2], al
mov al, byte [rdx + r14]
mov byte [r10 + r11 - 1], al
jne 0x14001cd4c
test r8, r8
je 0x14001ce24
dec r8
movzx edx, byte [r9 + rdi]
je 0x14001cdd2
movzx eax, byte [r9 + rdi + 1]
shl edx, 8
or edx, eax
mov eax, edx
mov ecx, edx
sar eax, 2
sar ecx, 0xa
and ecx, 0x3f
test r8, r8
cmovne eax, ecx
mov ecx, edx
cdqe
sar ecx, 4
mov al, byte [rax + r14]
and ecx, 0x3f
mov byte [r10 + r11], al
mov eax, edx
and eax, 3
shl eax, 4
test r8, r8
cmovne eax, ecx
cdqe
mov al, byte [rax + r14]
mov byte [r10 + r11 + 1], al
je 0x14001ce1f
and edx, 0xf
shl edx, 2
movsxd rax, edx
mov bpl, byte [rax + r14]
mov byte [r10 + r11 + 2], bpl
mov rbp, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14001ce90
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rsi, rdx
mov rdi, rcx
and dword [rsp + 0x90], 0
mov rbx, qword [r8]
test rbx, rbx
jne 0x14001cee8
mov qword [rcx + 0x18], 0xf
and qword [rcx + 0x10], rbx
mov byte [rcx], bl
xor r8d, r8d
lea rdx, [0x140028726]
call fcn.1400015dc
jmp 0x14001d02a
xor ebp, ebp
mov rax, rbx
lea r15d, [rbp + 1]
and eax, 3
jne 0x14001cf02
cmp byte [rbx + rdx - 1], 0x3d
je 0x14001cf02
xor r12d, r12d
jmp 0x14001cf12
mov r12, r15
cmp rax, 2
ja 0x14001cf17
cmp byte [rbx + rdx - 2], 0x3d
jne 0x14001cf17
xor r13d, r13d
jmp 0x14001cf1a
mov r13, r15
sub rbx, r12
and rbx, 0xfffffffffffffffc
mov rdx, rbx
shr rdx, 2
lea rax, [r13 + rdx*2]
add rdx, rax
add rdx, r12
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140005438
nop
lea r9, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae r9, qword [rsp + 0x28]
lea r10, [0x14002ac90]
test rbx, rbx
je 0x14001cfc1
lea r8, [rsi + 1]
lea rdx, [rbx - 1]
shr rdx, 2
add rdx, r15
movzx eax, byte [r8 - 1]
mov ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8]
or ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8 + 1]
or ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8 + 2]
or ecx, dword [r10 + rax*4]
mov eax, ecx
sar eax, 0x10
mov byte [r9 + rbp], al
add rbp, r15
mov eax, ecx
sar eax, 8
mov byte [r9 + rbp], al
add rbp, r15
mov byte [r9 + rbp], cl
add rbp, r15
add r8, 4
sub rdx, r15
jne 0x14001cf6d
test r12, r12
je 0x14001d00a
movzx edx, byte [rbx + rsi + 1]
movzx eax, byte [rbx + rsi]
mov ecx, dword [r10 + rax*4]
shl ecx, 6
mov r8d, dword [r10 + rdx*4]
or r8d, ecx
shl r8d, 0xc
mov eax, r8d
sar eax, 0x10
mov byte [r9 + rbp], al
add rbp, r15
test r13, r13
je 0x14001d00a
movzx eax, byte [rbx + rsi + 2]
mov ecx, dword [r10 + rax*4]
shl ecx, 6
or r8d, ecx
sar r8d, 8
mov byte [r9 + rbp], r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140001094
nop
cmp qword [rsp + 0x40], 0x10
jb 0x14001d02a
mov rcx, qword [rsp + 0x28]
call fcn.14000b430
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140a20058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a201df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a20089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2006f
add dl, dl
jne 0x140a20096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a200f6
xor eax, eax
add dl, dl
jne 0x140a200a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a201ad
add dl, dl
jne 0x140a200b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a200c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a200d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a200dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a200ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a2007e
mov eax, 1
add dl, dl
jne 0x140a20106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a20113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a200fb
sub eax, ebx
mov ebx, 1
jne 0x140a2014c
mov ecx, 1
add dl, dl
jne 0x140a2012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a2013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a20123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a20168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a20175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2015d
cmp eax, 0x7d00
jae 0x140a2019b
cmp eax, 0x500
jb 0x140a20196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2007e
cmp eax, 0x7f
ja 0x140a2019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a201d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a2007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130d0
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 0x140011285
Capabilities:
Execute command

Disassembly:
jmp 0x140011950
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400220a4]
call fcn.140011389
lea rcx, str._n
call fcn.14001119f
lea rcx, [0x14001ac68]
call fcn.14001119f
lea rcx, [0x14001ac80]
call fcn.14001119f
lea rcx, [0x14001aca0]
call fcn.14001119f
lea rcx, [0x14001acc0]
call fcn.14001119f
lea rcx, [0x14001acd8]
call fcn.14001119f
lea rcx, str._n
call fcn.14001119f
lea rcx, [0x14001ac38]
call fcn.14001119f
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
xor ecx, ecx
call fcn.140011c90
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
mov dword [rbp + 4], 0
jmp 0x140011a14
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 6
jge 0x140011a1c
jmp 0x140011a0c
lea rcx, [0x14001acf0]
call qword [sym.imp.ucrtbased.dll_system]
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0xa4], eax
mov edx, dword [rbp + 0x24]
mov ecx, 1
call fcn.140011203
mov edx, dword [rbp + 0x44]
mov ecx, 2
call fcn.140011203
mov edx, dword [rbp + 0x64]
mov ecx, 3
call fcn.140011203
mov edx, dword [rbp + 0x84]
mov ecx, 4
call fcn.140011203
mov edx, dword [rbp + 0xa4]
mov ecx, 5
call fcn.140011203
lea rcx, str._________________n
call fcn.14001119f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014420
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014440
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014453
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001447d
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014491
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144a3
xor al, al
jmp 0x1400144c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144bf
xor al, al
jmp 0x1400144c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002a38
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140024408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140024455
cmp rcx, 0xffffffffffffffff
je 0x140024455
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002444d
cmp dword [rcx + 0x3c], edx
jl 0x14002444d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14002444d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140024455
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14000176c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400017b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400017b0
cmp dword [rcx + 0x3c], edx
jl 0x1400017b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400017b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400017b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400037d0
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 0x14000382d
lea rbx, [0x14006f640]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003814
cmp r10, 2
jb 0x140003814
cmp byte [r9], r8b
jne 0x140003814
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 0x1400037f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000386f
lea rbx, [0x14006f640]
cmp r8b, 0x23
jne 0x140003853
cmp byte [r9], r8b
jne 0x140003853
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 0x140003840
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a30
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 0x140003a4e
mov qword [r8], r14
lea rdx, [0x14006f170]
call fcn.140003880
mov rbx, rax
test rax, rax
jne 0x140003a73
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.14003f680
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003b95
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400401bc
test eax, eax
jne 0x140003b95
mov rcx, rbx
call fcn.14003f680
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b95
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400401bc
test eax, eax
jne 0x140003b95
cmp rdi, 0xffffffffffffffff
je 0x140003b95
mov rcx, rdi
call fcn.140007370
mov rbp, rax
test rax, rax
je 0x140003b95
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140043cb8
mov rcx, rbx
cmp rax, rdi
je 0x140003b83
call fcn.14003fe1c
mov r8, qword [0x1400809e8]
test r8, r8
je 0x140003b79
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003b6e
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call fcn.140043a44
jmp 0x140003b9d
call fcn.14003fe1c
test rsi, rsi
je 0x140003b90
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003b9f
mov rcx, rbx
call fcn.14003fe1c
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 0x140006e60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14006f640]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x140006ef6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140019e30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400136b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400809e8]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140013711
cmp byte [rbx + 0x4d4e], 0
jne 0x140013711
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400035e0
test dil, 2
je 0x14001383f
jmp 0x14001379a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400746d8]
mulss xmm1, dword [0x1400746d0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x140074660]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.1400035e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400137f0
lea r11, [0x14006f640]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400137d3
cmp byte [r8], r9b
jne 0x1400137d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400137c0
not ecx
call fcn.14000a590
test rax, rax
je 0x14001383f
cmp byte [rax + 0xbe], 0
je 0x14001383f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.1400035e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000d120
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400364d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018bc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400809e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018c23
mov qword [rsp], rbx
lea rbx, [0x14006f640]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018c03
cmp byte [r8], r9b
jne 0x140018c03
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 0x140018bf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140018c4f
cmp dword [r8 + 8], eax
je 0x140018c56
add r8, 0x48
cmp r8, rcx
jne 0x140018c40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002e240
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400809e8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002e45e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002e45e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.1400493c0
mov r8, qword [0x1400809e8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002e313
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002e308
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 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x14002e330
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002e333
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140074268]
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 dword [rdi + 0x28], 9
test r8, r8
je 0x14002e376
mov rsi, qword [r8 + 0x90]
jmp 0x14002e379
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 0x14002e3a4
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400809e8]
mov rcx, qword [rax + 0x4b10]
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 dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002e41e
inc rbx
cmp rbx, 5
jl 0x14002e400
jmp 0x14002e44a
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 0x14002e460
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400364d0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret