joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b9f0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x150
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov ecx, dword [0x1401cb2f8]
cmp ecx, 0xffffffff
je 0x14003ba2b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14003ba30
call fcn.14003bbf0
mov eax, dword [0x1401e05c8]
mov ecx, dword [0x14022e720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003bba2
mov rbx, qword [0x1401e05c0]
mov rcx, rbx
call fcn.14003c260
mov rcx, qword [0x1401dedb8]
add rcx, 1
mov edx, 0x100
lea rax, [0x1401dedc0]
nop dword [rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003baaa
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003baaa
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x14003ba80
jmp 0x14003bacf
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1401dedb8], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x14003bb2c
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.14000db00
test rax, rax
je 0x14003bb2c
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.14000f5b0
mov rcx, rdi
call fcn.14000e210
mov eax, dword [r15]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jle 0x14003bb82
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.14000db00
test rax, rax
je 0x14003bb82
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x197
mov r9, rax
call fcn.14000f5b0
mov rcx, rsi
call fcn.14000e210
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140128f20
nop
add rsp, 0x150
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1401e05c8]
call fcn.1401295b8
cmp dword [0x1401e05c8], 0xffffffff
jne 0x14003ba55
mov ecx, 8
call fcn.140128e44
mov rbx, rax
mov rcx, rax
call fcn.140017ca0
mov qword [0x1401e05c0], rbx
lea rcx, [0x1401e05c8]
call fcn.140129558
jmp 0x14003ba55
Function at 0x14003c1a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1401cb2f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003c1d0
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14003c1d0
mov rax, qword [rax + rcx]
jmp 0x14003c1d2
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x14003c1e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401cb2f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14003c208
test rdi, rdi
je 0x14003c221
call fcn.14003bbf0
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400427a0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbp, rdx
cmp rdx, r8
je 0x140042886
mov rsi, r8
mov rdi, rcx
movabs rcx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rdi + 0x18]
movzx eax, byte [rbp + 0x10]
xor rax, rcx
imul rax, rbx
movzx ecx, byte [rbp + 0x11]
xor rcx, rax
imul rcx, rbx
movzx eax, byte [rbp + 0x12]
xor rax, rcx
imul rax, rbx
movzx ecx, byte [rbp + 0x13]
xor rcx, rax
imul rcx, rbx
and rcx, qword [rdi + 0x30]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rcx + rcx]
add rax, 1
mov qword [rsp + 0x40], rax
lea rax, [rcx + rcx]
shl rcx, 4
mov r12, qword [rdx + rcx]
cmp r12, rbp
setne r15b
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov r13, qword [rdx + rax*8 + 8]
mov r14, rbp
nop
mov rbx, r14
mov r14, qword [r14]
mov edx, 0x18
mov rcx, rbx
call fcn.140128e80
add qword [rdi + 0x10], 0xffffffffffffffff
cmp r13, rbx
je 0x14004288e
cmp r14, rsi
setne al
or al, r15b
je 0x140042961
cmp r14, rsi
jne 0x140042850
jmp 0x140042976
mov rsi, rbp
jmp 0x140042985
mov rax, qword [rsp + 0x38]
cmp r12, rbp
mov r13, qword [rsp + 0x30]
jne 0x1400428ac
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [r13 + rcx*8], rax
mov rcx, qword [rsp + 0x40]
mov qword [r13 + rcx*8], rax
cmp r14, rsi
je 0x140042976
movzx eax, byte [r14 + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
movzx ecx, byte [r14 + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r14 + 0x12]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [r14 + 0x13]
xor rcx, rax
imul rcx, rdx
and rcx, qword [rdi + 0x30]
lea r15, [rcx + rcx]
add r15, 1
lea r12, [rcx + rcx]
mov rbp, qword [r13 + r12*8 + 8]
nop dword [rax + rax]
mov rbx, r14
mov r14, qword [r14]
mov edx, 0x18
mov rcx, rbx
call fcn.140128e80
add qword [rdi + 0x10], 0xffffffffffffffff
cmp rbp, rbx
je 0x140042944
cmp r14, rsi
jne 0x140042920
jmp 0x140042971
mov rax, qword [rsp + 0x20]
mov qword [r13 + r12*8], rax
mov qword [r13 + r15*8], rax
cmp r14, rsi
jne 0x1400428bf
mov rax, rsi
jmp 0x140042979
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rax + rcx*8], rsi
jmp 0x140042976
mov qword [r13 + r12*8], rsi
mov rax, r14
mov rcx, qword [rsp + 0x38]
mov qword [rcx], r14
mov qword [rax + 8], rcx
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004a8f4
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x14004c9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r14, rcx
mov r15, qword [0x1401e0690]
cmp r15, 1
ja 0x14004ca0f
lea rcx, [0x1401e0690]
call fcn.14003c690
test al, al
je 0x14004ca08
lea r15, [0x1401e0698]
mov rcx, r15
call fcn.140017ca0
lea rcx, [0x1401e0690]
mov rdx, r15
xor r8d, r8d
mov r9, rcx
call fcn.14003c740
jmp 0x14004ca0f
mov r15, qword [0x1401e0690]
mov rcx, r15
call fcn.14003c260
mov rax, qword [0x1401e0690]
cmp rax, 1
ja 0x14004ca61
lea rcx, [0x1401e0690]
call fcn.14003c690
test al, al
je 0x14004ca5a
lea rsi, [0x1401e0698]
mov rcx, rsi
call fcn.140017ca0
lea rcx, [0x1401e0690]
mov rdx, rsi
xor r8d, r8d
mov r9, rcx
call fcn.14003c740
jmp 0x14004ca61
mov rax, qword [0x1401e0690]
mov r8, qword [0x1401e06a0]
test r8, r8
jne 0x14004ca86
mov ecx, 0xe8
call fcn.140128e44
mov rcx, rax
call fcn.14004bb60
mov r8, qword [0x1401e06a0]
mov r13, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004ca94
mov rbx, qword [rbx]
movabs rdx, 0xcbf29ce484222325
test r13, r13
je 0x14004cac2
movabs rcx, 0x100000001b3
lea rax, [r13 - 1]
mov r9d, r13d
and r9d, 3
cmp rax, 3
jae 0x14004cac7
xor edi, edi
jmp 0x14004cb08
mov rax, rdx
jmp 0x14004cb37
mov rsi, r13
and rsi, 0xfffffffffffffffc
xor edi, edi
movzx eax, byte [rbx + rdi]
xor rax, rdx
imul rax, rcx
movzx edx, byte [rbx + rdi + 1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + rdi + 2]
xor rax, rdx
imul rax, rcx
movzx edx, byte [rbx + rdi + 3]
xor rdx, rax
imul rdx, rcx
add rdi, 4
cmp rsi, rdi
jne 0x14004cad0
mov rax, rdx
test r9, r9
je 0x14004cb37
add rdi, rbx
xor esi, esi
nop word cs:[rax + rax]
nop
movzx eax, byte [rdi + rsi]
xor rax, rdx
imul rax, rcx
add rsi, 1
mov rdx, rax
cmp r9, rsi
jne 0x14004cb20
and rax, qword [r8 + 0x70]
mov r12, qword [r8 + 0x48]
mov rcx, qword [r8 + 0x58]
mov rdx, rax
shl rdx, 4
mov rdi, qword [rcx + rdx + 8]
cmp rdi, r12
je 0x14004cba4
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp r13, qword [rdi + 0x20]
jne 0x14004cb93
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp qword [rdi + 0x28], 0xf
jbe 0x14004cb80
mov rdx, qword [rdi + 0x10]
jmp 0x14004cb84
lea rdx, [rdi + 0x10]
mov rcx, rbx
mov r8, r13
call fcn.14012b910
test eax, eax
je 0x14004cba4
cmp rdi, rsi
je 0x14004cbba
mov rdi, qword [rdi + 8]
cmp r13, qword [rdi + 0x20]
je 0x14004cb70
jmp 0x14004cb93
cmp rdi, r12
je 0x14004cbba
add rdi, 0x30
mov rcx, r14
mov rdx, rdi
call fcn.140024f40
jmp 0x14004cbc1
mov qword [r14], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140051ae0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
jle 0x140051b7f
mov r14, r8
mov rdi, rdx
mov r12, rcx
cmp qword [rcx + 0x68], 0
je 0x140051b87
mov rbx, r14
jmp 0x140051b3f
cmp rbx, rsi
cmovle rsi, rbx
mov rcx, rdi
mov r8, rsi
call fcn.14012aeb0
add rdi, rsi
sub rbx, rsi
mov rax, qword [r12 + 0x50]
sub dword [rax], esi
mov rax, qword [r12 + 0x38]
movsxd rcx, esi
add qword [rax], rcx
test rbx, rbx
jle 0x140051b77
mov rax, qword [r12 + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140051b59
mov rax, qword [r12 + 0x50]
movsxd rsi, dword [rax]
test rsi, rsi
jg 0x140051b10
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140051b77
mov byte [rdi], al
add rdi, 1
add rbx, 0xffffffffffffffff
test rbx, rbx
jg 0x140051b3f
sub r14, rbx
jmp 0x140051c8b
xor r14d, r14d
jmp 0x140051c8b
mov rax, qword [r12 + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140051bdf
mov rax, qword [r12 + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140051bdf
cmp r15, r14
cmovae r15, r14
mov rcx, rdi
mov r8, r15
call fcn.14012aeb0
add rdi, r15
mov rsi, r14
sub rsi, r15
mov rax, qword [r12 + 0x50]
sub dword [rax], r15d
mov rax, qword [r12 + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [r12 + 0x80], 0
jne 0x140051bf1
jmp 0x140051c88
mov rsi, r14
cmp qword [r12 + 0x80], 0
je 0x140051c88
mov rax, qword [r12 + 0x18]
lea rcx, [r12 + 0x70]
cmp qword [rax], rcx
jne 0x140051c30
mov ecx, dword [r12 + 0x90]
mov rdx, qword [r12 + 0x88]
mov qword [rax], rdx
mov rax, qword [r12 + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [r12 + 0x50]
mov dword [rax], ecx
nop word cs:[rax + rax]
nop
cmp rsi, 0x1000
jb 0x140051c64
mov r9, qword [r12 + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.140143448
add rdi, rax
sub rsi, rax
cmp rax, 0xfff
je 0x140051c30
jmp 0x140051c88
test rsi, rsi
je 0x140051c86
mov r9, qword [r12 + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rsi
call fcn.140143448
sub rsi, rax
jmp 0x140051c88
xor esi, esi
sub r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400540e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400540f9
mov dword [rsi], eax
mov al, 1
jmp 0x1400540fb
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400584f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401e0768]
mov ecx, dword [0x14022e720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140058525
lea rcx, [0x1401e0760]
add rsp, 0x28
jmp fcn.14003c1a0
lea rcx, [0x1401e0768]
call fcn.1401295b8
cmp dword [0x1401e0768], 0xffffffff
jne 0x140058515
mov qword [0x1401e0760], 0
lea rcx, [0x1401e0760]
xor edx, edx
call fcn.14003c230
lea rcx, [0x1401e0768]
call fcn.140129558
jmp 0x140058515
Function at 0x14005af60
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r9
mov r15, r8
mov edi, edx
mov rbx, rcx
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
cmp dword [rcx + 8], 0
setne al
mov ebp, edx
sar ebp, 0x1f
lea r12d, [rax + rax]
add r12d, 4
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r8
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [r14], rax
test rax, rax
jne 0x14005aff4
call fcn.140054da0
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [r14], rax
test rax, rax
jne 0x14005aff4
call fcn.140054da0
mov rsi, qword [r14]
test rsi, rsi
je 0x14005b05e
mov rdi, qword [rsp + 0xd0]
movaps xmm0, xmmword [0x140164c30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rsp + 0x48]
sub rcx, rsi
add rcx, qword [rsp + 0x38]
test rax, rax
cmove rcx, rax
mov qword [rdi], rcx
mov sil, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140128f20
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14005b040
Function at 0x14005d802
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
mov r15, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x370]
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
call fcn.1400010a8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140004254
test al, al
je 0x14005d8c2
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x368]
mov edx, dword [rsp + 0x360]
mov r8d, dword [rsp + 0x358]
mov r9, qword [rsp + 0x350]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov rdx, rbp
mov r8, r15
call rdi
mov esi, 1
test eax, eax
jne 0x14005da11
call fcn.1400010a8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140004244
xor esi, esi
test al, al
je 0x14005da11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.140017a56
test al, al
je 0x14005da07
call fcn.14001798c
test rax, rax
je 0x14005da07
mov rsi, rax
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0xe0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14012b560
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x14005d953
mov qword [rsp + 0x70], rdi
movaps xmm0, xmmword [0x140164c30]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.140018a42
lea rsi, [0x14016e3c0]
lea rax, [rsp + 0x88]
mov ecx, 0xb
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov dword [rdx], 0x18
mov qword [rdx + 8], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x80]
mov rcx, rbx
mov edx, 0xd
call fcn.14005da33
test eax, eax
je 0x14005d9e6
mov al, 1
jmp 0x14005da03
mov ecx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [rsp + 0x90], 0
sete sil
xor eax, eax
test al, al
je 0x14005da11
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140128f20
mov eax, esi
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14005ffbc
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.1400017ce
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140060026
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140062bc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x140062c3c
cmp r8, 1
jne 0x140062bd2
xor ecx, ecx
jmp 0x140062c1e
mov r9, r8
and r9, 0xfffffffffffffffe
xor ecx, ecx
lea r10, [0x14016e720]
nop word cs:[rax + rax]
nop dword [rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r9, rcx
jne 0x140062bf0
test r8b, 1
je 0x140062c3c
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x14016e720]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret
Function at 0x140071ee0
Capabilities:
Log keystrokes

Disassembly:
mov rax, qword [rsp + 0x28]
mov r9d, dword [r9]
mov r8d, dword [r8]
mov edx, dword [rdx]
mov r10d, dword [rax]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r10d
jmp 0x140071ee0
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, r9d
mov ebx, r8d
mov edi, edx
mov rsi, rcx
call fcn.14006ddc0
test al, al
je 0x14007205f
lea rdx, [rsp + 0x20]
mov rcx, qword [rsi + 0x8b8]
call fcn.1400a47f0
nop
lea r14, vtable.CefStructBase_struct_CefKeyEventTraits_.0
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
xor esi, esi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov r8d, dword [rsp + 0xc0]
mov ecx, r8d
and ecx, 1
shl ecx, 2
mov eax, r8d
mov edx, ecx
or edx, 8
and al, 4
cmove edx, ecx
mov eax, r8d
mov ecx, edx
or ecx, 2
and al, 2
cmove ecx, edx
mov eax, r8d
mov edx, ecx
bts edx, 7
and al, 8
cmove edx, ecx
mov eax, r8d
mov ecx, edx
or ecx, 0x10
and al, 0x40
cmove ecx, edx
mov eax, r8d
mov edx, ecx
or edx, 0x20
and eax, 0x100
cmove edx, ecx
mov eax, edx
or eax, 0x40
and r8b, 0x80
cmove eax, edx
mov dword [rsp + 0x3c], eax
mov word [rsp + 0x4c], bp
mov word [rsp + 0x4e], si
cmp ebx, 1
ja 0x140071ff8
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
or eax, 1
cmp ebx, 1
jne 0x140071fe1
or eax, 0xc0000000
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x4c], esi
neg ebx
sbb eax, eax
and eax, 2
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax]
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x118]
nop
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14007203a
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14007205f
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140128f20
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c4450
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r9, qword [rcx + 8]
mov rsi, rdx
mov rdi, rcx
test r9, r9
jne 0x1400c447b
mov rdx, qword [rcx]
call fcn.1400c5770
mov r9, qword [rdi + 8]
mov r8, qword [rsi]
movabs rcx, 0xff51afd7ed558ccd
mov rax, r8
shr rax, 0x21
xor rax, r8
imul rax, rcx
mov rdx, rax
shr rdx, 0x21
xor rdx, rax
movabs rax, 0xc4ceb9fe1a85ec53
imul rdx, rax
mov rax, qword [rdi]
dec rax
mov rcx, rdx
shr rcx, 0x21
xor rcx, rdx
and rcx, rax
mov rax, qword [r9 + rcx*8]
lea r14, [r9 + rcx*8]
mov rcx, r14
test rax, rax
je 0x1400c44e2
cmp r8, qword [rax + 8]
je 0x1400c44e2
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400c44d1
mov rax, qword [rcx]
test rax, rax
jne 0x1400c4548
mov qword [rsp + 0x30], rbx
call fcn.1400ecae0
mov edx, 0x18
mov rcx, rax
mov r9, qword [rax]
lea r8d, [rdx - 8]
call qword [r9 + 8]
mov rcx, qword [r14]
mov rbx, rax
mov qword [rax], rcx
mov rcx, qword [rsi]
mov qword [rax + 8], rcx
mov rcx, rdi
mov qword [rax + 0x10], 0
mov qword [r14], rax
inc qword [rdi + 0x10]
call fcn.1400c56f0
lea rax, [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov rsi, qword [rsp + 0x38]
add rax, 0x10
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x1400c5360
Capabilities:
Hash data using murmur3

Disassembly:
test rdx, rdx
je 0x1400c5497
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], r14
mov rdi, rdx
lea r14, [rcx + 0x40]
mov qword [rsp + 0x48], rdx
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1400c5484
mov qword [rsp + 0x40], rbx
movabs rcx, 0xff51afd7ed558ccd
mov rax, rdi
shr rax, 0x21
xor rax, rdi
imul rax, rcx
mov rcx, rax
shr rcx, 0x21
xor rcx, rax
movabs rax, 0xc4ceb9fe1a85ec53
imul rcx, rax
mov rax, qword [r14]
dec rax
mov rbx, rcx
shr rbx, 0x21
xor rbx, rcx
and rax, rbx
lea rcx, [rdx + rax*8]
mov rax, qword [rdx + rax*8]
test rax, rax
je 0x1400c53f2
cmp rdi, qword [rax + 8]
je 0x1400c53f2
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400c53e1
cmp qword [rcx], 0
je 0x1400c547f
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400c4450
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400c547f
mov rax, qword [r14]
dec rax
mov qword [rsp + 0x50], rsi
and rax, rbx
mov qword [rsp + 0x20], r15
lea rsi, [rcx + rax*8]
mov rax, qword [rcx + rax*8]
test rax, rax
je 0x1400c5451
nop dword [rax + rax]
cmp rdi, qword [rax + 8]
je 0x1400c5451
mov rsi, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400c5440
mov r15, qword [rsi]
test r15, r15
je 0x1400c5475
mov rbx, qword [r15]
call fcn.1400ecae0
mov rdx, r15
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x20]
mov qword [rsi], rbx
dec qword [r14 + 0x10]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret