joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022648
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc r8
cmp r8, 8
jb 0x140022677
mov r8, qword [rsi + 0x30]
and r8, rcx
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
mov r10, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400226ba
mov rax, rdx
jmp 0x1400226c2
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140022700
mov rcx, qword [r9]
cmp qword [rbx + 0x10], rcx
je 0x1400226d5
mov rbx, qword [rbx]
jmp 0x1400226ac
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400226e3
mov rax, rdx
jmp 0x1400226eb
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400226fb
cmp rcx, qword [rbx + 0x10]
jne 0x1400226fb
mov rbx, qword [rbx]
jmp 0x1400226d8
cmp r10, rbx
jne 0x140022706
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x14002271e
inc rbp
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x140022710
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x140022775
cmp rbx, rdx
jne 0x140022775
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x140022753
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x140022741
mov edx, 8
mov rcx, rsi
call fcn.1400186e0
jmp 0x14002277a
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140022794
cmp rdi, rbx
jne 0x140022762
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140022794
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x1400227b1
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140022809
cmp qword [rcx + rdx*8], r8
jne 0x1400227fe
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140022802
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140022816
cmp qword [rcx + rdx*8], r8
jne 0x140022816
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140022af8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140022b34
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140022b79
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140022bc3
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140022b7c
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140022ce8
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140022bfd
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140022c1d
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140022c4c
cmp rax, rdx
jne 0x140022c28
mov qword [r9 + r8*8], rbx
jmp 0x140022c4c
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140022c4c
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14017f2b0]
test rax, rax
jns 0x140022c6d
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140022c7e
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140022cdd
cmp rdx, 0x200
jae 0x140022c96
shl rdx, 3
jmp 0x140022ca8
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140022ca8
add rdx, rdx
mov rcx, rsi
call fcn.1400186e0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140022cdd
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140022af8
cmp rdi, r15
jne 0x140022cbd
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400258e8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x140025909
xor eax, eax
jmp 0x140025b0a
and dword [rbp + 0x50], 0
lea rdi, [0x140136124]
xor r9d, r9d
lea r10, [0x1401dc868]
mov dword [rbp + 0x48], r9d
lea r13d, [r9 + 2]
mov cl, byte [rdi]
mov rdx, rbx
or dword [rbp + 0x40], 0xffffffff
call fcn.140025884
mov r15d, eax
cmp eax, 0xffffffff
je 0x140025aaf
and dword [rbp - 0x18], 0
mov rcx, r10
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], r10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x140025975
cmp dword [rbp - 0x14], eax
jne 0x140025b19
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
mov ecx, dword [rbp + 0x40]
xor esi, esi
cmp esi, 4
jge 0x140025a97
mov eax, dword [rbx + 0x1c]
lea rcx, [rbp - 0x10]
mov rdx, qword [rbx + 0x10]
mov r9d, r15d
and qword [rbp + 0x58], 0
xor r14b, r14b
mov dword [rsp + 0x20], eax
call fcn.140024b40
mov rcx, rax
mov eax, dword [rax]
mov dword [rbp + 0x40], eax
mov rax, qword [rcx + 8]
and qword [rcx + 8], 0
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x58], rax
test rcx, rcx
je 0x1400259cd
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400259e8
and qword [rbp - 8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
mov ecx, dword [rbp + 0x40]
test ecx, ecx
jne 0x140025a6b
mov rax, qword [rbp + 0x58]
lea rcx, [rbp + 0x48]
mov rdx, qword [rbx]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rcx
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov dword [rbp + 0x40], eax
cmp dword [rbp + 0x48], r13d
jae 0x140025a30
mov eax, dword [rbp + 0x50]
dec eax
cmp eax, 1
cmovbe ecx, r13d
mov dword [rbp + 0x40], ecx
cmp ecx, 0x3f2
je 0x140025a45
cmp ecx, 0x3fa
je 0x140025a45
cmp ecx, 6
jne 0x140025a6b
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401d3f90]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
and qword [rax + rdx], 0
call fcn.140022418
mov ecx, dword [rbp + 0x40]
mov r14b, 1
mov rdx, qword [rbp + 0x58]
test rdx, rdx
je 0x140025a8c
and qword [rbp + 0x58], 0
mov rcx, rdx
mov rax, qword [rdx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
mov ecx, dword [rbp + 0x40]
inc esi
test r14b, r14b
jne 0x14002597a
test ecx, ecx
lea rcx, [rbp - 0x20]
je 0x140025ac3
call fcn.1400087d8
mov r9d, dword [rbp + 0x48]
lea r10, [0x1401dc868]
inc rdi
lea rax, [0x140136127]
cmp rdi, rax
je 0x140025acc
jmp 0x140025926
call fcn.1400087d8
mov r9d, dword [rbp + 0x48]
cmp dword [rbp + 0x40], 0
jne 0x140025afc
cmp dword [rbp + 0x50], r13d
je 0x140025ae2
mov al, byte [rbx + 0x18]
and al, 0xf
cmp al, r13b
jne 0x140025b07
cmp r9d, 0x82
jae 0x140025af3
mov r9d, 0x208
jmp 0x140025b07
add r9d, 0x104
jmp 0x140025b07
mov rcx, rbx
call fcn.1400288e0
mov r9d, eax
mov eax, r9d
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140007884
int3
Function at 0x1400274ac
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [rcx + 0x10]
mov rbx, rcx
and dword [rbp + 0x20], 0
test byte [rax + 0xa], 0x1f
je 0x1400274d6
mov eax, LoadRegTypeLib
jmp 0x14002761b
and dword [rbp - 0x18], 0
lea rcx, [0x1401dc868]
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x14002750f
cmp dword [rbp - 0x14], eax
jne 0x14002762b
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
xor edi, edi
cmp edi, 4
jge 0x14002760d
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x10]
and qword [rbp + 0x28], 0
xor r9d, r9d
mov eax, dword [rbx + 0x1c]
xor sil, sil
mov dword [rsp + 0x20], eax
mov rdx, qword [rdx + 0x10]
call fcn.140024b40
mov ecx, dword [rax]
mov dword [rbp + 0x20], ecx
mov rcx, qword [rax + 8]
and qword [rax + 8], 0
mov rdx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rcx
test rdx, rdx
je 0x14002756c
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x14002758e
and qword [rbp - 8], 0
mov rcx, rdx
mov rax, qword [rdx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
mov rcx, qword [rbp + 0x28]
cmp dword [rbp + 0x20], 0
jne 0x1400275eb
mov rax, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x20], eax
cmp eax, 0x3f2
je 0x1400275bb
cmp eax, 0x3fa
je 0x1400275bb
cmp eax, 6
jne 0x1400275de
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401d3f90]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
and qword [rax + rdx], 0
call fcn.140022418
mov sil, 1
mov rcx, qword [rbx + 0x10]
call fcn.140022418
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140027602
and qword [rbp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
inc edi
test sil, sil
jne 0x140027511
mov ebx, dword [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400087d8
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140007884
int3

Function at 0x14002973c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x14002979d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x14002979d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002979d
cmp word [rax + 2], si
je 0x14002979d
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x14002979d
add rax, 0x30
jmp 0x1400297a4
lea rax, [0x140137cc8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140033200
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1401d5484], 0
mov ecx, dword [0x1401d5480]
je 0x14003321d
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140033223
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140033263
mov rcx, rax
call fcn.14003345c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x1401d5480]
xor edx, edx
cmp byte [0x1401d5484], dl
je 0x140033254
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14003325a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033263
lea ecx, [rax + 7]
int 0x29
mov rax, qword gs:[0x58]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rax]
and qword [rdx + rcx], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14003361c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov ecx, dword [0x1401d5478]
cmp byte [0x1401d547c], 0
je 0x14003364f
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140033655
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400336e6
mov ecx, dword [0x1401d5468]
cmp byte [0x1401d546c], al
je 0x140033674
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x14003367a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400336f6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x38]
mov rdx, qword [rax]
mov rcx, qword [rsi]
call fcn.1400328a4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400336e6
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x1400336e6
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140007d11.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400336e6
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
nop
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
lea rax, [0x1401d5468]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5468]
mov edx, edi
cmp byte [0x1401d546c], 0
je 0x14003377f
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
mov ebx, 7
test eax, eax
jne 0x140033730
mov ecx, ebx
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi + 0x10]
add rcx, 8
mov r8, qword [rsi + 8]
mov r8, qword [r8]
mov rdx, qword [rsi]
call fcn.14002ee10
mov rcx, qword [rsi + 0x10]
call fcn.140032d1c
or edi, 0xffffffff
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400336e6
mov eax, edi
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140033787
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14003378d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x140033723
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033759
mov rcx, rbx
int 0x29
jmp 0x140033759
Function at 0x1400337b4
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5478]
mov edx, edi
cmp byte [0x1401d547c], 0
je 0x1400337fa
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033800
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033809
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
mov rdx, qword [rsi + 8]
call fcn.14002f6d0
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033858
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140033847
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14003384d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033820
lea ecx, [rax + 7]
int 0x29
jmp 0x140033820
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140033864
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5478]
mov edx, edi
cmp byte [0x1401d547c], 0
je 0x1400338aa
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400338b0
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400338b9
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
mov rdx, qword [rsi + 8]
call fcn.14002f370
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033908
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x1400338f7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400338fd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400338d0
lea ecx, [rax + 7]
int 0x29
jmp 0x1400338d0
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140033914
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5478]
mov edx, edi
cmp byte [0x1401d547c], 0
je 0x14003395a
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033960
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033969
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
mov rdx, qword [rsi + 8]
call fcn.14002f470
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400339b7
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x1400339a6
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400339ac
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14003397f
lea ecx, [rax + 7]
int 0x29
jmp 0x14003397f
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400339c4
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5478]
mov edx, edi
cmp byte [0x1401d547c], 0
je 0x140033a0a
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033a10
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033a19
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
call fcn.14002f7c0
nop
nop dword [rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033a68
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140033a57
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033a5d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033a30
lea ecx, [rax + 7]
int 0x29
jmp 0x140033a30
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140033a74
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x1401d5478]
mov edx, edi
cmp byte [0x1401d547c], 0
je 0x140033aba
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033ac0
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033ac9
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
call fcn.14002f860
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033b13
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140033b02
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140033b08
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140033adb
lea ecx, [rax + 7]
int 0x29
jmp 0x140033adb
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140034f1c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r14, rcx
xor ebx, ebx
mov ecx, dword [0x1401d5478]
cmp byte [0x1401d547c], bl
je 0x140034f50
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140034f56
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140035026
mov ecx, dword [0x1401d5468]
cmp byte [0x1401d546c], bl
je 0x140034f75
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140034f7b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034f8a
mov ebx, 1
jmp 0x140035026
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov esi, 1
mov ecx, dword [0x1401d5478]
mov edx, esi
cmp byte [0x1401d547c], bl
je 0x140034fb7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140034fbd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140034fc6
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], esi
mov rdx, qword [r14]
mov rcx, qword [rdx]
add rcx, 8
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
mov r8b, byte [rax]
mov edx, dword [rdx]
call fcn.14002f120
mov sil, al
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140035023
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], bl
mov ecx, dword [rcx]
je 0x140035012
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140035018
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140034feb
lea ecx, [rax + 7]
int 0x29
jmp 0x140034feb
mov bl, sil
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret
Function at 0x14003503c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r14, rcx
xor ebx, ebx
mov ecx, dword [0x1401d5478]
cmp byte [0x1401d547c], bl
je 0x140035070
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140035076
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14003513d
mov ecx, dword [0x1401d5468]
cmp byte [0x1401d546c], bl
je 0x140035095
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x14003509b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400350aa
mov ebx, 1
jmp 0x14003513d
lea rax, [0x1401d5478]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov esi, 1
mov ecx, dword [0x1401d5478]
mov edx, esi
cmp byte [0x1401d547c], bl
je 0x1400350d7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400350dd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400350e6
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], esi
mov rdx, qword [r14]
mov rcx, qword [rdx]
add rcx, 8
mov rdx, qword [rdx + 8]
call fcn.14002f1f0
mov sil, al
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003513a
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], bl
mov ecx, dword [rcx]
je 0x140035129
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14003512f
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140035102
lea ecx, [rax + 7]
int 0x29
jmp 0x140035102
mov bl, sil
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret