joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e78d8
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 0x1400e794d
call qword [rcx + 0xb0]
mov edx, dword [rbx + 0xf4]
mov dword [rbx + 0x108], edx
mov edx, dword [rbx + 0xf8]
mov rdi, rax
mov dword [rbx + 0x10c], edx
test rax, rax
jne 0x1400e794d
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400e7925
xor edx, edx
mov rcx, rbx
call rax
mov rcx, qword [0x141247498]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1412c3140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1412c3160], 0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e795c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, dword [0x1412c3140]
mov ebx, edx
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 0x1400e79b8
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 ecx, dword [0x1412c3140]
mov esi, r8d
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9d, esi
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
mov rcx, rax
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 0x1400e7a3c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1412c3140]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e7a9d
mov rcx, rax
call qword [rax + 0xb8]
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400e7a75
mov edx, 1
mov rcx, rbx
call rax
mov rcx, qword [0x141247498]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1412c3140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1412c3160], 0
add rsp, 0x20
pop rbx
ret

Function at 0x1400e7ac0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov ecx, dword [0x1412c3140]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x40]
Function at 0x1400e7ae4
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 ecx, dword [0x1412c3140]
mov edi, r9d
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 0x1400e7b33
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9d, esi
mov rcx, rbx
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x60], edi
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 0x1400e7b74
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, 0x30
mov ecx, dword [0x1412c3140]
movaps xmmword [rax - 0x18], xmm6
mov ebp, edx
movaps xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov eax, dword [rax + 0xe8]
cmp eax, 0xc
ja 0x1400e7c91
mov ecx, 0x110c
bt ecx, eax
jae 0x1400e7c91
xorps xmm0, xmm0
comiss xmm0, xmm6
ja 0x1400e7bd2
movss xmm0, dword [0x14018af6c]
comiss xmm6, xmm0
jbe 0x1400e7bd5
movaps xmm6, xmm0
mov rbx, qword [rsi + 0x138]
xor edi, edi
test rbx, rbx
je 0x1400e7c35
movss xmm0, dword [rbx + 8]
ucomiss xmm0, xmm6
jp 0x1400e7bef
je 0x1400e7bfc
comiss xmm0, xmm6
ja 0x1400e7c01
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x1400e7bde
mov rcx, rbx
jmp 0x1400e7c30
mov rcx, qword [0x141247498]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x1400e7c35
mov qword [rax], rbx
test rdi, rdi
je 0x1400e7c29
mov qword [rdi], rax
jmp 0x1400e7c30
mov qword [rsi + 0x138], rax
test rcx, rcx
jne 0x1400e7c65
mov rcx, qword [0x141247498]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x1400e7c91
and qword [rax], 0
test rdi, rdi
je 0x1400e7c5e
mov qword [rdi], rax
jmp 0x1400e7c65
mov qword [rsi + 0x138], rax
movzx eax, bpl
movss dword [rcx + 8], xmm6
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
sar ebp, 0x18
movzx eax, al
mov dword [rcx + 0x14], eax
movzx eax, bpl
mov dword [rcx + 0x18], eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e7cac
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov ecx, dword [0x1412c3140]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [rax + 0x11c], ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400e7ccc
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov ecx, dword [0x1412c3140]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [rax + 0x118], ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400e7eb0
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
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov esi, ecx
mov ecx, dword [0x1412c3140]
mov ebp, r9d
mov ebx, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r11d, dword [rax + 0x100]
mov r10d, dword [rax + 0x104]
mov rdi, rax
mov eax, dword [rax + 0xe8]
add esi, r11d
add r14d, r10d
add ebx, r11d
add ebp, r10d
cmp eax, 0xc
ja 0x1400e80c6
mov ecx, 0x110c
bt ecx, eax
jae 0x1400e80c6
mov r15d, ebx
mov r12d, ebp
mov dword [rdi + 0x1a8], esi
sub r15d, esi
sub r12d, r14d
mov dword [rdi + 0x1ac], r14d
mov ecx, r12d
mov eax, r15d
mov dword [rdi + 0x1b0], ebx
mov dword [rdi + 0x1b4], ebp
imul ecx, r12d
imul eax, r15d
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call sub.msvcrt.dll_sqrtf
movss dword [rdi + 0x1b8], xmm0
cmp r14d, ebp
jne 0x1400e7f85
lea rax, [0x1400e7e10]
lea rcx, [0x1400e7ddc]
cmp esi, ebx
cmovle rax, rcx
jmp 0x1400e80bf
cmp esi, ebx
jne 0x1400e7f9c
lea rax, [0x1400e7e7c]
lea rcx, [0x1400e7e44]
cmp r14d, ebp
jmp 0x1400e7f7c
mov ecx, r12d
call sub.msvcrt.dll_abs
mov ecx, r15d
mov ebx, eax
call sub.msvcrt.dll_abs
mov edx, 1
cmp eax, ebx
jl 0x1400e7fc0
and dword [rdi + 0x1c0], 0
jmp 0x1400e800e
mov eax, dword [rdi + 0x1ac]
mov dword [rdi + 0x1c0], edx
xor dword [rdi + 0x1a8], eax
mov eax, dword [rdi + 0x1a8]
xor dword [rdi + 0x1ac], eax
mov eax, dword [rdi + 0x1ac]
xor dword [rdi + 0x1a8], eax
mov eax, dword [rdi + 0x1b4]
xor dword [rdi + 0x1b0], eax
mov eax, dword [rdi + 0x1b0]
xor dword [rdi + 0x1b4], eax
mov eax, dword [rdi + 0x1b4]
xor dword [rdi + 0x1b0], eax
mov ecx, dword [rdi + 0x1a8]
mov eax, dword [rdi + 0x1b0]
cmp ecx, eax
jge 0x1400e8027
and dword [rdi + 0x1bc], 0
jmp 0x1400e806b
xor eax, ecx
mov dword [rdi + 0x1bc], edx
xor dword [rdi + 0x1b0], eax
mov dword [rdi + 0x1a8], eax
mov eax, dword [rdi + 0x1b0]
xor dword [rdi + 0x1a8], eax
mov eax, dword [rdi + 0x1b4]
xor dword [rdi + 0x1ac], eax
mov eax, dword [rdi + 0x1ac]
xor dword [rdi + 0x1b4], eax
mov eax, dword [rdi + 0x1b4]
xor dword [rdi + 0x1ac], eax
mov eax, dword [rdi + 0x1b4]
sub eax, dword [rdi + 0x1ac]
movd xmm1, eax
mov eax, dword [rdi + 0x1b0]
sub eax, dword [rdi + 0x1a8]
movd xmm0, eax
lea rax, [0x1400e7cec]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [rdi + 0x1c4], xmm1
movsd xmm1, qword [0x14018ea18]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [rdi + 0x1c8], xmm0
mov qword [rdi + 0x128], rax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400e80e8
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
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15d, ecx
mov ecx, dword [0x1412c3140]
mov ebx, r9d
mov edi, r8d
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add r15d, dword [rax + 0x100]
add ebp, dword [rax + 0x104]
mov rsi, rax
test edi, edi
jns 0x1400e8135
add r15d, edi
neg edi
test ebx, ebx
jns 0x1400e813d
add ebp, ebx
neg ebx
mov r14d, dword [rsp + 0x80]
lea eax, [r14 + r14]
cmp eax, edi
jle 0x1400e8157
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov r12d, dword [rsp + 0x88]
lea ecx, [r12 + r12]
cmp ecx, ebx
jle 0x1400e8171
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov edx, dword [rsi + 0x118]
cmp edx, dword [rsi + 0x120]
je 0x1400e818e
mov rcx, rsi
mov dword [rsi + 0x120], edx
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x30], r12d
mov r9d, edi
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
call qword [rsi + 0x10]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret

Function at 0x1400e81cc
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 ecx, dword [0x1412c3140]
mov edi, r9d
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [rax + 0x118]
mov rbx, rax
cmp edx, dword [rax + 0x120]
je 0x1400e821d
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9d, esi
mov rcx, rbx
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x20], edi
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 0x1400e8258
Capabilities:
Get thread local storage value

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

Function at 0x1400e8294
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1412c3140]
mov ebx, r8d
mov edi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rsi
mov r9d, dword [rax + 0x104]
mov r8d, dword [rax + 0x100]
mov rcx, rax
add r9d, ebx
add r8d, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x48]
Function at 0x1400e82e4
Capabilities:
Get thread local storage value

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

Function at 0x1400e8308
Capabilities:
Get thread local storage value

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

Function at 0x1400e8330
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
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15d, ecx
mov ecx, dword [0x1412c3140]
mov ebx, r9d
mov edi, r8d
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add r15d, dword [rax + 0x100]
add ebp, dword [rax + 0x104]
mov rsi, rax
test edi, edi
jns 0x1400e837d
add r15d, edi
neg edi
test ebx, ebx
jns 0x1400e8385
add ebp, ebx
neg ebx
mov r14d, dword [rsp + 0x80]
lea eax, [r14 + r14]
cmp eax, edi
jle 0x1400e839f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov r12d, dword [rsp + 0x88]
lea ecx, [r12 + r12]
cmp ecx, ebx
jle 0x1400e83b9
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov edx, dword [rsp + 0x90]
cmp edx, dword [rsi + 0x120]
je 0x1400e83d7
mov rcx, rsi
mov dword [rsi + 0x120], edx
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x90], r12d
mov r9d, edi
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0x80], ebx
mov rax, qword [rsi + 0x10]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
jmp rax

Function at 0x1400e8420
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 ecx, dword [0x1412c3140]
mov edi, r9d
mov rsi, r8
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x1400e846d
mov edx, edi
mov rcx, rax
mov dword [rax + 0x120], edi
call qword [rax + pe_nt_image_headers64]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rbx + 0x124]
je 0x1400e8484
mov rcx, rbx
mov dword [rbx + 0x124], edx
call qword [rbx]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9, rsi
add r8d, r14d
add edx, r15d
mov rcx, rbx
mov rax, qword [rbx + 0x60]
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 0x1400e9a5c
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x141247498]
mov edx, 8
mov r8d, 0x1c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1412c3140]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x1412c3160], rbx
and dword [rbx + 0x11c], 0
or eax, 0xffffffff
mov dword [rbx + 0x118], 0xffffff
mov dword [rbx + 0xe8], 1
mov dword [rbx + 0x120], eax
mov dword [rbx + 0x124], eax
lea rax, [0x1400e8664]
mov qword [rbx], rax
lea rax, [0x1400e8694]
mov dword [rbx + 0xec], 7
mov qword [rbx + 8], rax
lea rax, [0x1400e97a4]
mov qword [rbx + 0x10], rax
lea rax, [0x1400e873c]
mov qword [rbx + 0x18], rax
lea rax, [0x1400e8e10]
mov qword [rbx + 0x20], rax
lea rax, [0x1400e8da0]
mov qword [rbx + 0x28], rax
lea rax, [0x1400e8de8]
mov qword [rbx + 0x30], rax
lea rax, [0x1400e8dfc]
mov qword [rbx + 0x38], rax
lea rax, [fcn.1400e8e84]
mov qword [rbx + 0x40], rax
lea rax, [0x1400e8998]
mov qword [rbx + 0x48], rax
lea rax, [fcn.1400e89b0]
mov qword [rbx + 0x50], rax
lea rax, [0x1400e8834]
mov qword [rbx + 0x58], rax
lea rax, [0x1400e8d08]
mov qword [rbx + 0x60], rax
lea rax, [0x1400e8c1c]
mov qword [rbx + 0x68], rax
lea rax, [0x1400e8f20]
mov qword [rbx + 0x70], rax
lea rax, [0x1400e9058]
mov qword [rbx + 0x78], rax
lea rax, [0x1400e9144]
mov qword [rbx + 0x80], rax
lea rax, [0x1400e91fc]
mov qword [rbx + 0x88], rax
lea rax, [0x1400e9354]
mov qword [rbx + 0x90], rax
lea rax, [0x1400e93d4]
mov qword [rbx + 0x98], rax
lea rax, [0x1400e94c8]
mov qword [rbx + 0xa0], rax
lea rax, [0x1400e96b4]
mov qword [rbx + 0xa8], rax
lea rax, [0x1400e982c]
mov qword [rbx + 0xb0], rax
lea rax, [0x1400e9914]
mov qword [rbx + 0xb8], rax
lea rax, [0x1400e99b0]
mov qword [rbx + 0xc0], rax
lea rax, [0x1400e9a04]
mov qword [rbx + 0xc8], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400f0810
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x1400f0841
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400f0820
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp fcn.1400f0850
mov ecx, r8d
jmp fcn.1400f3da0

Function at 0x1400f0f40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, 0x40
mov ecx, esi
call fcn.1400f3940
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.140150cb4
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x1400f0f70
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400f3a80

Function at 0x1400f1110
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x1400f1274
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x1401745f0]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x1400f1240
cmp word [r14 + 2], di
je 0x1400f1240
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x1400f1180
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x1400f11ad
cmp word [rbx], bp
je 0x1400f11ad
add rbx, 2
jmp 0x1400f1190
inc edi
cmp edi, r12d
je 0x1400f11c2
cmp word [rbx], bp
je 0x1400f11cb
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x1400f1190
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.1400f3de0
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400f11fa
mov ecx, r13d
call fcn.1400f3f00
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.1400f3940
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400f121e
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x1400f124d
test ax, ax
jne 0x1400f1260
inc edi
cmp edi, edx
je 0x1400f1266
test ax, ax
je 0x1400f11ce
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x1400f1240
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x1400f11ce
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.1400f3da0
Function at 0x1400f2548
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1412c2590]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1400f25c9
mov r8, qword [0x1412c2588]
mov rcx, qword [0x141247498]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1412c2590]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [0x1412c2580]
jmp 0x1400f25b5
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400f25b2
mov rcx, qword [rbx + 0x10]
add rcx, rdi
call rdx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400f25a0
lea rcx, [0x1400f24ac]
mov rdx, rdi
call fcn.140150e90
mov rbx, qword [rsp + 0x30]
lea rax, [rdi + rsi]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f25e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set 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 ebx, ecx
mov rbp, r8
mov rdi, rdx
and ecx, 7
je 0x1400f260a
mov eax, 8
sub eax, ecx
add ebx, eax
mov rcx, qword [0x1412c2588]
test rcx, rcx
jne 0x1400f264d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [0x141247498]
movsxd r8, ebx
mov edx, 8
mov dword [0x1412c2590], eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1412c2590]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1412c2588]
mov rsi, rcx
movsxd rax, ebx
add rcx, rax
mov qword [0x1412c2588], rcx
mov ecx, dword [0x1412c2590]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, qword [0x1412c2588]
mov rcx, qword [0x141247498]
mov r8, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [0x1412c2590]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test rdi, rdi
jne 0x1400f26a1
test rbp, rbp
je 0x1400f26c8
lea rcx, [0x1412c2580]
mov edx, 0x28
call fcn.1400f32ac
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbp
test rdi, rdi
je 0x1400f26c8
lea rcx, [rbx + rsi]
call rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f3310
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1412c3460], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x141242ac8], eax
call fcn.1400f4240
add rsp, 0x28
ret

Function at 0x1400f34e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400f3530
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400f3596
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r8, rax
xor edx, edx
mov rcx, qword [0x1412c3460]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
jmp 0x1400f35c1
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1412c3460]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
add rcx, qword [rdx]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1400f3e80
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400f36e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x1400f3710
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x1400f3740
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400f3770
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141242ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret