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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010494b
lea rbx, [rax + 8]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010493b
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010493b
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140104998
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140104987
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140104987
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1401049a3
inc ecx
inc rax
cmp rax, 6
jl 0x140104975
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x148]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140106fc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x79]
call rbx
nop
mov rcx, qword [rbp - 0x69]
mov qword [rbp + 0x1f], rcx
mov rax, qword [rbp - 0x59]
mov qword [rbp + 0x2f], rax
lea rax, fcn.140009110
mov qword [rbp - 0x69], rax
lea rax, [0x1404048f8]
mov qword [rbp - 0x59], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0xf]
call rax
mov qword [rbp - 0x61], r14
mov rax, qword [rbp - 0x51]
mov qword [rbp + 0x37], rax
lea rax, [0x140403eb0]
mov qword [rbp - 0x51], rax
mov rax, qword [rbp - 0x69]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x140107074
lea rcx, [rbp - 0x79]
call rdx
nop
mov rcx, qword [rbp + 0x2f]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1401070a2
lea rcx, [0x14010bf20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xf]
call rax
jmp 0x14010719e
mov rsi, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.1400d3e20
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x19], rax
mov rax, qword [rdi + 0x38]
mov qword [rbp - 0x11], rax
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x30], r14
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rdi + 0x50]
movsd qword [rbp + 7], xmm1
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401070fc
mov rdx, qword [rax + 8]
jmp 0x1401070ff
mov rdx, r14
mov r8d, 0x68
call fcn.140100af0
mov rdi, rax
lea rdx, [rbp - 0x49]
lea rcx, [rax + 8]
call fcn.1400d3e20
mov rcx, qword [rbp - 0x19]
mov qword [rdi + 0x38], rcx
mov rcx, qword [rbp - 0x11]
mov qword [rdi + 0x40], rcx
mov qword [rbp - 0x11], r14
mov qword [rbp - 0x19], r14
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi + 0x48], xmm0
movsd xmm1, qword [rbp + 7]
movsd qword [rdi + 0x58], xmm1
lea rax, [0x14010c0e0]
mov qword [rdi], rax
mov qword [rsp + 0x20], rdi
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140107172
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140107172
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbp - 0x39]
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call rdx
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf]
call rsi
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010719e
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x1f]
mov rdx, qword [rax]
lea rcx, [rbp + 0xf]
call rdx
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140108610
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, rdx
xor esi, esi
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0x128], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x138], rax
lea rax, fcn.140009110
mov qword [rsp + 0x50], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x118]
call rax
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x140], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x1401086e0
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140108714
lea rcx, [0x140109e00]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x118]
call rax
jmp 0x14010881d
mov r14, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400fecd0
movups xmm0, xmmword [rdi + 0x190]
movups xmmword [rbp + 0x100], xmm0
movsd xmm1, qword [rdi + 0x1a0]
movsd qword [rbp + 0x110], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140108762
mov rsi, qword [rax + 8]
mov r8d, 0x1b8
mov rdx, rsi
call fcn.140100af0
mov rdi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rax + 8]
call fcn.1400fecd0
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rdi + 0x198], xmm0
movsd xmm1, qword [rbp + 0x110]
movsd qword [rdi + 0x1a8], xmm1
lea rax, [0x14010b350]
mov qword [rdi], rax
mov qword [rsp + 0x20], rdi
cmp byte [rbp + 0xb0], 0
je 0x1401087d2
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb8]
call rdx
nop
mov byte [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1401087f0
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1401087f0
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rsp + 0x78]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x118]
call r14
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010881d
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x128]
mov rdx, qword [rax]
lea rcx, [rbp + 0x118]
call rdx
nop
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140108fe0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140109049
cmp byte [rbx + 0x148], 0
je 0x140109017
lea rcx, [rbx + 0x150]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov byte [rbx + 0x148], 0
mov rcx, qword [rbx + 0xe8]
test rcx, rcx
je 0x140109038
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140109038
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x10]
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140109096
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140109085
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140109085
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1401090a1
inc ecx
inc rax
cmp rax, 6
jl 0x140109073
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1b8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010b1a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010b1eb
lea rbx, [rax + 8]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010b1db
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b1db
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b238
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b227
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b227
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010b243
inc ecx
inc rax
cmp rax, 6
jl 0x14010b215
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x168]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14010b270
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14010b29c
add rcx, 0x10
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b2e9
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b2d8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b2d8
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010b2f4
inc ecx
inc rax
cmp rax, 6
jl 0x14010b2c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x78]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010b4a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rdi, rdx
xor esi, esi
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0x108], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x118], rax
lea rax, fcn.140009110
mov qword [rsp + 0x50], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf8]
call rax
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x120], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x14010b570
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010b5a4
lea rcx, [0x14010c6a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xf8]
call rax
jmp 0x14010b64b
mov r14, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14010c320
mov rdi, rax
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b5d2
mov rsi, qword [rax + 8]
mov r8d, 0x198
mov rdx, rsi
call fcn.140100af0
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.14010c320
lea rax, [0x14010c840]
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x14010b61f
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b61f
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rdi + 0x30]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf8]
call r14
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010b64b
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
lea rcx, [rbp + 0xf8]
call rdx
nop
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14010b960
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010b9ab
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14010b995
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b995
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax]
lea rcx, [rbx + 8]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b9f8
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b9e7
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b9e7
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010ba03
inc ecx
inc rax
cmp rax, 6
jl 0x14010b9d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x68]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010ba30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010ba95
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14010ba67
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010ba67
mov rax, qword [rcx]
call qword [rax + select]
cmp byte [rbx + 0x58], 0
je 0x14010ba7f
lea rcx, [rbx + 0x60]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov byte [rbx + 0x58], 0
mov rax, qword [rbx + 0x20]
mov rdx, qword [rax]
lea rcx, [rbx + 0x10]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010bae3
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010bad2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010bad2
mov ecx, 4
mov eax, ecx
nop
cmp qword [rdx + rax*8], 0
je 0x14010baee
inc ecx
inc rax
cmp rax, 6
jl 0x14010bac0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xf0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010c3a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010c3e3
lea rcx, [0x14010c830]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
jmp 0x14010c4ed
mov r15, qword [rcx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14010c520
mov rsi, rax
mov qword [rsp + 0xf0], rax
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
test rax, rax
je 0x14010c415
mov rdx, qword [rax + 8]
jmp 0x14010c418
mov rdx, rbx
mov r8d, 0x90
call fcn.140100af0
mov rdi, rax
mov ecx, dword [rsi]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
lea rdx, [rsi + 8]
call fcn.1400d3e20
mov rcx, qword [rsi + 0x38]
mov qword [rdi + 0x40], rcx
mov rax, qword [rsi + 0x40]
mov qword [rdi + 0x48], rax
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 0x48]
mov qword [rsi + 0x48], rbx
mov qword [rdi + 0x50], rax
lea rcx, [rdi + 0x58]
lea rdx, [rsi + 0x50]
call fcn.1400d3e20
lea rax, [0x14010cdc0]
mov qword [rdi], rax
mov qword [rsp + 0xe0], rdi
mov rax, qword [rsi + 0x60]
mov rdx, qword [rax]
lea rcx, [rsi + 0x50]
call rdx
nop
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x14010c49c
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x14010c4bb
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010c4bb
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax]
lea rcx, [rsi + 8]
call rdx
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbp
call r15
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x14010c4ed
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14010c590
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010c5db
lea rbx, [rax + 0x38]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010c5cb
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010c5cb
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010c628
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010c617
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010c617
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010c633
inc ecx
inc rax
cmp rax, 6
jl 0x14010c605
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x198]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14010c6f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14010c717
add rcx, 8
call fcn.14010bf50
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010c764
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010c753
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010c753
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010c76f
inc ecx
inc rax
cmp rax, 6
jl 0x14010c741
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x90]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x14010d200
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010d248
lea rcx, [0x14010d6b0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call rax
jmp 0x14010d355
mov rsi, qword [rcx + 0x10]
mov eax, dword [rdx]
mov dword [rbp - 0x50], eax
add rdx, 8
lea rcx, [rbp - 0x48]
call fcn.1400d3e20
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x10], rax
xor r14d, r14d
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x38], r14
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x48], r14
mov qword [rbp - 8], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d2a4
mov rdx, qword [rax + 8]
jmp 0x14010d2a7
mov rdx, r14
mov r8d, 0x60
call fcn.140100af0
mov rbx, rax
mov ecx, dword [rbp - 0x50]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x48]
call fcn.1400d3e20
mov rcx, qword [rbp - 0x18]
mov qword [rbx + 0x40], rcx
mov rcx, qword [rbp - 0x10]
mov qword [rbx + 0x48], rcx
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov rax, qword [rbp - 8]
mov qword [rbp - 8], r14
mov qword [rbx + 0x50], rax
lea rax, [0x14010d6f0]
mov qword [rbx], rax
mov qword [rbp + 0x20], rbx
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14010d30d
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14010d32c
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d32c
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
lea rcx, [rbp - 0x48]
call rdx
nop
lea rdx, [rbp + 0x20]
mov rcx, rdi
call rsi
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14010d355
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14010d5d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010d62d
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14010d5f9
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14010d617
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d617
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x10]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010d67a
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d669
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010d669
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010d685
inc ecx
inc rax
cmp rax, 6
jl 0x14010d657
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x60]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010d870
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010d8d0
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14010d89c
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14010d8ba
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d8ba
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010d923
mov ecx, dword [0x140c739a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d912
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010d912
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14010d92e
inc ecx
inc rax
cmp rax, 6
jl 0x14010d900
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xb0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret