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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor r14d, r14d
test rax, rax
mov rbp, rcx
mov ecx, dword [0x1401a580c]
mov rbx, r8
mov rdi, rdx
lea rsi, [rax + 0x28]
cmove rsi, r14
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140046b25
cmp qword [rax], rsi
je 0x140046b61
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140046b17
mov rsi, r14
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
je 0x140046b67
mov rax, qword [rdi]
cmp byte [rax + 0x60], r14b
jne 0x140046b67
mov byte [rax + 0x60], 1
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rsi, qword [rax + 8]
jmp 0x140046b28
mov rax, qword [rdi]
cmp byte [rax + 0x60], r14b
je 0x140046ba5
mov qword [rbx + 0x20], r14
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x140046b83
mov qword [rcx + 0x20], rbx
jmp 0x140046b87
mov qword [rax + 0x68], rbx
mov qword [rax + 0x70], rbx
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov byte [rax + 0x60], 1
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
add rax, 0x78
mov qword [rbx + 0x20], r14
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140046bd0
mov qword [rcx + 0x20], rbx
jmp 0x140046bd3
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov rdx, qword [rdi]
mov rcx, qword [rbp + 0x28]
lock inc dword [rcx + 0x30]
call fcn.140043460
xor al, al
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004af20
Capabilities:
Hash data with md5

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0x67452301
mov dword [rsp + 0x4c], 0xefcdab89
mov dword [rsp + 0x50], 0x98badcfe
mov dword [rsp + 0x54], 0x10325476
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004af8d
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.14004ac20
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.14004ad30
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov edx, reloc.WS2_32.dll_recv
sub rdx, rdi
xor r8d, r8d
mov rcx, rbx
call fcn.140012ce0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004afe0
mov rcx, qword [rbx]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memmove
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x14004c6c0
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
cmp qword [rcx + 0x78], 0
je 0x14004c744
test edx, edx
jne 0x14004c702
mov rcx, qword [rcx + 0x58]
mov rcx, qword [rcx + 0x10]
call fcn.1400433d0
mov rcx, qword [rbx + 0x78]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140042bf0
mov rax, qword [rcx + 0x58]
mov rcx, qword [rax + 0x10]
xor eax, eax
xchg dword [rcx + 0x34], eax
mov ecx, Ordinal_27
call fcn.1400ace1c
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov rdx, qword [rbx + 0x58]
mov rcx, rax
call fcn.1400537d0
nop
mov rdx, rax
lea rcx, [rbx + 0x78]
call fcn.14004d650
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005c0a0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x140
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rbx, rdx
mov rsi, rcx
mov byte [rsp + 0x51], 1
lea rcx, [rsp + 0x58]
call fcn.14005fb20
movups xmm0, xmmword [rbx + 0xc8]
movaps xmmword [rsp + 0x120], xmm0
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1401a580c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
test rax, rax
je 0x14005c141
mov rax, qword [rax + 8]
test rax, rax
je 0x14005c141
mov rdi, qword [rax]
test rdi, rdi
je 0x14005c141
mov qword [rax], rbp
movzx eax, byte [rdi]
cmp al, 0x48
jb 0x14005c139
mov byte [rdi + 0x120], al
jmp 0x14005c155
mov rcx, rdi
call fcn.1400ad488
mov ecx, 0x121
call fcn.1400ace1c
mov rdi, rax
mov byte [rax + 0x120], reloc.zlibwapi.dll_Ordinal_72
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbp
mov qword [rdi + 0x20], rbp
lea rax, [0x14006f560]
mov qword [rdi + 0x28], rax
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov dword [rdi + 0x30], ebp
lea rcx, [rdi + 0x38]
mov qword [rsp + 0x20], rcx
movzx eax, byte [rsp + 0x51]
mov byte [rcx + 1], al
mov byte [rsp + 0x51], 0
lea rbx, [rcx + 8]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14005fb20
movaps xmm0, xmmword [rsp + 0x120]
movups xmmword [rbx + 0xc8], xmm0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rdi
call fcn.140043460
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x28]
call fcn.140068970
nop
lea rcx, [rsp + 0x58]
call fcn.1400562f0
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140068970
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 0x140068997
add rcx, 0x40
call fcn.1400562f0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400689ef
mov ecx, dword [0x1401a580c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400689df
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400689df
cmp qword [rcx], 0
jne 0x1400689df
movzx eax, byte [rbx + 0x120]
mov byte [rbx], al
mov qword [rcx], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ad488
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140068e70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 8], rax
cmp qword [r8 + 0x18], 0x10
mov r10, rdx
mov dword [rsp], r9d
jb 0x140068e94
mov r8, qword [r8]
mov rdx, qword [rdx + 0x18]
mov rcx, r10
cmp rdx, 0x10
jb 0x140068ea4
mov rcx, qword [r10]
mov rax, qword [r10 + 0x10]
add rax, rcx
cmp rdx, 0x10
jb 0x140068eb4
mov r10, qword [r10]
xor ecx, ecx
mov r9, rax
sub r9, r10
cmp r10, rax
cmova r9, rcx
test r9, r9
je 0x140068eea
mov edx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rsp + rcx]
inc rcx
mov byte [rdx + r8], al
and ecx, 3
inc rdx
cmp rdx, r9
jne 0x140068ed0
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x18
ret

Function at 0x140068f00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx + 0x19], 0
mov rbp, r9
mov rdi, r8
mov r10, rdx
mov rsi, rcx
jge 0x140068f74
mov rax, qword [rcx + 0x80]
xor ecx, ecx
mov rdx, qword [rax + 0x10]
mov dword [rsp + 0x20], edx
test r8, r8
je 0x140068f5e
nop dword [rax]
nop word [rax + rax]
mov rax, rcx
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
xor byte [r10 + rcx], al
inc rcx
cmp rcx, rdi
jb 0x140068f40
mov rax, qword [rsi + 0x80]
mov rcx, rdi
and ecx, 3
je 0x140068f70
lea ecx, [rcx*8]
ror rdx, cl
mov qword [rax + 0x10], rdx
mov rax, qword [rsi + 0x80]
mov rdx, r10
mov rbx, qword [rax]
add rbx, 0x50
mov rcx, rbx
mov r14, qword [rbx + 0x10]
call fcn.140004d90
mov r11, qword [rsi + 0x80]
mov rax, qword [r11]
cmp dword [rax + 0x70], 1
jne 0x140069036
mov r8, qword [rbx + 0x18]
mov rcx, rbx
cmp r8, 0x10
jb 0x140068fb5
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
add rdx, rcx
cmp r8, 0x10
jb 0x140068fc5
mov rbx, qword [rbx]
lea rax, [r14 + rbx]
cmp rax, rdx
je 0x140069036
mov r10d, dword [r11 + 0x18]
lea r14, [0x14013d470]
nop dword [rax]
movzx r8d, byte [rax]
mov r9d, r8d
movzx ebx, byte [r8 + r14]
test r10d, r10d
je 0x140069001
mov ecx, dword [r11 + 0x1c]
and r9d, 0x3f
shl ecx, 6
or r9d, ecx
jmp 0x14006900f
mov r8d, 0xff
mov ecx, ebx
sar r8d, cl
and r9d, r8d
mov dword [r11 + 0x1c], r9d
mov ecx, dword [r11 + 0x18]
add ecx, 0x10
shl ecx, 4
add ecx, ebx
movzx r10d, byte [rcx + r14]
mov dword [r11 + 0x18], r10d
cmp r10d, 1
je 0x140069048
inc rax
cmp rax, rdx
jne 0x140068fe0
sub qword [rsi + 0x30], rdi
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
call fcn.14004a2d0
mov qword [rsp + 0x30], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbp], xmm0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006c340
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rbp - 0x69]
call fcn.140078610
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 9], xmm0
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006c3c2
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14006c4f8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006c3b0
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x69]
mov ecx, 0xa8
call fcn.140042670
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rbp - 0x79], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140078b30]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140057fd0
movaps xmm0, xmmword [rbp - 9]
movups xmmword [rbx + 0x60], xmm0
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140046ae0
mov qword [rbp - 0x79], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x14006c4c6
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov rax, qword [rsi]
mov qword [rbp + 0x17], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
mov qword [rbp + 0x1f], rax
lea rdx, [rbp + 0x17]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rbp + 7]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.140078b30
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rbp + 0x27]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x61]
call fcn.1400499e0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14006c3c2
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.14007d780
nop
jmp 0x14006c4c6
Function at 0x14006c590
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rbx, rcx
lea rax, [rbp - 0x49]
mov qword [rbp - 0x79], rax
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14006c5f0
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax]
mov qword [rbp - 0x11], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 9], xmm0
lea rsi, [rbx + 8]
mov r14, qword [rbx]
mov rbx, qword [rsi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006c624
cmp qword [rax], rbx
je 0x14006c767
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006c612
lea rax, [rbp - 0x49]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x49]
mov ecx, 0x88
call fcn.140042670
mov rdi, rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.1400789c0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rbp - 0x79], rbx
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140058770
movaps xmm0, xmmword [rbp - 9]
movups xmmword [rbx + 0x40], xmm0
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140046ae0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x61], r15
test al, al
je 0x14006c71a
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov rax, qword [rsi]
mov qword [rbp + 0x1f], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 0x2f], rax
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x27], rax
lea rdx, [rbp + 0x1f]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rbp - 0x79], rax
mov rax, qword [rsi]
mov qword [rbp - 0x71], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rbp + 0xf]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400789c0
nop
lea rcx, [rbp - 0x79]
call fcn.1400468b0
nop
mov rdx, qword [rbp + 0x2f]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x69]
call fcn.140079490
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14006c73e
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14006c624
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.14007d7a0
nop
jmp 0x14006c724
Function at 0x14006c790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], rax
lea rdx, [rcx + 0x18]
lea rcx, [rsp + 0x58]
call fcn.14006eea0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdi]
mov qword [rbp - 0x40], rax
lea r14, [rsi + 8]
mov rsi, qword [rsi]
mov rbx, qword [r14]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006c822
nop
cmp qword [rax], rbx
je 0x14006c966
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006c810
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xb0
call fcn.140042670
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140078880]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140057fd0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x60], xmm0
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x70], rax
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x14006c933
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rax, qword [r14]
mov qword [rbp - 0x20], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rbp - 0x30]
mov rdx, rdi
mov rcx, qword [rsi + 0x28]
call fcn.140078880
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rbp - 0x10]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x58]
call fcn.1400499e0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14006c822
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14007d7e0
nop
jmp 0x14006c933
Function at 0x14006cfb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14006ede0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdi]
mov qword [rbp - 0x40], rax
lea r14, [rsi + 8]
mov rsi, qword [rsi]
mov rbx, qword [r14]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006d038
cmp qword [rax], rbx
je 0x14006d17c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006d026
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xb0
call fcn.140042670
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140078750]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14005e710
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x60], xmm0
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x70], rax
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x14006d149
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rax, qword [r14]
mov qword [rbp - 0x20], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rbp - 0x30]
mov rdx, rdi
mov rcx, qword [rsi + 0x28]
call fcn.140078750
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rbp - 0x10]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x58]
call fcn.1400499e0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14006d038
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14007d850
nop
jmp 0x14006d149
Function at 0x14006e850
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx + 8]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006e89e
nop dword [rax]
cmp qword [rax], rbx
je 0x14006e89e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006e890
mov qword [rsp + 0x28], rdi
lea rdx, [rdi + 0x10]
mov ecx, 0x88
call fcn.140042670
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov qword [rax + 0x20], rbp
lea rcx, [0x14006fc20]
mov qword [rax + 0x28], rcx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x30], ebp
lea rcx, [rax + 0x38]
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
add rcx, 0x10
lea rdx, [rdi + 0x10]
call fcn.140058770
mov rcx, qword [rsi + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, qword [rsp + 0x30]
call fcn.140043460
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x28]
call fcn.14006fba0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400740d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x60]
call fcn.140075120
nop
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x20], rax
lea rdx, [rbx + 0x18]
lea rcx, [rbp - 0x18]
call fcn.140058040
movups xmm0, xmmword [rbx + 0x80]
movaps xmmword [rbp + 0x50], xmm0
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140074172
nop
cmp qword [rax], rbx
je 0x1400742a6
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140074160
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
mov ecx, 0x138
call fcn.140042670
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14007afd0]
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
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x60]
call fcn.14007b380
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140046ae0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test al, al
je 0x14007426c
xor eax, eax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov rax, qword [rsi]
mov qword [rbp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call fcn.14007afd0
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rbp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x18]
call fcn.140050300
lea rcx, [rsp + 0x68]
call fcn.140050300
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140074172
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14007df60
nop
jmp 0x14007426c