joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401085d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
bt r8d, 0x10
jae 0x1401087df
mov r11, rsp
push r12
push r14
sub rsp, 0xe8
mov rax, qword [0x140955a48]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, rdx
mov r14, rcx
test rcx, rcx
je 0x1401087c4
mov eax, dword [rcx]
mov qword [r11 + 0x18], rbx
cdq
mov qword [r11 - 0x18], rbp
and edx, 7
mov ebp, dword [rsp + 0x120]
add eax, edx
sar eax, 3
mov qword [r11 - 0x20], rsi
test r9, r9
mov qword [r11 - 0x28], rdi
lea rdi, [0x140222000]
mov qword [r11 - 0x30], r13
cmovne rdi, r9
mov qword [r11 - 0x38], r15
movsxd r15, dword [rcx + 4]
movsxd r13, eax
cmp ebp, 0x18
jne 0x14010866b
mov rcx, rdi
call fcn.1401b00e0
mov rdi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140108660
jmp 0x1401086aa
cmp ebp, 0x19
jne 0x14010868f
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140108680
add rbx, rbx
jmp 0x1401086aa
mov rcx, rdi
call fcn.1401afc40
mov rdi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401086a1
mov rdx, rdi
cmp rbx, r15
jle 0x1401086fd
mov r8d, ebx
mov rcx, r14
call qword [r12 + SafeArrayPutElement]
mov rcx, r14
call qword [r12 + 0x20]
lea rdx, [r14 + 8]
mov r8, r13
lea rcx, [rsp + 0x20]
call fcn.140097620
mov eax, r15d
lea rcx, [rsp + 0x20]
sub eax, r13d
add rcx, r13
movsxd r8, eax
xor edx, edx
call fcn.140095bf0
mov edx, 1
mov rcx, r14
call qword [r12 + SafeArrayGetLBound]
jmp 0x140108721
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140097620
mov eax, r15d
lea rcx, [rsp + 0x20]
sub eax, ebx
add rcx, rbx
movsxd r8, eax
xor edx, edx
call fcn.140095bf0
lea rcx, [r14 + 0x48]
mov r8, r15
lea rdx, [rsp + 0x20]
call fcn.140097620
mov r13, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x110]
test r15d, r15d
jle 0x140108778
xor r9d, r9d
lea rcx, [rsp + 0x20]
mov rax, r14
sub rax, rcx
nop word [rax + rax]
lea rdx, [rsp + 0x20]
add rdx, r9
inc r9
xor byte [rdx], 0x36
xor byte [rax + rdx + 0x48], 0x5c
cmp r9, r15
jl 0x140108760
mov r8d, r15d
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [r12 + SafeArrayPutElement]
mov r15, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xd8]
cmp ebp, 0x18
jne 0x1401087a7
mov rcx, rdi
call fcn.1401b00d0
jmp 0x1401087b4
cmp ebp, 0x19
je 0x1401087b4
mov rcx, rdi
call fcn.1401afc30
mov rbp, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401b01d0
add rsp, 0xe8
pop r14
pop r12
ret

Function at 0x140108db8
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140108e2d
call qword [rcx + 0xb0]
mov edx, dword [rbx + 0xf4]
mov rdi, rax
mov dword [rbx + 0x108], edx
mov edx, dword [rbx + 0xf8]
mov dword [rbx + 0x10c], edx
test rax, rax
jne 0x140108e2d
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x140108e05
xor edx, edx
mov rcx, rbx
call rax
mov rcx, qword [0x14095a988]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1409d81a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1409d81c0], 0
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140108e3c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ebx, edx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa8]

Function at 0x140108e7c
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x20]

Function at 0x140108ea0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc8]

Function at 0x140108ec8
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc0]

Function at 0x140108ef0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
mov ecx, dword [0x1409d81a0]
mov edi, r9d
movaps xmmword [rax - 0x18], xmm6
mov rsi, r8
movaps xmmword [rax - 0x28], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x140108f3c
mov edx, edi
mov dword [rax + 0x120], edi
mov rcx, rax
call qword [rax + pe_nt_image_headers64]
mov edx, dword [rsp + 0x70]
cmp edx, dword [rbx + 0x124]
je 0x140108f53
mov rcx, rbx
mov dword [rbx + 0x124], edx
call qword [rbx]
movd xmm2, dword [rbx + 0x104]
mov r9, rsi
movd xmm1, dword [rbx + 0x100]
mov rcx, rbx
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
addsd xmm2, xmm6
addsd xmm1, xmm7
mov rax, qword [rbx + 0x60]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
jmp rax

Function at 0x140108f9c
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x40]

Function at 0x140108fc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov ebx, r9d
mov ecx, dword [0x1409d81a0]
mov edi, r8d
mov esi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test ebx, ebx
jle 0x14010901f
mov r10d, dword [rsp + 0x60]
test r10d, r10d
jle 0x14010901f
mov r9d, dword [rax + 0x104]
mov rdx, rbp
mov r8d, dword [rax + 0x100]
add r9d, edi
mov dword [rsp + 0x28], r10d
add r8d, esi
mov rcx, rax
mov dword [rsp + 0x20], ebx
call qword [rax + 0x50]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140109068
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1401090c9
mov rcx, rax
call qword [rax + 0xb8]
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1401090a1
mov edx, 1
mov rcx, rbx
call rax
mov rcx, qword [0x14095a988]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1409d81a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1409d81c0], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140109104
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, ecx
mov esi, r8d
mov ecx, dword [0x1409d81a0]
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9d, esi
mov rcx, rax
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa0]

Function at 0x140109154
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
mov r15d, ecx
mov edi, r9d
mov ecx, dword [0x1409d81a0]
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [rsp + 0x60]
mov rbx, rax
cmp edx, dword [rax + 0x120]
je 0x1401091a3
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov r9d, esi
mov edx, dword [rbx + 0x100]
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x60], edi
mov rcx, rbx
mov rax, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
jmp rax
Function at 0x140109208
Capabilities:
Get thread local storage value

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, 0x40
mov ebx, ecx
mov ebp, r9d
mov ecx, dword [0x1409d81a0]
mov esi, r8d
mov edi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15d, esi
mov r14, rax
mov r11d, dword [rax + 0x100]
mov edx, dword [rax + 0x104]
add r11d, ebx
add edx, edi
mov edi, ebp
test esi, esi
lea r12d, [r11 + rsi]
cmovns r12d, r11d
lea r13d, [rdx + rbp]
neg r15d
test esi, esi
cmovns r15d, esi
mov esi, dword [rsp + 0x90]
test ebp, ebp
cmovns r13d, edx
neg edi
test ebp, ebp
lea eax, [rsi + rsi]
cmovns edi, ebp
cmp eax, r15d
jle 0x140109291
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov ebx, dword [rsp + 0x98]
lea ecx, [rbx + rbx]
cmp ecx, edi
jle 0x1401092a8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov edx, dword [rsp + 0xa0]
cmp edx, dword [r14 + 0x120]
je 0x1401092c9
mov rcx, r14
mov dword [r14 + 0x120], edx
call qword [r14 + pe_nt_image_headers64]
mov dword [rsp + 0xa0], ebx
mov r9d, r15d
mov dword [rsp + 0x98], esi
mov r8d, r13d
mov edx, r12d
mov dword [rsp + 0x90], edi
mov rcx, r14
mov rax, qword [r14 + 0x10]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp rax

Function at 0x140109368
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, ecx
mov ebx, r9d
mov ecx, dword [0x1409d81a0]
mov edi, r8d
mov esi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add ebp, dword [rax + 0x100]
add esi, dword [rax + 0x104]
mov r8d, dword [rax + 0xe8]
cmp r8d, 0xc
ja 0x140109409
mov ecx, 0x110c
bt ecx, r8d
jae 0x140109409
mov ecx, 1
test edi, edi
jns 0x1401093c3
neg edi
jmp 0x1401093c6
cmove edi, ecx
test ebx, ebx
jns 0x1401093ce
neg ebx
jmp 0x1401093d1
cmove ebx, ecx
movd xmm0, edi
lea rcx, [0x140109310]
movd xmm1, ebx
cvtdq2ps xmm0, xmm0
mov dword [rax + 0x1a8], ebp
mov dword [rax + 0x1ac], esi
mov qword [rax + 0x128], rcx
cvtdq2ps xmm1, xmm1
movss dword [rax + 0x1b0], xmm0
movss dword [rax + 0x1b4], xmm1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140109420
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov ecx, dword [0x1409d81a0]
mov ebp, edx
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmm7, xmm0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov eax, dword [rax + 0xe8]
cmp eax, 0xc
ja 0x14010952c
mov ecx, 0x110c
bt ecx, eax
jae 0x14010952c
xorps xmm6, xmm6
comiss xmm6, xmm7
ja 0x140109481
movss xmm6, dword [0x14023d16c]
minss xmm6, xmm7
mov rbx, qword [rsi + 0x138]
xor edi, edi
test rbx, rbx
je 0x1401094b0
movss xmm0, dword [rbx + 8]
ucomiss xmm0, xmm6
jp 0x14010949b
je 0x1401094a8
comiss xmm0, xmm6
ja 0x1401094d9
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x14010948a
mov rcx, rbx
test rbx, rbx
jne 0x140109500
mov rcx, qword [0x14095a988]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x14010952c
and qword [rax], 0
test rdi, rdi
je 0x1401094f9
mov qword [rdi], rax
jmp 0x140109500
mov rcx, qword [0x14095a988]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x1401094b0
mov qword [rax], rbx
jmp 0x1401094cf
mov qword [rsi + 0x138], rax
movzx eax, bpl
mov dword [rcx + 0xc], eax
mov eax, ebp
sar eax, 8
movzx eax, al
mov dword [rcx + 0x10], eax
mov eax, ebp
sar eax, 0x10
movzx eax, al
sar ebp, 0x18
mov dword [rcx + 0x14], eax
movzx eax, bpl
mov dword [rcx + 0x18], eax
movss dword [rcx + 8], xmm6
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret

Function at 0x14010954c
Capabilities:
Get thread local storage value

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, 0x40
mov ebx, ecx
mov ebp, r9d
mov ecx, dword [0x1409d81a0]
mov esi, r8d
mov edi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15d, esi
mov r14, rax
mov r11d, dword [rax + 0x100]
mov edx, dword [rax + 0x104]
add r11d, ebx
add edx, edi
mov edi, ebp
test esi, esi
lea r12d, [r11 + rsi]
cmovns r12d, r11d
lea r13d, [rdx + rbp]
neg r15d
test esi, esi
cmovns r15d, esi
mov esi, dword [rsp + 0x90]
test ebp, ebp
cmovns r13d, edx
neg edi
test ebp, ebp
lea eax, [rsi + rsi]
cmovns edi, ebp
cmp eax, r15d
jle 0x1401095d5
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov ebx, dword [rsp + 0x98]
lea ecx, [rbx + rbx]
cmp ecx, edi
jle 0x1401095ec
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov edx, dword [r14 + 0x118]
cmp edx, dword [r14 + 0x120]
je 0x14010960d
mov rcx, r14
mov dword [r14 + 0x120], edx
call qword [r14 + pe_nt_image_headers64]
mov dword [rsp + 0x30], ebx
mov r9d, r15d
mov dword [rsp + 0x28], esi
mov r8d, r13d
mov edx, r12d
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [r14 + SafeArrayGetLBound]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140109648
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov ebx, r8d
mov ecx, dword [0x1409d81a0]
mov edi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
mov r10, qword [rax + 0x58]
lea r9d, [rcx + rbx]
mov rcx, rax
lea r8d, [rdx + rdi]
mov rdx, rsi
test r10, r10
je 0x14010969b
mov dword [rsp + 0x20], 0xff
call r10
jmp 0x14010969e
call qword [rax + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401096b0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1409d81a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0xe8]
cmp ecx, 0xc
ja 0x1401096e6
mov edx, 0x110c
bt edx, ecx
jae 0x1401096e6
test rbx, rbx
je 0x1401096e6
mov qword [rax + 0x130], rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1401096ec
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
mov r15d, ecx
mov edi, r9d
mov ecx, dword [0x1409d81a0]
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov edx, dword [rax + 0x118]
cmp edx, dword [rax + 0x120]
je 0x14010973d
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov r9d, esi
mov edx, dword [rbx + 0x100]
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x20], edi
mov rcx, rbx
call qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x140109778
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov r15d, ecx
mov edi, r9d
mov ecx, dword [0x1409d81a0]
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x1401097c5
mov edx, edi
mov dword [rax + 0x120], edi
mov rcx, rax
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov r9d, esi
mov edx, dword [rbx + 0x100]
add r8d, r14d
add edx, r15d
mov rcx, rbx
mov rax, qword [rbx + 0x78]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp rax

Function at 0x140109800
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1409d81a0], eax
add rsp, 0x28
ret
Function at 0x140109888
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov edx, 8
mov rcx, qword [0x14095a988]
mov r8d, 0x258
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1409d81a0]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x1409d81c0], rdi
or eax, 0xffffffff
and dword [rdi + 0x11c], 0
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 0x120], eax
mov dword [rdi + 0x124], eax
mov dword [rdi + 0x118], 0xffffff
mov dword [rdi + 0xe8], 2
mov dword [rdi + 0xec], 0x3f
call fcn.14010d208
mov rbx, qword [rsp + 0x30]
lea rax, [0x14010ab14]
mov qword [rdi + 0xb0], rax
lea rax, [0x14010ab78]
mov qword [rdi + 0xb8], rax
lea rax, [fcn.14010a51c]
mov qword [rdi + 0x20], rax
lea rax, [0x14010a298]
mov qword [rdi + 0x60], rax
lea rax, [0x14010ac2c]
mov qword [rdi + 0xc8], rax
lea rax, [0x14010abcc]
mov qword [rdi + 0xc0], rax
lea rax, [0x140109df4]
mov qword [rdi + 0x68], rax
lea rax, [0x140109d98]
mov qword [rdi + 0x48], rax
lea rax, [0x140109dc4]
mov qword [rdi + 0x50], rax
lea rax, [0x140109c2c]
mov qword [rdi + 0x58], rax
lea rax, [0x14010a8dc]
mov qword [rdi + 0x88], rax
lea rax, [0x1401099b8]
mov qword [rdi + 0xd0], rax
lea rax, [0x14010aed8]
mov qword [rdi + 0xd8], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14011161c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
mov r10d, dword [rsp + 0x60]
mov r14d, r8d
movsxd rbx, dword [rcx + 0x160]
mov r15, rdx
mov r11, rcx
test r10d, r10d
je 0x1401116dc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
shl eax, 2
movsxd r12, eax
mov eax, ebx
imul eax, r9d
movsxd r13, eax
mov ebp, ecx
mov eax, r14d
imul eax, ecx
movsxd rdx, eax
mov eax, r8d
imul eax, dword [r11 + 0x158]
add rdx, r12
add rdx, r15
movsxd rcx, eax
add rcx, qword [r11 + 0x150]
add rcx, r13
cmp dword [rsp + 0x58], 0
jle 0x1401116c1
mov r9d, dword [rsp + 0x58]
mov al, byte [rdx + 2]
xor byte [rcx + 2], al
mov al, byte [rdx + 1]
xor byte [rcx + 1], al
mov al, byte [rdx]
lea rdx, [rdx + 4]
xor byte [rcx], al
add rcx, rbx
sub r9, 1
jne 0x1401116a4
mov eax, dword [r11 + 0x174]
inc r8d
neg eax
sbb ecx, ecx
and ecx, 2
dec ecx
add ecx, ebp
sub r10d, 1
jne 0x14011166f
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
pop r15
pop r14
pop r13
ret

Function at 0x14011249c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
mov r11d, dword [rsp + 0x60]
mov r14d, r8d
movsxd rdi, dword [rcx + 0x160]
mov r15, rdx
mov rbx, rcx
test r11d, r11d
je 0x14011255b
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
lea r10d, [rax + rax*2]
mov eax, edi
imul eax, r9d
movsxd r12, r10d
movsxd r13, eax
mov ebp, ecx
mov eax, r14d
imul eax, ecx
movsxd rdx, eax
mov eax, r8d
imul eax, dword [rbx + 0x158]
add rdx, r12
add rdx, r15
movsxd rcx, eax
add rcx, qword [rbx + 0x150]
add rcx, r13
cmp dword [rsp + 0x58], 0
jle 0x140112541
mov r9d, dword [rsp + 0x58]
mov al, byte [rdx + 2]
xor byte [rcx + 2], al
mov al, byte [rdx + 1]
xor byte [rcx + 1], al
mov al, byte [rdx]
lea rdx, [rdx + 3]
xor byte [rcx], al
add rcx, rdi
sub r9, 1
jne 0x140112524
mov eax, dword [rbx + 0x174]
inc r8d
neg eax
sbb ecx, ecx
and ecx, 2
dec ecx
add ecx, ebp
sub r11d, 1
jne 0x1401124f0
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
pop r15
pop r14
pop r13
ret
Function at 0x14011a3e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor ebp, ebp
mov r13d, r9d
mov r15d, edx
mov r12d, ebp
cmp edx, 1
jl 0x14011a54b
test rcx, rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov edi, ebp
mov qword [rsp + 0x20], r14
lea r14, [0x140222000]
mov rsi, r14
cmovne rsi, rcx
test r8, r8
cmovne r14, r8
movzx ecx, word [r14]
test cx, cx
je 0x14011a4da
cmp word [r14 + 2], di
je 0x14011a4da
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r14 + rax*2], di
jne 0x14011a450
mov rbx, rsi
movsxd rbp, eax
mov r8, rbp
mov rdx, r14
mov rcx, rbx
call fcn.140088d84
test eax, eax
je 0x14011a47e
cmp word [rbx], r12w
je 0x14011a47e
add rbx, 2
jmp 0x14011a460
inc edi
cmp edi, r15d
je 0x14011a494
cmp word [rbx], r12w
je 0x14011a49d
lea rbx, [rbx + rbp*2]
mov rsi, rbx
jmp 0x14011a460
mov r12, rbx
sub r12, rsi
sar r12, 1
xor ebp, ebp
mov rcx, rbx
call fcn.14011db00
mov r14, qword [rsp + 0x20]
movsxd rbx, r12d
test eax, eax
je 0x14011a510
mov ecx, r13d
call fcn.14011dbb0
lea r8, [rbx + rbx]
mov rdx, rsi
mov rcx, rax
call fcn.140097620
mov edx, r13d
mov ecx, r12d
call fcn.14011d8f0
mov rdi, rax
jmp 0x14011a52c
mov rbx, rsi
nop dword [rax]
movzx eax, word [rbx]
cmp ax, cx
je 0x14011a4f3
test ax, ax
je 0x14011a4f3
add rbx, 2
jmp 0x14011a4e0
inc edi
cmp edi, r15d
je 0x14011a505
test ax, ax
je 0x14011a49f
lea rsi, [rbx + 2]
jmp 0x14011a4da
mov r12, rbx
sub r12, rsi
sar r12, 1
jmp 0x14011a49f
mov edx, r13d
mov ecx, r12d
call fcn.14011d8f0
mov r8, rbx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.1401d02bc
mov rsi, qword [rsp + 0x58]
mov word [rdi + rbx*2], bp
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
mov ecx, r13d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.14011dad0

Function at 0x14011a6f0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
test rcx, rcx
je 0x14011a7c2
mov qword [rsp + 0x40], rbp
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
nop
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x14011a720
mov eax, 1
xor r15d, r15d
sub eax, esi
mov ebp, r15d
add ecx, eax
cmovns ebp, ecx
mov rcx, rbx
call fcn.14011db00
mov edx, edi
mov ecx, ebp
mov r14d, eax
call fcn.14011d8f0
mov rdi, rax
test r14d, r14d
je 0x14011a763
mov ecx, r14d
call fcn.14011db40
mov rbx, rax
mov r14, qword [rsp + 0x48]
mov ecx, ebp
test rbx, rbx
je 0x14011a7a7
cmp esi, 1
jle 0x14011a785
cmp word [rbx], r15w
je 0x14011a785
add rbx, 2
dec esi
cmp esi, 1
jg 0x14011a774
movzx eax, word [rbx]
test ax, ax
je 0x14011a7a7
sub rbx, rdi
test ecx, ecx
je 0x14011a7a7
mov word [rdi], ax
dec ecx
movzx eax, word [rbx + rdi + 2]
add rdi, 2
test ax, ax
jne 0x14011a790
call fcn.14011d9a0
mov rbp, qword [rsp + 0x40]
mov word [rdi], r15w
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov ecx, edi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.14011dad0