joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027998
Capabilities:
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
push r14
push r15
sub rsp, 0x40
mov ebp, ecx
mov r15, r8
mov ecx, dword [0x14003d17c]
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x1400279eb
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x78]
and dword [rsp + 0x78], eax
lea rdi, [rsp + 0x78]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, rax
je 0x140027a5a
test byte [rcx + 0x1c], 1
je 0x140027a5a
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140027a2a
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x140027a2c
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [rdx + r8]
mov qword [rsp + 0x30], r15
lea r8, [0x140036d48]
mov edx, 0x19
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
call fcn.1400264c4
mov rcx, qword [0x14003d048]
test ebp, ebp
je 0x140027ab0
test rsi, rsi
je 0x140027ab0
test r15, r15
je 0x140027ab0
lea rdx, [0x140035918]
mov ecx, 0x20
call fcn.1400308a0
test rax, rax
je 0x140027a97
and dword [rax + 0x18], 0
lea rcx, [0x140033a18]
mov qword [rax], rcx
mov dword [rax + 8], ebp
mov qword [rax + 0x10], rsi
mov byte [rax + 0x1c], 0
xor esi, esi
mov qword [r15], rax
mov ecx, 0x8007000e
test rax, rax
cmove esi, ecx
mov rcx, qword [0x14003d048]
jmp 0x140027ab5
mov esi, 0x80070057
lea rax, [0x14003d048]
cmp rcx, rax
je 0x140027b01
test byte [rcx + 0x1c], 1
je 0x140027b01
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140027adb
mov eax, edx
sub r14, rax
jmp 0x140027ade
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x20], esi
mov edx, 0x1a
lea r8, [0x140036d48]
call fcn.140001304
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x140027b1f
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140027b1f
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140028564
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov rsi, r8
mov ecx, dword [0x14003d17c]
mov ebp, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x1400285b7
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x50]
and dword [rsp + 0x50], eax
lea rdi, [rsp + 0x50]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rcx, qword [0x14003d048]
lea rdx, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, rdx
je 0x14002862b
test byte [rcx + 0x1c], 1
je 0x14002862b
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x1400285f6
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x1400285f8
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [rdx + r8]
mov edx, 0xa
mov qword [rsp + 0x20], r15
lea r8, [0x140036f48]
call fcn.140001370
mov rcx, qword [0x14003d048]
lea rdx, [0x14003d048]
lea r8, [0x140035650]
mov rax, qword [r15 + 8]
test rax, rax
jne 0x140028642
mov qword [r15 + 8], rsi
mov dword [r15], ebp
mov rcx, qword [0x14003d048]
neg rax
sbb esi, esi
and esi, 0x800704df
cmp rcx, rdx
je 0x140028691
test byte [rcx + 0x1c], 1
je 0x140028691
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14002866c
mov eax, edx
sub r14, rax
jmp 0x14002866f
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [r14 + r8]
lea r8, [0x140036f48]
mov dword [rsp + 0x28], esi
mov edx, ntohl
mov qword [rsp + 0x20], r15
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x1400286af
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x1400286af
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400286cc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rcx
mov esi, edx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14002871d
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x60]
and dword [rsp + 0x60], eax
lea rdi, [rsp + 0x60]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rcx, qword [0x14003d048]
lea r12, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, r12
je 0x14002879d
test byte [rcx + 0x1c], 1
je 0x14002879d
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14002875c
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x14002875e
xor edx, edx
mov eax, dword [r15]
lea r9, [rdx + r8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140036f48]
mov dword [rsp + 0x38], eax
mov edx, ntohl
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
call fcn.140027f10
mov rcx, qword [0x14003d048]
lea r8, [0x140035650]
cmp qword [r15 + 8], 0
jne 0x1400287ab
mov esi, 0x8007139f
jmp 0x1400287ca
mov eax, dword [r15 + 0x10]
lea edx, [rax + rsi]
cmp edx, eax
jae 0x1400287bd
mov esi, 0x80070216
jmp 0x1400287ca
xor esi, esi
mov eax, 0x8007006f
cmp edx, dword [r15]
cmova esi, eax
cmp rcx, r12
je 0x14002880e
test byte [rcx + 0x1c], 1
je 0x14002880e
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x1400287e9
mov eax, edx
sub r14, rax
jmp 0x1400287ec
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [r14 + r8]
lea r8, [0x140036f48]
mov dword [rsp + 0x28], esi
mov edx, ntohl
mov qword [rsp + 0x20], r15
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x14002882c
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14002882c
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x68]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140028848
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
mov r15d, edx
mov ecx, dword [0x14003d17c]
mov r12, r8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x1400288a3
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x88]
and dword [rsp + 0x88], eax
lea rdi, [rsp + 0x88]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
lea rdx, [0x140035650]
mov r14d, 0x1df
cmp r10, rax
je 0x140028915
test byte [r10 + 0x1c], 1
je 0x140028915
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x1400288e3
mov eax, ecx
mov ecx, r14d
sub rcx, rax
jmp 0x1400288e5
xor ecx, ecx
mov eax, dword [rsi]
lea r9, [rcx + rdx]
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036f48]
mov dword [rsp + 0x38], eax
mov edx, reloc.WS2_32.dll_ntohl
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
call fcn.140027f10
mov edx, r15d
mov rcx, rsi
call fcn.1400286cc
mov ebp, eax
test eax, eax
js 0x14002893c
mov edx, dword [rsi + 0x10]
mov r8, r15
add rdx, qword [rsi + 8]
mov rcx, r12
call sub.msvcrt.dll_memcpy
add dword [rsi + 0x10], r15d
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
cmp rcx, rax
je 0x140028994
test byte [rcx + 0x1c], 1
je 0x140028994
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140028969
mov eax, edx
sub r14, rax
jmp 0x14002896c
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], ebp
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x20], rsi
lea r8, [0x140036f48]
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x1400289b2
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x1400289b2
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x70]
mov eax, ebp
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400289cc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
mov r15d, edx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x140028a24
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x80]
and dword [rsp + 0x80], eax
lea rdi, [rsp + 0x80]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea r13, [0x14003d048]
lea rdx, [0x140035650]
mov r14d, 0x1df
cmp r10, r13
je 0x140028a96
test byte [r10 + 0x1c], 1
je 0x140028a96
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x140028a64
mov eax, ecx
mov ecx, r14d
sub rcx, rax
jmp 0x140028a66
xor ecx, ecx
mov eax, dword [rsi]
lea r9, [rcx + rdx]
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036f48]
mov dword [rsp + 0x38], eax
mov edx, Ordinal_20
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
call fcn.140027f10
mov edx, r15d
mov rcx, rsi
call fcn.1400286cc
mov ebp, eax
test eax, eax
js 0x140028aab
add dword [rsi + 0x10], r15d
mov rcx, qword [0x14003d048]
cmp rcx, r13
je 0x140028afc
test byte [rcx + 0x1c], 1
je 0x140028afc
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140028ad1
mov eax, edx
sub r14, rax
jmp 0x140028ad4
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], ebp
mov edx, Ordinal_20
mov qword [rsp + 0x20], rsi
lea r8, [0x140036f48]
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x140028b1a
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140028b1a
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x70]
mov eax, ebp
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140028b34
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rcx
mov rbp, r8
mov ecx, dword [0x14003d17c]
mov r12, rdx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x140028b8f
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x80]
and dword [rsp + 0x80], eax
lea rdi, [rsp + 0x80]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea rdx, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp r10, rdx
je 0x140028c07
test byte [r10 + 0x1c], 1
je 0x140028c07
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x140028bcf
mov eax, ecx
mov ecx, r14d
sub rcx, rax
jmp 0x140028bd1
xor ecx, ecx
mov eax, dword [r15]
lea r9, [rcx + r8]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call fcn.1400283f8
mov r10, qword [0x14003d048]
lea rdx, [0x14003d048]
lea r8, [0x140035650]
mov rax, rbp
neg rax
sbb esi, esi
not esi
and esi, 0x80070057
test rbp, rbp
je 0x140028c33
mov ecx, dword [r15 + 0x10]
mov eax, ecx
add rax, qword [r15 + 8]
mov qword [rbp], rax
mov eax, dword [r15]
sub eax, ecx
mov dword [r12], eax
cmp r10, rdx
je 0x140028c78
test byte [r10 + 0x1c], 1
je 0x140028c78
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x140028c53
mov eax, ecx
sub r14, rax
jmp 0x140028c56
xor r14d, r14d
mov rcx, qword [r10 + 0x10]
lea r9, [r14 + r8]
lea r8, [0x140036f48]
mov dword [rsp + 0x28], esi
mov edx, Ordinal_20
mov qword [rsp + 0x20], r15
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x140028c96
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140028c96
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x70]
mov eax, esi
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140029050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov r15, rdx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14002909f
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x60]
and dword [rsp + 0x60], eax
lea rdi, [rsp + 0x60]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rcx, qword [0x14003d048]
lea r13, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, r13
je 0x14002910c
test byte [rcx + 0x1c], 1
je 0x14002910c
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x1400290de
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x1400290e0
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [rdx + r8]
mov edx, Ordinal_24
mov qword [rsp + 0x20], rbp
lea r8, [0x140036f48]
call fcn.140001370
mov rcx, qword [0x14003d048]
lea r8, [0x140035650]
mov rax, r15
neg rax
sbb esi, esi
not esi
and esi, 0x80070057
test r15, r15
je 0x14002912e
cmp qword [rbp + 8], 0
mov eax, 0x8007139f
cmove esi, eax
cmp rcx, r13
je 0x140029174
test byte [rcx + 0x1c], 4
je 0x140029174
mov eax, dword [rdi]
inc eax
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140029152
mov eax, edx
mov rdx, r14
sub rdx, rax
jmp 0x140029154
xor edx, edx
mov eax, dword [rbp + 0x14]
lea r9, [rdx + r8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140036f48]
mov edx, reloc.ProximityCommon.dll_Ordinal_24
mov dword [rsp + 0x20], eax
call fcn.140001304
mov eax, dword [rbp + 0x14]
mov dword [r15], eax
mov rcx, qword [0x14003d048]
cmp rcx, r13
je 0x1400291cb
test byte [rcx + 0x1c], 1
je 0x1400291cb
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x1400291a0
mov eax, edx
sub r14, rax
jmp 0x1400291a3
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], esi
mov edx, 0x19
mov qword [rsp + 0x20], rbp
lea r8, [0x140036f48]
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x1400291e9
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x1400291e9
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x68]
mov eax, esi
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140029210
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov r15, rdx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14002925f
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x68]
and dword [rsp + 0x68], eax
lea rdi, [rsp + 0x68]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rcx, qword [0x14003d048]
lea r13, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, r13
je 0x1400292d1
test byte [rcx + 0x1c], 1
je 0x1400292d1
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14002929e
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x1400292a0
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [rdx + r8]
mov edx, 0x1a
mov qword [rsp + 0x28], r15
lea r8, [0x140036f48]
mov qword [rsp + 0x20], rbp
call fcn.14001abac
mov rcx, qword [0x14003d048]
lea r8, [0x140035650]
mov rax, r15
neg rax
sbb esi, esi
not esi
and esi, 0x80070057
test r15, r15
je 0x140029305
mov rax, qword [rbp + 8]
test rax, rax
jne 0x1400292f6
mov esi, 0x8007139f
jmp 0x140029305
mov qword [r15], rax
and qword [rbp + 8], 0
mov rcx, qword [0x14003d048]
cmp rcx, r13
je 0x140029349
test byte [rcx + 0x1c], 1
je 0x140029349
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140029324
mov eax, edx
sub r14, rax
jmp 0x140029327
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [r14 + r8]
lea r8, [0x140036f48]
mov dword [rsp + 0x28], esi
mov edx, 0x1b
mov qword [rsp + 0x20], rbp
call fcn.140001730
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x140029367
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140029367
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140029b1c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, rcx
mov r12, r9
mov ecx, dword [0x14003d17c]
mov r15, r8
mov dil, dl
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rsi, rax
test rax, rax
jne 0x140029b77
mov ebx, dword [0x14003d17c]
lea rdx, [rbp - 0x20]
and dword [rbp - 0x20], eax
lea rsi, [rbp - 0x20]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rsi]
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
lea r8, [0x140035650]
mov r14d, 0x1df
cmp rcx, rax
je 0x140029be5
test byte [rcx + 0x1c], 1
je 0x140029be5
mov eax, dword [rsi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140029bb6
mov eax, edx
mov edx, r14d
sub rdx, rax
jmp 0x140029bb8
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [rdx + r8]
movzx eax, dil
lea r8, [0x140036f48]
mov dword [rsp + 0x28], eax
mov edx, 0x23
mov qword [rsp + 0x20], r13
call fcn.140001730
mov rcx, qword [0x14003d048]
and dword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and dword [rbp - 8], 0
mov byte [rbp + 0x40], 0
test r15, r15
je 0x140029cac
test r12, r12
je 0x140029cac
mov byte [r15], 0
mov byte [r12], 0
cmp dil, 1
jne 0x140029c20
mov rax, qword [r13 + 8]
cmp byte [rax], 0
jge 0x140029c2e
test dil, dil
jne 0x140029c35
mov rax, qword [r13 + 8]
test byte [rax], 0x80
je 0x140029c35
mov edi, 0x8007000d
jmp 0x140029c78
mov rax, qword [r13 + 8]
lea rcx, [rbp - 0x18]
mov edx, dword [rax + 4]
lea r8, [rax + 0x207]
call fcn.140028564
mov edi, eax
test eax, eax
js 0x140029c78
lea r8, [rbp + 0x40]
mov edx, 1
lea rcx, [rbp - 0x18]
call fcn.140028848
mov edi, eax
test eax, eax
js 0x140029c78
mov al, byte [rbp + 0x40]
and al, 3
cmp al, 1
je 0x140029c81
mov edi, 1
mov rcx, qword [0x14003d048]
jmp 0x140029cb1
mov r8, r15
lea rcx, [rbp - 0x18]
mov edx, 1
call fcn.140028848
mov edi, eax
test eax, eax
js 0x140029c78
movzx edx, byte [r15]
lea rcx, [rbp - 0x18]
mov r8, r12
call fcn.140028848
mov edi, eax
jmp 0x140029c78
mov edi, 0x80070057
lea rax, [0x14003d048]
cmp rcx, rax
je 0x140029d02
test byte [rcx + 0x1c], 1
je 0x140029d02
mov eax, dword [rsi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140029cd7
mov eax, edx
sub r14, rax
jmp 0x140029cda
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], edi
mov edx, 0x24
mov qword [rsp + 0x20], r13
lea r8, [0x140036f48]
call fcn.140001730
or eax, 0xffffffff
add dword [rsi], eax
cmp ebx, eax
je 0x140029d22
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140029d22
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14002a278
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, rcx
mov r12, r9
mov ecx, dword [0x14003d17c]
mov r14, r8
mov sil, dl
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14002a2dd
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x98]
and dword [rsp + 0x98], eax
lea rdi, [rsp + 0x98]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov rbp, qword [0x14003d048]
lea rax, [0x14003d048]
lea rdx, [0x140035650]
mov r15d, 0x1df
cmp rbp, rax
je 0x14002a344
test byte [rbp + 0x1c], 1
je 0x14002a344
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14002a31c
mov eax, ecx
mov ecx, r15d
sub rcx, rax
jmp 0x14002a31e
xor ecx, ecx
movzx eax, sil
lea r9, [rcx + rdx]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call fcn.140028498
mov rbp, qword [0x14003d048]
mov rax, r12
neg rax
sbb esi, esi
not esi
and esi, 0x80070057
test r12, r12
je 0x14002a3ae
xor r14d, r14d
cmp dword [r13 + 0x20], r14d
jbe 0x14002a3a9
mov rcx, qword [r13 + 0x18]
mov dl, byte [rsp + 0x88]
mov eax, r14d
shl rax, 8
cmp dl, byte [rax + rcx]
jne 0x14002a3a0
movzx r8d, dl
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x90]
add rdx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14002a3d4
mov rcx, qword [r13 + 0x18]
mov dl, byte [rsp + 0x88]
inc r14d
cmp r14d, dword [r13 + 0x20]
jb 0x14002a36d
mov esi, 0x80070490
lea rax, [0x14003d048]
cmp rbp, rax
je 0x14002a405
test byte [rbp + 0x1c], 1
je 0x14002a405
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14002a3da
mov eax, ecx
sub r15, rax
jmp 0x14002a3dd
mov dword [r12], r14d
jmp 0x14002a3ae
xor r15d, r15d
mov rcx, qword [rbp + 0x10]
lea r9, [0x140035650]
add r9, r15
mov dword [rsp + 0x28], esi
mov edx, 0x2c
mov qword [rsp + 0x20], r13
lea r8, [0x140036f48]
call fcn.140001730
or eax, 0xffffffff
add dword [rdi], eax
cmp ebx, eax
je 0x14002a425
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14002a425
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, esi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret