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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebp, ebp
test rdx, rdx
mov rdi, rcx
mov rsi, rdx
cmovns rbp, rdx
test rcx, rcx
je 0x140009630
mov rcx, qword [rcx + 8]
mov rbx, rdi
movabs rax, 0x3fffffffffffffff
and rax, rcx
cmp rax, rbp
jge 0x140009612
mov edx, 4
test rax, rax
je 0x140009586
movabs r8, 0x3fffffffffff0000
lea rdx, [rax + rax]
test rcx, r8
je 0x140009586
add rdx, rax
sar rdx, 1
cmp rsi, rdx
mov r13d, 7
mov ebx, dword [0x1400b8628]
cmovge rdx, rsi
cmp rdx, r13
mov r12, rdx
cmovge r13, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r14d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbx + 0x38]
lea rdx, [r13 + 0x11]
lea rcx, [0x14002e020]
call fcn.140008d80
lea rdx, [rdi + 0x10]
mov rbx, rax
mov qword [rax + 8], r13
mov qword [rax], 0
mov rax, qword [rdi]
lea rcx, [rbx + 0x10]
mov qword [rbx], rax
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi]
xor edx, edx
sub rsi, rax
lea rcx, [rbx + rax + 0x10]
mov r8, rsi
call sub.msvcrt.dll_memset
mov qword [rbx + 8], r12
mov rax, rbx
mov qword [rbx], rbp
mov byte [rbx + rbp + 0x10], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, 7
lea rcx, [0x14002e020]
cmp rdx, rdi
cmovge rdi, rdx
lea rdx, [rdi + 0x11]
call fcn.1400092a0
mov qword [rax + 8], rdi
mov rbx, rax
mov qword [rax], rsi
jmp 0x140009612
Function at 0x140009b30
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov ebx, dword [0x1400b8628]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, rdx
mov rdi, rcx
call rbp
mov ecx, ebx
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
call r12
mov r13, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rbx, rax
call r13
mov rax, qword [rbx + 0x50]
cmp qword [rbx + 0x48], rax
jle 0x140009bf8
mov rax, qword [rbx + 0x40]
cmp qword [rbx + 0x2138], rax
jge 0x140009bf8
lea rdx, [r14 + 0x10]
lea rcx, [rbx + 0xa0]
call fcn.140003e30
mov qword [rax + 8], rdi
mov rsi, rax
mov qword [rax], 4
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x60]
cmp rax, 8
jle 0x140009cd0
lea r8, [rax*8]
lea r9, [rdx + r8 - 8]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
jbe 0x140009c30
and rcx, 0xfffffffffffffffb
mov qword [r10], rcx
mov qword [r9], rsi
lea rax, [rsi + 0x10]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rbx + 0x98], 0
jne 0x140009b89
lea rcx, [rbx + 0x38]
call fcn.140008a10
mov rax, qword [rbx + 0x50]
mov edx, 0x1f4
add rax, rax
cmp rax, rdx
cmovl rax, rdx
mov qword [rbx + 0x48], rax
jmp 0x140009b89
lea r9, [rdx + r8 - 0x10]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea r9, [rdx + r8 - 0x18]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea r9, [rdx + r8 - 0x20]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea r9, [rdx + r8 - 0x28]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea r9, [rdx + r8 - 0x30]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea r9, [rdx + r8 - 0x38]
mov r10, qword [r9]
mov rcx, qword [r10]
cmp rcx, 7
ja 0x140009bd2
lea rcx, [rdx + r8 - 0x40]
mov r8, qword [rcx]
mov rdx, qword [r8]
cmp rdx, 7
jbe 0x140009cde
and rdx, 0xfffffffffffffffb
mov qword [r8], rdx
mov qword [rcx], rsi
jmp 0x140009bdc
mov qword [rdx + rax*8], rsi
add qword [rbx + 0x50], 1
jmp 0x140009bdc
mov rdi, qword [rbx + 0x58]
cmp rax, rdi
jl 0x140009d90
lea rdi, [rdi + rdi*2]
mov ecx, 2
mov r14d, dword [0x1400b8628]
mov rax, rdi
cqo
idiv rcx
mov rdi, rax
mov qword [rbx + 0x58], rax
call rbp
mov ecx, r14d
mov r15d, eax
call r12
mov ecx, r15d
mov r14, rax
call r13
lea rdx, [rdi*8 + 0x10]
lea rcx, [r14 + 0xa0]
call fcn.140003e30
mov qword [rax + 8], 1
mov rdi, rax
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x60]
add rdi, 0x10
lea r8, [rax*8]
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov ecx, dword [0x1400b8628]
mov r14, qword [rbx + 0x60]
mov dword [rsp + 0x2c], ecx
call rbp
mov ecx, dword [rsp + 0x2c]
mov r15d, eax
call r12
mov ecx, r15d
mov rbp, rax
call r13
lea rdx, [r14 - 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140005230
mov qword [rbx + 0x60], rdi
mov rdx, qword [rbx + 0x50]
mov rax, qword [rbx + 0x60]
mov qword [rax + rdx*8], rsi
add qword [rbx + 0x50], 1
jmp 0x140009bdc
Function at 0x140009db0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
je 0x140009e90
mov r8, qword [rcx + 8]
add rdx, qword [rcx]
mov rdi, rcx
movabs rax, 0x3fffffffffffffff
and rax, r8
cmp rdx, rax
jle 0x140009e7f
mov ecx, 4
test rax, rax
je 0x140009e09
movabs r9, 0x3fffffffffff0000
lea rcx, [rax + rax]
test r8, r9
je 0x140009e09
add rcx, rax
sar rcx, 1
cmp rdx, rcx
mov rbx, rcx
mov ebp, 7
mov edi, dword [0x1400b8628]
cmovge rbx, rdx
cmp rbx, rbp
cmovge rbp, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r12d
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x11]
lea rcx, [0x14002e020]
call fcn.140008d80
lea rdx, [rsi + 0x10]
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
mov rax, qword [rsi]
lea rcx, [rdi + 0x10]
mov qword [rdi], rax
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov qword [rdi + 8], rbx
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, 7
lea rcx, [0x14002e020]
cmp rdx, rax
cmovge rax, rdx
lea rdx, [rax + 0x11]
mov rbx, rax
call fcn.140009b30
mov rdi, rax
mov qword [rax + 8], rbx
mov qword [rax], 0
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140009ed0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov r12d, edx
test rcx, rcx
je 0x14000a000
mov rdx, qword [rcx + 8]
mov rdi, qword [rcx]
mov rbx, rcx
movabs rax, 0x3fffffffffffffff
and rax, rdx
lea r13, [rdi + 1]
cmp rax, rdi
jg 0x140009fa2
test rax, rax
je 0x140009fe0
movabs rcx, 0x3fffffffffff0000
test rdx, rcx
jne 0x140009fc8
lea rbp, [rax + rax]
mov r13d, 7
cmp rbp, r13
cmovge r13, rbp
lea r14, [r13 + 0x11]
mov ebx, dword [0x1400b8628]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbx + 0x38]
mov rdx, r14
lea rcx, [0x14002e020]
call fcn.140008d80
lea rdx, [rsi + 0x10]
mov qword [rax + 8], r13
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], 0
mov rdi, qword [rsi]
mov qword [rax], rdi
lea r13, [rdi + 1]
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rbx + 8], rbp
mov rax, rbx
mov byte [rbx + rdi + 0x10], r12b
mov byte [rbx + r13 + 0x10], 0
mov qword [rbx], r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rax, [rax + rax*2]
sar rax, 1
mov rbp, rax
lea r14, [rax + 0x11]
mov r13, rax
jmp 0x140009f42
mov r14d, 0x18
mov r13d, 7
mov ebp, 4
jmp 0x140009f42
mov edx, 0x18
lea rcx, [0x14002e020]
mov r13d, 1
xor edi, edi
call fcn.140009b30
movdqu xmm0, xmmword [0x140031a50]
mov rbx, rax
movups xmmword [rax], xmm0
jmp 0x140009fa2
Function at 0x14000a770
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov esi, dword [0x1400b8628]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, rcx
call rbp
mov ecx, esi
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
call r12
mov ecx, edi
mov rdi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, rax
call rdi
mov rax, qword [rsi]
test rax, rax
je 0x14000a7c3
mov rcx, rbx
call rax
test al, al
je 0x14000a8b0
mov rax, qword [0x1400b4790]
test rax, rax
je 0x14000a7dc
mov rcx, rbx
call rax
test al, al
je 0x14000a8b0
cmp qword [rsi + 0x20], 0
je 0x14000a8c8
mov r13d, dword [0x1400b8628]
call rbp
mov r14d, eax
mov ecx, r13d
call r12
mov ecx, r14d
mov r13, rax
call rdi
mov r15, qword [r13 + 0x28]
test r15, r15
je 0x14000a80f
add qword [r15 - 0x10], 8
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14000a85d
mov rdx, qword [rax - 0x10]
lea r9, [rax - 0x10]
mov qword [rsp + 0x20], r9
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x14000a85d
mov r14d, dword [0x1400b8628]
call rbp
mov dword [rsp + 0x2c], eax
mov ecx, r14d
call r12
mov ecx, dword [rsp + 0x2c]
mov r14, rax
call rdi
mov rdx, qword [rsp + 0x20]
lea rcx, [r14 + 0x50]
call fcn.140005ad0
mov qword [rbx + 0x28], r15
lea rcx, [r13 + 0x28]
call fcn.1400079c0
test al, al
jne 0x14000a898
add qword [rbx - 0x10], 8
mov rax, qword [r13 + 0x28]
cmp rax, 0xfff
jbe 0x14000a898
mov rdx, qword [rax - 0x10]
lea r15, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x14000a8f0
nop dword [rax]
mov qword [r13 + 0x28], rbx
mov rcx, qword [rsi + 0x20]
mov edx, 1
add rcx, 0x10
call qword [sym.imp.msvcrt.dll_longjmp]
nop
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400b4780]
test rax, rax
je 0x14000a8d9
mov rcx, rbx
call rax
mov rcx, rbx
call fcn.14000a3a0
mov ecx, 1
call sub.msvcrt.dll_exit
nop dword [rax + rax]
mov ecx, dword [0x1400b8628]
mov dword [rsp + 0x20], ecx
call rbp
mov ecx, dword [rsp + 0x20]
mov r14d, eax
call r12
mov ecx, r14d
mov rbp, rax
call rdi
lea rcx, [rbp + 0x50]
mov rdx, r15
call fcn.140005ad0
jmp 0x14000a898
Function at 0x14000a920
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
mov r12, qword [rsp + 0x90]
mov rbx, rcx
mov rsi, r8
mov rdi, r9
jne 0x14000a94c
mov qword [rcx + 0x10], rdx
test rsi, rsi
je 0x14000a9f3
test rdi, rdi
je 0x14000a9f3
mov rcx, qword [rbx + 0x20]
lea rdx, [0x1400b8d80]
call fcn.14000b200
mov rbp, rax
test rax, rax
je 0x14000a97b
add qword [rax - 0x10], 8
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14000a9cb
mov rcx, qword [rax - 0x10]
lea r15, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x14000a9cb
mov r13d, dword [0x1400b8628]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r14d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [r13 + 0x50]
mov rdx, r15
call fcn.140005ad0
mov qword [rbx + 0x20], rbp
mov rax, qword [rbp]
lea rdx, [rax + 1]
lea rax, [rax + rax*2]
mov qword [rbp], rdx
mov rdx, qword [rbx + 0x20]
lea rax, [rdx + rax*8]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], rdi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000a770
Function at 0x14000ac40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rdx
test rdx, rdx
js 0x14000ace7
call fcn.140001e80
mov rcx, rbx
mov rdi, rax
call fcn.140001e80
mov rbp, rax
test rdi, rdi
je 0x14000ad43
mov rsi, qword [rdi]
test rax, rax
je 0x14000ad86
add rsi, qword [rax]
mov eax, 7
lea rcx, [0x14002e020]
add rsi, 0x13
cmp rsi, rax
cmovl rsi, rax
lea rdx, [rsi + 0x11]
call fcn.1400092a0
xor edx, edx
mov qword [rax], rdx
mov rcx, rax
lea rdx, [0x140031840]
mov rbx, rax
mov qword [rax + 8], rsi
call fcn.140002d10
mov rdx, rdi
mov rcx, rbx
call fcn.140002d10
lea rdx, [0x140031820]
mov rcx, rbx
call fcn.140002d10
mov rdx, rbp
mov rcx, rbx
call fcn.140002d10
mov rcx, rbx
call fcn.14000abb0
mov ebx, dword [0x1400b8628]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
lea rsi, [0x140031870]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbx + 0x38]
mov edx, 0x3c
lea rcx, [0x14002e020]
call fcn.140008d80
movdqu xmm0, xmmword [0x140031a70]
mov ecx, 0xb
mov rbx, rax
lea rax, [rax + 0x10]
movups xmmword [rax - 0x10], xmm0
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
jmp 0x14000acdf
xor esi, esi
test rax, rax
je 0x14000ad86
mov rax, qword [rbp]
lea rcx, [0x14002e020]
lea rsi, [rax + 0x13]
mov eax, 7
cmp rsi, rax
cmovl rsi, rax
lea rdx, [rsi + 0x11]
call fcn.1400092a0
lea rdx, [0x140031840]
mov qword [rax + 8], rsi
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
jmp 0x14000acbd
mov eax, 7
add rsi, 0x13
lea rcx, [0x14002e020]
cmp rsi, rax
cmovl rsi, rax
lea rdx, [rsi + 0x11]
call fcn.1400092a0
xor ecx, ecx
lea rdx, [0x140031840]
mov qword [rax], rcx
mov rcx, rax
mov rbx, rax
mov qword [rax + 8], rsi
call fcn.140002d10
test rdi, rdi
je 0x14000ade5
mov rdx, rdi
mov rcx, rbx
call fcn.140002d10
lea rdx, [0x140031820]
mov rcx, rbx
call fcn.140002d10
jmp 0x14000acdf
lea rdx, [0x140031820]
mov rcx, rbx
call fcn.140002d10
jmp 0x14000acdf
Function at 0x14000aee0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov r8, qword [rax + 0x30]
mov rbx, rcx
test r8, r8
je 0x14000af10
movzx edx, dl
lea rcx, [rcx + 0x10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp r8
movzx ecx, byte [rax + 0x10]
cmp cl, 0x16
je 0x14000afa0
cmp cl, 0x18
jne 0x14000af90
mov rdi, rbx
add rdi, 0x10
je 0x14000af90
mov rbp, qword [rbx + 0x10]
test rbp, rbp
jle 0x14000af90
movzx esi, dl
xor r12d, r12d
jmp 0x14000af77
sub rax, 1
jo 0x14000afbe
mov rcx, rax
add rcx, 0x10
jo 0x14000afbe
not rax
and rax, rcx
mov rcx, qword [rdx]
mov r8d, esi
imul rcx, r12
add r12, 1
add rcx, rdi
add rcx, rax
call fcn.140008100
cmp rbp, r12
je 0x14000af90
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 8]
test rax, rax
jne 0x14000af40
mov eax, 0x10
jmp 0x14000af55
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rax + 0x18]
movzx r8d, dl
lea rcx, [rbx + 0x10]
mov rdx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140008100
call fcn.14000ae00
nop
nop word cs:[rax + rax]
nop
sub rsp, 0x28
mov rax, rcx
test rdx, rdx
je 0x14000afed
sub rdx, 1
jo 0x14000aff2
add rax, rdx
jo 0x14000aff2
not rdx
and rax, rdx
add rsp, 0x28
ret
call fcn.14000ae00
nop
nop dword [rax + rax]
Function at 0x14000b070
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rcx
mov rax, qword [rbx + 0x18]
nop dword [rax]
test rax, rax
jle 0x14000b143
mov rax, qword [rbx + 0x28]
mov rsi, qword [rax]
and qword [rsi], 0xfffffffffffffffb
mov rax, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x18]
mov rdx, qword [rax + rdx*8 - 8]
mov qword [rax], rdx
mov rax, qword [rbx + 0x18]
sub rax, 1
mov qword [rbx + 0x18], rax
cmp qword [rsi], 7
ja 0x14000b0a0
mov edi, dword [0x1400b8628]
call r13
mov r14d, eax
mov ecx, edi
call r12
mov ecx, r14d
mov rdi, rax
call rbp
mov rax, qword [rsi + 8]
cmp qword [rax + 0x28], 0
je 0x14000b115
add qword [rdi + 0x98], 1
lea rcx, [rsi + 0x10]
call qword [rax + 0x28]
sub qword [rdi + 0x98], 1
mov rax, qword [rsi + 8]
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14000b160
lea rcx, [rsi + 0x10]
mov edx, 2
call r8
lea rcx, [rbx + 0x68]
mov rdx, rsi
call fcn.140005230
mov rax, qword [rbx + 0x18]
test rax, rax
jg 0x14000b0a9
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx edx, byte [rax + 0x10]
cmp dl, 0x16
je 0x14000b1e0
cmp dl, 0x18
jne 0x14000b12a
mov rdi, rsi
add rdi, 0x10
je 0x14000b12a
mov r14, qword [rsi + 0x10]
test r14, r14
jle 0x14000b12a
xor r15d, r15d
jmp 0x14000b1c6
sub rax, 1
jo 0x14000b1f8
mov rcx, rax
add rcx, 0x10
jo 0x14000b1f8
not rax
and rax, rcx
mov rcx, qword [rdx]
mov r8d, 2
imul rcx, r15
add r15, 1
add rcx, rdi
add rcx, rax
call fcn.140008100
cmp r14, r15
je 0x14000b12a
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 8]
test rax, rax
jne 0x14000b188
mov eax, 0x10
jmp 0x14000b19d
mov rdx, qword [rax + 0x18]
lea rcx, [rsi + 0x10]
mov r8d, 2
call fcn.140008100
jmp 0x14000b12a
call fcn.14000ae00
nop
nop

Function at 0x14000b440
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, dword [0x1400b8628]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000b47b
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000a770
call fcn.14000b3b0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000ba10
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebx, dword [0x1400b8628]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, rcx
mov rsi, rdx
call r13
mov ecx, ebx
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
call r12
mov ecx, edi
mov rdi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rax
call rdi
test rbp, rbp
je 0x14000ba92
lea r14, [rbp - 0x10]
cmp sil, 2
je 0x14000bb88
ja 0x14000baa8
test sil, sil
je 0x14000bab0
mov rdx, qword [rbx + 0x88]
mov rax, qword [rbx + 0x80]
cmp rdx, rax
jle 0x14000bad0
mov rsi, qword [rbx + 0x90]
mov qword [rsi + rax*8], r14
add qword [rbx + 0x80], 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp sil, 3
je 0x14000ba6c
jmp 0x14000ba92
lea rcx, [rbx + 0x38]
mov rdx, r14
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400084a0
lea rax, [rdx + rdx*2]
mov ebp, dword [0x1400b8628]
mov rsi, rax
shr rsi, 0x3f
add rsi, rax
sar rsi, 1
mov qword [rbx + 0x88], rsi
call r13
mov ecx, ebp
mov r15d, eax
call r12
mov ecx, r15d
mov rbp, rax
call rdi
lea rdx, [rsi*8 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140003e30
mov qword [rax + 8], 1
lea rsi, [rax + 0x10]
mov rax, qword [rbx + 0x80]
mov rdx, qword [rbx + 0x90]
mov rcx, rsi
lea r8, [rax*8]
call sub.msvcrt.dll_memcpy
mov ebp, dword [0x1400b8628]
mov r15, qword [rbx + 0x90]
call r13
mov r13d, eax
mov ecx, ebp
call r12
mov ecx, r13d
mov rbp, rax
call rdi
lea rdx, [r15 - 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140005230
mov qword [rbx + 0x90], rsi
mov rax, qword [rbx + 0x80]
jmp 0x14000ba86
mov rax, qword [rbp - 0x10]
sub rax, 8
mov qword [rbp - 0x10], rax
cmp rax, 7
ja 0x14000ba92
mov ebx, dword [0x1400b8628]
call r13
mov esi, eax
mov ecx, ebx
call r12
mov ecx, esi
mov rbx, rax
call rdi
lea rcx, [rbx + 0x50]
mov rdx, r14
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140005ad0

Function at 0x14000c3d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
mov rax, qword [rcx + 8]
test rax, rax
je 0x14000c410
sub rax, 1
jo 0x14000c485
mov rdx, rax
add rdx, 0x10
jo 0x14000c485
not rax
and rax, rdx
jmp 0x14000c415
mov eax, 0x10
mov rdx, rbx
imul rdx, qword [rcx]
jo 0x14000c485
mov rsi, rdx
add rsi, rax
jo 0x14000c485
test byte [rcx + 0x11], 1
je 0x14000c478
mov ebp, dword [0x1400b8628]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r12d
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.140008d80
mov qword [rax], 0
mov qword [rax + 8], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, rsi
mov rcx, rdi
call fcn.1400092a0
jmp 0x14000c45e
call fcn.14000ae00
nop
nop dword [rax + rax]
Function at 0x14000de30
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, dword [0x1400b8628]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 0x38]
test rax, rax
je 0x14000de70
cmp rax, rbx
je 0x14000de74
cmp rbx, rax
cmovl rbx, rax
mov qword [rsi + 0x38], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000de80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x1400aaea0]
cmp rax, 0xdab
jg 0x14000df65
lea rcx, [0x1400a4140]
lea rsi, [0x140007dc0]
lea rdx, [rax + 1]
mov qword [rcx + rax*8], rsi
mov qword [0x1400aaea0], rdx
cmp rdx, 0xdac
je 0x14000df65
add rax, 2
lea rsi, [0x140007d80]
mov qword [rcx + rdx*8], rsi
mov esi, dword [0x1400b8628]
mov qword [0x1400aaea0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400270f0
cmp rax, 0x3e88
jg 0x14000df6a
call fcn.140004810
lea rbx, [0x14000b770]
mov ecx, 2
mov rdx, rbx
call sub.msvcrt.dll_signal
mov rdx, rbx
mov ecx, 0xb
call sub.msvcrt.dll_signal
mov rdx, rbx
mov ecx, 0x16
call sub.msvcrt.dll_signal
mov rdx, rbx
mov ecx, 8
call sub.msvcrt.dll_signal
mov rdx, rbx
mov ecx, 4
call sub.msvcrt.dll_signal
lea rcx, [0x1400b1c40]
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.140002de0
mov ecx, 2
call qword [fcn.14002d730]
lea rdx, str.too_large_thread_local_storage_size_requested__nuse__d:_pjxTlsSizeX__to_setup_even_more_or_stop_using_unittest.pjx
mov rcx, rax
call fcn.140002db0
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
Function at 0x140013b50
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
movdqu xmm0, xmmword [0x1400324a0]
xor eax, eax
lea rbp, [rsp + 0x30]
mov r12, rcx
mov ecx, 0xd
mov r14, rdx
mov rdi, rbp
mov r13, r8
rep stosq qword [rdi], rax
movups xmmword [rsp + 0x38], xmm0
movdqu xmm0, xmmword [0x1400324b0]
movups xmmword [rsp + 0x48], xmm0
test rdx, rdx
jle 0x140013cc8
lea rcx, [rdx - 1]
mov r15, rdx
xor esi, esi
mov edi, 0x40
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x100], r8
jmp 0x140013c2e
test bl, 4
jne 0x140013cf8
test ebx, ebx
je 0x140013beb
movzx edx, byte [rcx]
mov byte [rax], dl
test bl, 2
jne 0x140013d10
add rsi, rbx
jno 0x140013bf5
call fcn.14000ae00
sub r15, rbx
add ebx, dword [rsp + 0x30]
mov dword [rsp + 0x30], ebx
jae 0x140013c07
add dword [rsp + 0x34], 1
and ebx, 0x3f
jne 0x140013c21
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x38]
mov r8d, 0x40
call fcn.140013d30
test r15, r15
jle 0x140013cc0
mov eax, dword [rsp + 0x30]
mov r13d, eax
mov rbx, rdi
and r13d, 0x3f
sub rbx, r13
cmp rbx, r15
cmovg rbx, r15
test rsi, rsi
js 0x140013cb0
cmp r14, rsi
jle 0x140013cb0
lea rax, [rbp + r13 + 0x28]
lea rcx, [r12 + rsi]
cmp ebx, 8
jb 0x140013bd0
mov rdx, qword [rcx]
lea r10, [rax + 8]
and r10, 0xfffffffffffffff8
mov qword [rax], rdx
mov edx, ebx
mov r8, qword [rcx + rdx - 8]
mov qword [rax + rdx - 8], r8
sub rax, r10
sub rcx, rax
add eax, ebx
and eax, 0xfffffff8
cmp eax, 8
jb 0x140013beb
and eax, 0xfffffff8
xor edx, edx
mov r8d, edx
add edx, 8
mov r9, qword [rcx + r8]
mov qword [r10 + r8], r9
cmp edx, eax
jb 0x140013c91
jmp 0x140013beb
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14000ac40
jmp 0x140013c4c
mov r13, qword [rsp + 0x100]
mov rdx, r13
mov rcx, rbp
call fcn.140015b40
mov edx, 0x68
mov rcx, rbp
call fcn.140013af0
nop
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rcx]
mov dword [rax], edx
mov edx, ebx
mov ecx, dword [rcx + rdx - 4]
mov dword [rax + rdx - 4], ecx
jmp 0x140013beb
mov edx, ebx
movzx ecx, word [rcx + rdx - 2]
mov word [rax + rdx - 2], cx
jmp 0x140013beb