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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x14045b0c0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
test rax, rax
jne 0x140047b85
call fcn.1400478d0
mov rdx, rax
movsxd rcx, dword [rbx + 4]
mov eax, dword [rbx + 8]
add rcx, rcx
cmp dword [rdx + rcx*8 + 8], eax
je 0x140047b9d
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + rcx*8]
add rsp, 0x20
pop rbx
ret

Function at 0x140047c40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rsi, rcx
mov rbp, rdx
mov ecx, dword [0x14045b0c0]
cmp ecx, 0xffffffff
je 0x140047c6b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140047c70
call fcn.1400478d0
xor edi, edi
mov dword [rsi + 4], 0xffffffff
mov dword [rsi + 8], edi
call fcn.140047bb0
mov rcx, rax
mov rbx, rax
call fcn.140044530
mov r8, qword [0x1404608c0]
lea r9, [0x14045f0c0]
nop word [rax + rax]
mov eax, edi
lea rcx, [r8 + 1]
add rcx, rax
movzx edx, cl
lea rax, [rdx + rdx*2]
cmp dword [r9 + rax*8], 0
je 0x140047cc3
inc edi
cmp edi, 0x100
jl 0x140047ca0
jmp 0x140047ce6
lea rax, [rdx + rdx*2]
mov qword [0x1404608c0], rdx
mov dword [r9 + rax*8], 1
mov qword [r9 + rax*8 + 8], rbp
mov dword [rsi + 4], edx
mov eax, dword [r9 + rax*8 + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi + 4]
mov dword [rsp + 0x260], 0xffffffff
mov dword [rsp + 0x270], eax
cmp eax, 0xffffffff
jne 0x140047d4e
lea r8, str.slot____kInvalidSlotValue
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x270]
call fcn.14003b3e0
test rax, rax
je 0x140047d4e
mov r9, rax
lea rdx, str..._.._base_threading_thread_local_storage.cc
mov r8d, 0x11d
lea rcx, [rsp + 0x28]
call fcn.14001d2e0
lea rcx, [rsp + 0x28]
call fcn.14001d4f0
mov eax, dword [rsi + 4]
mov dword [rsp + 0x278], 0x100
mov dword [rsp + 0x20], eax
cmp eax, 0x100
jl 0x140047daf
lea r8, str.slot____kThreadLocalStorageSize
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x20]
call fcn.14003b3e0
test rax, rax
je 0x140047daf
mov r9, rax
lea rdx, str..._.._base_threading_thread_local_storage.cc
mov r8d, 0x11e
lea rcx, [rsp + 0x130]
call fcn.14001d2e0
lea rcx, [rsp + 0x130]
call fcn.14001d4f0
mov dword [rsi], 1
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x140047ff0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x14045b0c0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8, rax
test rax, rax
jne 0x14004801c
call fcn.1400478d0
mov r8, rax
movsxd rax, dword [rbx + 4]
add rax, rax
mov qword [r8 + rax*8], rdi
movsxd rcx, dword [rbx + 4]
mov eax, dword [rbx + 8]
add rcx, rcx
mov rbx, qword [rsp + 0x30]
mov dword [r8 + rcx*8 + 8], eax
add rsp, 0x20
pop rdi
ret
Function at 0x14004ee80
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rdx, rcx
mov r8d, 0x10
add rcx, 0x28
mov eax, dword [rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rcx - 4], eax
sub r8, 1
jne 0x14004eea1
lea r8, [rdx + 0x68]
mov r9d, 0x40
lea rcx, [rdx + 0x30]
mov eax, dword [rcx + 0x2c]
lea r8, [r8 + 4]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [r8 - 4], eax
sub r9, 1
jne 0x14004eec0
mov eax, dword [rdx + 0x14]
xor r8d, r8d
mov dword [rdx], eax
mov ebp, 0x8f1bbcdc
mov r10d, dword [rdx + 0x18]
mov dword [rdx + 4], r10d
mov r9d, dword [rdx + 0x1c]
lea edi, [r8 + 0x28]
mov dword [rdx + 8], r9d
mov r11d, dword [rdx + 0x20]
mov dword [rdx + 0xc], r11d
mov esi, dword [rdx + 0x24]
mov dword [rdx + 0x10], esi
nop
mov ebx, dword [rdx]
cmp r8d, 0x14
jae 0x14004ef2a
mov eax, r10d
mov ecx, r9d
not eax
and ecx, r10d
and eax, r11d
or eax, ecx
jmp 0x14004ef52
cmp r8d, 0x28
jb 0x14004ef49
cmp r8d, 0x3c
jae 0x14004ef49
mov eax, r11d
mov ecx, r11d
or eax, r9d
and ecx, r9d
and eax, r10d
or eax, ecx
jmp 0x14004ef52
mov eax, r11d
xor eax, r9d
xor eax, r10d
cmp r8d, 0x14
jae 0x14004ef5f
mov ecx, 0x5a827999
jmp 0x14004ef78
cmp r8d, 0x28
jae 0x14004ef6c
mov ecx, 0x6ed9eba1
jmp 0x14004ef78
cmp r8d, 0x3c
mov ecx, 0xca62c1d6
cmovb ecx, ebp
rol ebx, 5
inc r8d
add ebx, dword [rdi + rdx]
add rdi, 4
add ebx, esi
mov dword [rdx + 0xc], r9d
add ebx, ecx
mov dword [rdx + 0x10], r11d
add ebx, eax
mov esi, r11d
mov r11d, r9d
mov r9d, r10d
mov r10d, dword [rdx]
ror r9d, 2
mov dword [rdx + 8], r9d
mov dword [rdx + 4], r10d
mov dword [rdx], ebx
cmp r8d, 0x50
jb 0x14004ef10
add dword [rdx + 0x14], ebx
add dword [rdx + 0x18], r10d
add dword [rdx + 0x1c], r9d
mov eax, dword [rdx + 0xc]
add dword [rdx + 0x20], eax
mov eax, dword [rdx + 0x10]
add dword [rdx + 0x24], eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [rdx + 0x168], 0
ret

Function at 0x14004eff0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov rdi, r8
mov qword [rsp + 0x20], rbx
mov r8, rdx
mov qword [rsp + 0x28], rbx
mov rdx, rcx
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x20]
mov dword [r11 - 0x30], ebx
mov qword [r11 - 0x28], rbx
mov dword [rsp + 0x34], 0x67452301
mov dword [rsp + 0x38], 0xefcdab89
mov dword [rsp + 0x3c], 0x98badcfe
mov dword [rsp + 0x40], 0x10325476
mov dword [rsp + 0x44], 0xc3d2e1f0
call fcn.14004f0d0
lea rcx, [rsp + 0x20]
call fcn.14004ed40
lea rcx, [rsp + 0x20]
call fcn.14004ee80
nop dword [rax + rax]
mov eax, dword [rsp + rbx*4 + 0x34]
bswap eax
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, 5
jl 0x14004f080
movups xmm0, xmmword [rsp + 0x34]
mov eax, dword [rsp + 0x44]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402e0100
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1b0
pop rdi
ret
Function at 0x14004f0d0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
test r8, r8
je 0x14004f2b6
push rsi
push r14
sub rsp, 8
mov qword [rsp + 0x20], rbx
mov rsi, r8
mov qword [rsp + 0x28], rbp
mov r14, rdx
mov qword [rsp + 0x30], rdi
mov r9, rcx
mov qword [rsp + 0x38], r12
xor r12d, r12d
mov qword [rsp], r15
mov r15d, 0x8f1bbcdc
nop word [rax + rax]
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov ecx, dword [r9 + 0x168]
dec rsi
mov byte [rcx + r9 + 0x28], al
inc dword [r9 + 0x168]
cmp dword [r9 + 0x168], 0x40
jb 0x14004f286
lea rcx, [r9 + 0x28]
mov edx, 0x10
nop word [rax + rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x14004f150
lea rdx, [r9 + 0x68]
mov r8d, 0x40
lea rcx, [r9 + 0x30]
nop
mov eax, dword [rcx + 0x2c]
lea rdx, [rdx + 4]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rdx - 4], eax
sub r8, 1
jne 0x14004f170
mov eax, dword [r9 + 0x14]
mov edx, r12d
mov dword [r9], eax
mov edi, 0x28
mov r10d, dword [r9 + 0x18]
mov dword [r9 + 4], r10d
mov r8d, dword [r9 + 0x1c]
mov dword [r9 + 8], r8d
mov r11d, dword [r9 + 0x20]
mov dword [r9 + 0xc], r11d
mov ebp, dword [r9 + 0x24]
mov dword [r9 + 0x10], ebp
nop dword [rax]
mov ebx, dword [r9]
cmp edx, 0x14
jae 0x14004f1da
mov eax, r10d
mov ecx, r8d
not eax
and ecx, r10d
and eax, r11d
or eax, ecx
jmp 0x14004f200
cmp edx, 0x28
jb 0x14004f1f7
cmp edx, 0x3c
jae 0x14004f1f7
mov eax, r8d
mov ecx, r8d
or eax, r11d
and ecx, r11d
and eax, r10d
or eax, ecx
jmp 0x14004f200
mov eax, r8d
xor eax, r11d
xor eax, r10d
cmp edx, 0x14
jae 0x14004f20c
mov ecx, 0x5a827999
jmp 0x14004f224
cmp edx, 0x28
jae 0x14004f218
mov ecx, 0x6ed9eba1
jmp 0x14004f224
cmp edx, 0x3c
mov ecx, 0xca62c1d6
cmovb ecx, r15d
rol ebx, 5
inc edx
add ebx, dword [rdi + r9]
add rdi, 4
add ebx, ebp
mov dword [r9 + 0xc], r8d
add ebx, ecx
mov dword [r9 + 0x10], r11d
add ebx, eax
mov ebp, r11d
mov r11d, r8d
mov r8d, r10d
mov r10d, dword [r9]
ror r8d, 2
mov dword [r9 + 8], r8d
mov dword [r9 + 4], r10d
mov dword [r9], ebx
cmp edx, 0x50
jb 0x14004f1c0
add dword [r9 + 0x14], ebx
add dword [r9 + 0x18], r10d
add dword [r9 + 0x1c], r8d
mov eax, dword [r9 + 0xc]
add dword [r9 + 0x20], eax
mov eax, dword [r9 + 0x10]
add dword [r9 + 0x24], eax
mov dword [r9 + 0x168], r12d
add qword [r9 + 0x170], 8
test rsi, rsi
jne 0x14004f110
mov r15, qword [rsp]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
add rsp, 8
pop r14
pop rsi
ret
Function at 0x14004fb80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
test rdx, rdx
je 0x14004fc2e
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x130
xor ebx, ebx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r14
mov rdi, rdx
mov dword [rsp + 0x150], ebx
mov r14d, 0xffffffff
mov rsi, rcx
nop dword [rax]
nop word [rax + rax]
cmp rdi, r14
mov ebp, edi
mov rcx, rsi
cmova ebp, r14d
mov edx, ebp
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14004fbf8
or ebx, 1
lea r9, str.success
mov r8d, 0x27
lea rdx, str..._.._base_rand_util_win.cc
lea rcx, [rsp + 0x20]
call fcn.14001d1c0
test bl, 1
je 0x14004fc0a
and ebx, 0xfffffffe
lea rcx, [rsp + 0x20]
call fcn.14001d4f0
mov eax, ebp
add rsi, rax
sub rdi, rax
jne 0x14004fbc0
mov r14, qword [rsp + 0x160]
mov rbp, qword [rsp + 0x158]
add rsp, 0x130
pop rdi
pop rsi
pop rbx
ret

Function at 0x14004fc30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
xor ebx, ebx
lea rsi, [rsp + 0x150]
mov dword [rsp + 0x150], ebx
mov edi, 8
mov r14d, 0xffffffff
cmp rdi, r14
mov ebp, edi
mov rcx, rsi
cmova ebp, r14d
mov edx, ebp
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14004fc99
or ebx, 1
lea r9, str.success
mov r8d, 0x27
lea rdx, str..._.._base_rand_util_win.cc
lea rcx, [rsp + 0x20]
call fcn.14001d1c0
test bl, 1
je 0x14004fcab
and ebx, 0xfffffffe
lea rcx, [rsp + 0x20]
call fcn.14001d4f0
mov eax, ebp
add rsi, rax
sub rdi, rax
jne 0x14004fc61
mov rax, qword [rsp + 0x150]
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140051750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r9, qword [r8 + 0x18]
mov r14, r8
mov rsi, qword [r8 + 0x10]
mov r15, rdx
mov r13, rcx
cmp r9, 0x10
jb 0x140051781
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test rsi, rsi
je 0x1400517b4
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r10
cmp rdx, rsi
jb 0x1400517a0
mov r12, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and r12, rcx
mov rbx, qword [r13 + 8]
shl r12, 4
mov rbp, qword [rax + r12]
cmp rbp, rbx
je 0x1400517d8
mov rbx, qword [rax + r12 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rdi
cmp rbx, rbp
je 0x140051840
mov rbx, qword [rbx + 8]
cmp qword [rbx + 0x28], 0x10
jb 0x1400517f3
mov rdx, qword [rbx + 0x10]
jmp 0x1400517f7
lea rdx, [rbx + 0x10]
cmp r9, 0x10
jb 0x140051802
mov rcx, qword [r14]
jmp 0x140051805
mov rcx, r14
mov rdi, qword [rbx + 0x20]
cmp rsi, rdi
mov r8, rdi
cmovb r8, rsi
test r8, r8
je 0x140051821
call fcn.1402e2d90
test eax, eax
jne 0x140051828
cmp rsi, rdi
jb 0x140051828
jbe 0x140051833
cmp rbx, rbp
je 0x140051840
mov r9, qword [r14 + 0x18]
jmp 0x1400517e2
mov qword [r15], rbx
mov byte [r15 + 8], 0
jmp 0x140051920
mov rax, qword [r13 + 8]
lea rcx, [r13 + 8]
mov r9, r14
mov rdi, qword [rax]
mov rdx, rdi
mov r8, qword [rdi + 8]
call fcn.1400515c0
mov rdx, rax
movabs rcx, 0x555555555555554
mov rax, qword [r13 + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x140051940
inc rax
mov qword [r13 + 0x10], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rdi, qword [r13 + 8]
mov rdi, qword [rdi]
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400518c6
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rax + 8]
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r13 + 0x18]
add rdx, r12
mov rax, qword [rdx]
cmp rax, qword [r13 + 8]
jne 0x1400518e4
mov qword [rdx], rdi
mov rax, qword [r13 + 0x18]
mov qword [rax + r12 + 8], rdi
jmp 0x140051910
cmp rax, rbx
jne 0x1400518ee
mov qword [rdx], rdi
jmp 0x140051910
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140051910
mov rdx, qword [r13 + 0x18]
mov rax, qword [rdx + r12 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12 + 8], rcx
mov rcx, r13
call fcn.140051fc0
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rdi, qword [rsp + 0x50]
mov rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
lea rcx, str.list_T__too_long
call fcn.1402e11f0
int3
Function at 0x140051950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, qword [r8 + 0x10]
mov r14, r8
mov r8, qword [r8 + 0x18]
mov rdi, r9
mov rsi, rdx
mov r15, rcx
cmp r8, 0x10
jb 0x140051990
mov r9, qword [r14]
jmp 0x140051993
mov r9, r14
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rbp, rbp
je 0x1400519c4
movabs r10, 0x100000001b3
nop
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, rbp
jb 0x1400519b0
mov r13, qword [r15 + 0x30]
mov rax, qword [r15 + 0x18]
and r13, rdx
mov rbx, qword [r15 + 8]
shl r13, 4
mov r12, qword [rax + r13]
cmp rbx, r12
je 0x140051a86
mov rbx, qword [rax + r13 + 8]
mov rbx, qword [rbx]
cmp rbx, r12
je 0x140051a86
mov rbx, qword [rbx + 8]
cmp qword [rbx + 0x28], 0x10
jb 0x140051a06
mov rdx, qword [rbx + 0x10]
jmp 0x140051a0a
lea rdx, [rbx + 0x10]
cmp r8, 0x10
jb 0x140051a15
mov rcx, qword [r14]
jmp 0x140051a18
mov rcx, r14
mov rsi, qword [rbx + 0x20]
cmp rbp, rsi
mov r8, rsi
cmovb r8, rbp
test r8, r8
je 0x140051a34
call fcn.1402e2d90
test eax, eax
jne 0x140051a3b
cmp rbp, rsi
jb 0x140051a3b
jbe 0x140051a46
cmp rbx, r12
je 0x140051a81
mov r8, qword [r14 + 0x18]
jmp 0x1400519f5
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x10]
dec qword [r15 + 0x10]
call fcn.14035c440
mov rcx, rdi
call fcn.1402dfaa0
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
mov byte [rax + 8], 0
jmp 0x140051b17
mov rsi, qword [rsp + 0x58]
mov rax, qword [rdi]
cmp rbx, rax
je 0x140051abb
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rax + 8]
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
add rdx, r13
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x140051ad9
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r13 + 8], rdi
jmp 0x140051b05
cmp rax, rbx
jne 0x140051ae3
mov qword [rdx], rdi
jmp 0x140051b05
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140051b05
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r13 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r13 + 8], rcx
mov rcx, r15
call fcn.140051fc0
mov rax, rsi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140053a70
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140053840
mov rcx, rax
add rsp, 0x28
jmp fcn.140047b60
Function at 0x140054230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [r8 + 0x18]
mov r15, r8
mov rsi, qword [r8 + 0x10]
mov rbp, rdx
mov r14, rcx
cmp r13, 0x10
jb 0x14005425e
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test rsi, rsi
je 0x140054294
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r9
cmp rdx, rsi
jb 0x140054280
mov rax, qword [r14 + 0x30]
and rax, rcx
mov qword [rsp + 0x70], rdi
mov rcx, qword [r14 + 0x18]
mov rbx, rax
mov r14, qword [r14 + 8]
add rbx, rbx
add rax, rax
lea r9, [rcx + 8]
mov rbx, qword [rcx + rbx*8]
mov r12, qword [rcx + rax*8]
lea r9, [r9 + rax*8]
mov qword [rsp + 0x60], r9
cmp r12, r14
jne 0x1400542d0
mov rax, r14
jmp 0x1400542d6
mov rax, qword [r9]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400543a8
cmp r13, 0x10
jb 0x1400542ea
mov rdx, qword [r15]
jmp 0x1400542ed
mov rdx, r15
cmp qword [rbx + 0x28], 0x10
jb 0x1400542fa
mov rcx, qword [rbx + 0x10]
jmp 0x1400542fe
lea rcx, [rbx + 0x10]
mov rdi, qword [rbx + 0x20]
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
test r8, r8
je 0x14005431f
call fcn.1402e2d90
test eax, eax
jne 0x140054326
mov r9, qword [rsp + 0x60]
cmp rdi, rsi
jb 0x140054326
jbe 0x140054330
mov rbx, qword [rbx]
mov r9, qword [rsp + 0x60]
jmp 0x1400542c6
mov rdi, rbx
cmp r12, r14
jne 0x14005433d
mov rax, r14
jmp 0x140054343
mov rax, qword [r9]
mov rax, qword [rax]
cmp rbx, rax
je 0x140054394
cmp qword [rbx + 0x28], 0x10
jb 0x140054355
mov rdx, qword [rbx + 0x10]
jmp 0x140054359
lea rdx, [rbx + 0x10]
cmp r13, 0x10
jb 0x140054364
mov rcx, qword [r15]
jmp 0x140054367
mov rcx, r15
mov rbp, qword [rbx + 0x20]
cmp rsi, rbp
mov r8, rbp
cmovb r8, rsi
test r8, r8
je 0x140054383
call fcn.1402e2d90
test eax, eax
jne 0x140054394
cmp rsi, rbp
jb 0x140054394
ja 0x140054394
mov rbx, qword [rbx]
mov r9, qword [rsp + 0x60]
jmp 0x140054333
mov rbp, qword [rsp + 0x68]
cmp rdi, rbx
je 0x1400543a8
mov qword [rbp], rdi
mov qword [rbp + 8], rbx
jmp 0x1400543b0
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov rax, rbp
mov rdi, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
sub rcx, r9
sar rcx, 2
test rcx, rcx
je 0x14005b5d7
mov r10, rcx
lea r11, [0x1403b39e0]
nop dword [rax]
mov eax, dword [r9]
lea r9, [r9 + 4]
movzx r8d, cl
shr ecx, 8
movzx edx, al
xor r8, rdx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 9]
mov edx, dword [r11 + r8*4]
xor edx, ecx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xa]
mov r8d, dword [r11 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
mov edx, dword [r11 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r11 + rcx*4]
xor eax, edx
mov ecx, eax
sub r10, 1
jne 0x14005b570
ret
mov eax, ecx
ret
Function at 0x140060770
Capabilities:
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
xor edi, edi
mov ebx, r8d
mov dword [rsp + 0x80], edi
mov r14, rdx
mov rsi, rcx
call fcn.1400303f0
test al, al
jne 0x14006079f
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x88], rbp
mov eax, 4
mov qword [rsp + 0x50], r12
mov ebp, edi
mov qword [rsp + 0x48], r13
mov r13d, edi
mov qword [rsp + 0x40], r15
mov r15d, edi
lea r12d, [rax - 2]
test ebx, ebx
je 0x1400607e9
sub ebx, 1
je 0x1400607e5
cmp ebx, 1
jne 0x1400607ec
mov r15, qword [r14 + 8]
mov ebp, eax
mov r13d, dword [r14 + 8]
sar r15, 0x20
jmp 0x1400607ec
mov ebp, eax
jmp 0x1400607ec
mov ebp, r12d
mov rcx, rsi
call fcn.140031c30
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, r15d
mov dword [rsp + 0x20], r13d
mov r8d, ebp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rsi + 0x48]
call fcn.140010610
mov rax, qword [rsi + 0x48]
mov r15, qword [rsp + 0x40]
inc rax
mov r13, qword [rsp + 0x48]
test rax, 0xfffffffffffffffe
je 0x140060865
lea rdx, [0x1403b4208]
mov dword [rsp + 0x80], edi
mov rcx, r14
xor ebx, ebx
call fcn.140060990
test al, al
je 0x14006087e
mov rcx, rsi
call fcn.140030380
lea rcx, [rax - 1]
cmp rcx, 0x7ffffffe
jbe 0x1400608d2
xor al, al
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rdx, qword [r14 + 8]
lea rax, [rsp + 0x80]
mov rcx, qword [r14]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x30], rdi
call fcn.1400609b0
mov rax, qword [r14 + 8]
movsxd rdi, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
add rdi, rax
test rbx, rbx
js 0x140060865
test rdi, rdi
js 0x140060865
mov ecx, 4
mov qword [rsi + 0x40], rax
mov r8, rbx
mov qword [rsp + 0x20], rdi
shr r8, 0x20
mov r9d, ebx
test r12b, bpl
cmovne r12d, ecx
mov rcx, qword [rsi + 0x48]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x38], rax
mov rcx, rax
test rax, rax
je 0x140060865
movsxd rax, dword [rsp + 0x80]
add rax, rcx
mov qword [rsi + 0x38], rax
mov al, 1
jmp 0x140060867