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

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b6823
cmp qword [rax], rbx
je 0x1400b6983
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b6811
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x98
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400b6c40]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
mov rcx, qword [rdi]
mov qword [rbx + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], r14
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov qword [rdi + 0x40], r14
mov qword [rdi + 0x48], r14
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x88], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x1400b6965
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1400b6c40
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x1400b6823
mov rdx, rdi
mov rcx, rdi
call fcn.1400b76f0
nop
jmp 0x1400b6965
Function at 0x1400b76f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x20
lea rdx, [rcx + 0x30]
add rsp, 0x28
jmp fcn.1400b5f50

Function at 0x1400b7930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rdx
lea rsi, [r8 + 8]
mov rbp, qword [r8]
mov rbx, qword [rsi]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7984
cmp qword [rax], rbx
je 0x1400b7ac2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b7972
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xa8
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400b7ae0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov rax, qword [rdi + 0x20]
mov qword [rbx + 0x58], rax
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x60], eax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x68], rax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
movups xmm0, xmmword [rdi + 0x48]
movups xmmword [rbx + 0x80], xmm0
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0xa0], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x1400b7aa4
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1400b7ae0
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x1400b7984
mov rdx, rdi
mov rcx, rdi
call fcn.1400b7bf0
nop
jmp 0x1400b7aa4

Function at 0x1400b7bf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov r8, qword [rcx + 0x68]
add rcx, 0x10
xor r9d, r9d
lea rdx, [rcx + 0x48]
add rsp, 0x28
jmp fcn.1400b4500
Function at 0x1400b7c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7c73
cmp qword [rax], rbx
je 0x1400b7dde
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b7c61
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xd0
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400b7e40]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbx + 0x48], xmm1
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rbx + 0x68], xmm1
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x70], eax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rdi + 0x68]
movups xmmword [rbx + 0xa0], xmm0
movsd xmm1, qword [rdi + 0x78]
movsd qword [rbx + 0xb0], xmm1
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rbx + 0xb8], xmm0
mov rax, qword [rdi + 0x90]
mov qword [rbx + 0xc8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x1400b7dc0
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1400b7e40
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x1400b7c73
mov rdx, rdi
mov rcx, rdi
call fcn.1400b7f80
nop
jmp 0x1400b7dc0

Function at 0x1400b7f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x18
xor r9d, r9d
mov r8, qword [rcx + 0x78]
lea rdx, [rcx + 0x68]
add rsp, 0x28
jmp fcn.1400b61e0
Function at 0x1400c9f10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0xc8
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x70]
mov r8d, 8
mov rdx, qword [rbx]
lea rbx, [rbx + 8]
xor qword [rax], rdx
lea rax, [rax + 8]
sub r8, 1
jne 0x1400c9f61
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x20]
xor qword [rax], rcx
movabs rax, 0x8000000000000000
xor qword [rbp - 0x50], rax
lea rcx, [rsp + 0x70]
call fcn.1400ccd10
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x70]
movups xmm1, xmmword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x60]
movups xmmword [rdi], xmm0
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x58]
movups xmm0, xmmword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, rdi
movups xmmword [rdi + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1402225a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400cc220
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0xc8
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov edx, 4
nop word [rax + rax]
mov r8, qword [rbx]
lea rbx, [rbx + 8]
xor qword [rax], r8
lea rax, [rax + 8]
sub rdx, 1
jne 0x1400cc270
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x20]
xor qword [rax], rcx
movabs rax, 0x8000000000000000
xor qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x30]
call fcn.1400ccd10
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1402225a0
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rdi
ret
Function at 0x1400cc300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r8
mov qword [rsp + 0x20], 0
mov rbx, rdx
lea r15, [rsp + 0x20]
mov r14, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
cmp rsi, 0x48
jb 0x1400cc3d9
movabs rax, 0xe38e38e38e38e38f
mul rsi
mov rdi, rdx
shr rdi, 6
mov rax, qword [rbx]
lea rcx, [rsp + 0x30]
xor qword [rsp + 0x30], rax
mov rax, qword [rbx + 8]
xor qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
xor qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x18]
xor qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x20]
xor qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x28]
xor qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x30]
xor qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x38]
xor qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x40]
add rbx, 0x48
xor qword [rsp + 0x70], rax
call fcn.1400ccd10
sub rsi, 0x48
sub rdi, 1
jne 0x1400cc371
lea rdi, [rsp + 0x30]
cmp rsi, 8
jb 0x1400cc406
mov rcx, rsi
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add rsi, rax
mov rax, qword [rbx]
add rbx, 8
xor qword [rdi], rax
add rdi, 8
sub rcx, 1
jne 0x1400cc3f2
test rsi, rsi
je 0x1400cc423
mov r8, rsi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea r15, [rsp + 0x20]
add r15, rsi
mov byte [r15], 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
xor qword [rdi], rax
movabs rax, 0x8000000000000000
xor qword [rsp + 0x70], rax
call fcn.1400ccd10
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x38], rax
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1402225a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400d2870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400d28b0
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1400d28d0
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1400d2740
jmp 0x1400d29e6
xor r12d, r12d
lea r15d, [r12 + 3]
bt ebp, 0xa
jae 0x1400d29b2
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400d28ef
mov rdx, qword [rdi]
movdqa xmm0, xmmword [0x1402d5c60]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400d2910
lea rcx, [rsp + 0x50]
call fcn.14005da00
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call fcn.14005d810
cmp rbx, 0xffffffffffffffff
jne 0x1400d297f
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1400d2740
nop
jmp 0x1400d29e6
mov rcx, rdi
call fcn.1400d24f0
test al, al
jne 0x1400d29a9
mov edx, ebp
mov rcx, rdi
call fcn.1400d25e0
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d29e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400d29ca
mov dword [r14], r12d
mov byte [r14 + 4], 0
lea rax, [0x1402c41e8]
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
call fcn.1400d25e0
test bpl, 0x10
jne 0x1400d29e0
mov r15d, 2
mov dword [rsi], r15d
mov dword [rsi + 4], eax
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402225a0
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140112640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1402233c0
sub rsp, rax
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x1401126c9
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1401126ce
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x430]
mov qword [rsp + 0x40], rdi
movzx edi, byte [rax + rdx - 1]
call fcn.140031a90
mov rcx, rax
call fcn.14012a8c0
mov r8, qword [rbx + 8]
and eax, 0x200000
je 0x1401126db
sub r8, rdi
mov eax, 1
dec r8
jmp 0x140112796
cmp rsi, rdx
jbe 0x14011268c
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov qword [rsp + 0x38], rbp
mov ebp, 0x100
mov r9, r8
sub r9, rcx
mov rax, r8
xor r9, rcx
xor rax, rcx
or r9, rax
xor r9, r8
shr r9, 0x3f
dec r9
cmp r8, rbp
cmovb rbp, r8
xor r10d, r10d
test rbp, rbp
je 0x14011276d
mov r11, qword [rbx + 0x20]
mov rsi, rdi
shr rsi, 0x3f
dec r11
add r11, r8
nop word [rax + rax]
mov rax, r10
lea r11, [r11 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r10
inc r10
shr rcx, 0x3f
xor cl, al
xor al, sil
or cl, al
movzx eax, byte [r11 + 1]
dec cl
movzx edx, cl
mov rcx, rdi
xor rcx, rax
and rdx, rcx
not rdx
and r9, rdx
cmp r10, rbp
jb 0x140112730
mov rbp, qword [rsp + 0x38]
lea rax, [rdi + 1]
not r9
movzx ecx, r9b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub r8, rax
mov eax, ecx
and eax, 1
not ecx
or eax, ecx
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 8], r8
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14012c630
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1402233c0
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140137020
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1402233c0
sub rsp, rax
lea rcx, [0x1403328e8]
add rsp, 0x28
jmp fcn.14012c490
Function at 0x14014ae60
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x14014ae87
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x14014ae70
movzx eax, r9b
ret
Function at 0x140150320
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xc8
call fcn.1402233c0
sub rsp, rax
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x130]
xor r14d, r14d
mov rax, qword [rcx]
mov rbp, r9
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov r15d, r14d
lea r13d, [r14 + 1]
test r9, r9
je 0x140150389
cmp r9, rax
je 0x140150381
test rdx, rdx
je 0x1401503fa
test r8d, r8d
js 0x1401503fa
mov r15d, r13d
mov qword [rcx], r9
jmp 0x140150391
test rax, rax
je 0x1401503fa
mov rbp, rax
mov rcx, rbp
call fcn.140130e50
test al, 2
jne 0x1401503fa
test rsi, rsi
je 0x140150462
mov rcx, rbp
mov r15d, r13d
call fcn.140131310
cmp eax, 0x90
jg 0x1401503fa
cmp eax, edi
jge 0x140150420
mov rcx, qword [rbx + 8]
mov r8, r12
mov rdx, rbp
call fcn.140131710
test eax, eax
je 0x1401503fa
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.140131960
test eax, eax
je 0x1401503fa
mov rcx, qword [rbx + 8]
lea rsi, [rbx + 0x20]
mov r8, rsi
lea rdx, [rbx + 0x24]
call fcn.140131630
test eax, eax
jne 0x14015043d
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1402225a0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, 0x90
ja 0x1401503fa
mov r8, rdi
lea rcx, [rbx + 0x24]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rsi, [rbx + 0x20]
mov dword [rsi], edi
mov ecx, dword [rsi]
cmp ecx, 0x90
je 0x14015046b
mov eax, ecx
mov r8d, 0x90
sub r8d, ecx
xor edx, edx
lea rcx, [rbx + 0x24]
add rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x14015046b
test r15d, r15d
je 0x140150546
lea rcx, [rsp + 0x20]
mov rax, rbx
sub rax, rcx
mov rdx, r14
lea rdi, [rax + 0x24]
lea rsi, [rax + 0x25]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x140150490
mov rcx, qword [rbx + 0x10]
mov r8, r12
mov rdx, rbp
call fcn.140131710
test eax, eax
je 0x140150559
mov rcx, rbp
call fcn.140131310
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.140131960
test eax, eax
je 0x140150559
mov rdx, r14
nop dword [rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x5c
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x1401504f0
mov rcx, qword [rbx + 0x18]
mov r8, r12
mov rdx, rbp
call fcn.140131710
test eax, eax
je 0x140150559
mov rcx, rbp
call fcn.140131310
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.140131960
test eax, eax
je 0x140150559
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
call fcn.1401319d0
test eax, eax
cmovne r14d, r13d
test r15d, r15d
je 0x14015056d
mov edx, 0x90
lea rcx, [rsp + 0x20]
call fcn.14013cc10
mov eax, r14d
jmp 0x1401503fc
Function at 0x14016d150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1402233c0
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14013d3f0
test eax, eax
je 0x14016d18f
xor edx, edx
mov rcx, rbx
call fcn.14013d8a0
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x14016d1d7
mov edx, ebp
mov rcx, rbx
call fcn.14013de10
test rax, rax
je 0x14016d23d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x14016d1f7
mov qword [r8], rcx
test rdi, rdi
jle 0x14016d22e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x14016d200
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x14016d238
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret