joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f34c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc0
mov esi, dword [rbp + 0x7f]
mov rbx, rdx
xor edx, edx
mov rdi, r8
mov r15, rcx
mov r14d, r9d
lea rcx, [rbp - 0x31]
or esi, 0x40
lea r8d, [rdx + 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x19], rdi
lea rcx, [rbp - 0x31]
xor edi, edi
mov dword [rbp - 0x31], 0x70
mov eax, edi
mov qword [rbp - 0x21], rbx
test r14d, r14d
mov dword [rbp - 0x2d], esi
mov qword [rbp + 0x1f], r15
sete al
mov dword [rbp - 1], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
je 0x14000f3ce
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x14000f3ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov dword [rbp - 0x41], ebx
mov qword [rbp - 0x51], rax
mov edx, 0x851
lea rax, str.Param
mov word [rbp - 0x3d], di
mov qword [rbp - 0x49], rax
mov ecx, 0x170b0c6
lea rax, [rbp - 0x51]
mov r8d, 0x64
mov qword [rsp + 0x28], rax
lea rax, str.HevShellExecuteEx_
mov qword [rsp + 0x20], rax
call fcn.14000262c
lea r11, [rsp + 0xc0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

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

Disassembly:
movzx r10d, word [r8]
xor r9d, r9d
mov word [rsp + 8], r10w
movabs r8, 0xcbf29ce484222325
movzx eax, byte [rsp + r9 + 8]
movabs r11, 0x100000001b3
xor r8, rax
inc r9
imul r8, r11
cmp r9, 2
jb 0x140010443
mov r9, qword [rcx + 0x30]
mov r11, qword [rcx + 0x18]
and r9, r8
mov r8, qword [rcx + 8]
add r9, r9
mov rax, qword [r11 + r9*8]
cmp qword [r11 + r9*8], r8
jne 0x140010484
mov rcx, r8
jmp 0x14001048c
mov rcx, qword [r11 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400104a2
cmp word [rax + 0x10], r10w
je 0x14001049d
mov rax, qword [rax]
jmp 0x140010479
mov qword [rdx], rax
jmp 0x1400104a5
mov qword [rdx], r8
mov rax, rdx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x1400104c4
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x140010504
mov rax, qword [rbx + 8]
jmp 0x14001050c
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14001051f
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x140010523
mov rcx, qword [rcx]
jmp 0x1400104f8
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret
Function at 0x140011ad4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
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 0x140011b0c
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 0x140011b51
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140011b9b
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140011b54
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 0x140011cc0
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140011bd5
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 0x140011bf5
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140011c24
cmp rax, rdx
jne 0x140011c00
mov qword [r9 + r8*8], rbx
jmp 0x140011c24
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140011c24
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 [0x14006c960]
test rax, rax
jns 0x140011c45
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140011c56
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140011cb5
cmp rdx, 0x200
jae 0x140011c6e
shl rdx, 3
jmp 0x140011c80
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140011c80
add rdx, rdx
mov rcx, rsi
call fcn.140011170
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140011cb5
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.140011ad4
cmp rdi, r15
jne 0x140011c95
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 0x140011d68
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 0x140011d85
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140011ddd
cmp qword [rcx + rdx*8], r8
jne 0x140011dd2
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140011dd6
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140011dea
cmp qword [rcx + rdx*8], r8
jne 0x140011dea
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 0x140015b44
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 0x140015b73
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 0x140015bb6
mov rax, rdx
jmp 0x140015bbe
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140015bfc
mov rcx, qword [r9]
cmp qword [rbx + 0x10], rcx
je 0x140015bd1
mov rbx, qword [rbx]
jmp 0x140015ba8
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x140015bdf
mov rax, rdx
jmp 0x140015be7
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140015bf7
cmp rcx, qword [rbx + 0x10]
jne 0x140015bf7
mov rbx, qword [rbx]
jmp 0x140015bd4
cmp r10, rbx
jne 0x140015c02
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x140015c1a
inc rbp
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x140015c0c
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x140015c71
cmp rbx, rdx
jne 0x140015c71
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 0x140015c4f
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 0x140015c3d
mov edx, 8
mov rcx, rsi
call fcn.140011170
jmp 0x140015c76
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140011d68
cmp rdi, rbx
jne 0x140015c5e
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 0x140015f14
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
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 0x140015f4c
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 0x140015f91
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140015fdb
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140015f94
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 0x140016100
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140016015
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 0x140016035
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140016064
cmp rax, rdx
jne 0x140016040
mov qword [r9 + r8*8], rbx
jmp 0x140016064
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140016064
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 [0x14006c960]
test rax, rax
jns 0x140016085
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140016096
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400160f5
cmp rdx, 0x200
jae 0x1400160ae
shl rdx, 3
jmp 0x1400160c0
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400160c0
add rdx, rdx
mov rcx, rsi
call fcn.140011170
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400160f5
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.140015f14
cmp rdi, r15
jne 0x1400160d5
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 0x14001abd8
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 0x14001ac39
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x14001ac39
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ac39
cmp word [rax + 2], si
je 0x14001ac39
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x14001ac39
add rax, 0x30
jmp 0x14001ac40
lea rax, [0x140049bc0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d414
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov rbx, rcx
mov qword [rsp + 0x20], rax
lea rsi, vtable.Mso::Registry::Key.0
mov dword [rbp - 0x20], 1
mov rcx, 0xffffffff80000001
mov qword [rbp - 0x28], rsi
mov r9d, 0x20019
mov byte [rbp - 0x10], 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d4ad
and dword [rbp + 0x20], eax
lea r9, [rbp - 0x30]
and dword [rbp - 0x30], eax
xor r8d, r8d
mov rdx, qword [str.SendTelemetry]
lea rax, [rbp + 0x28]
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x28], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001d4ad
mov eax, dword [rbp + 0x20]
mov dword [rbx], eax
mov byte [rbx + 4], 1
jmp 0x14001d4b4
and dword [rbx], 0
mov byte [rbx + 4], 0
cmp byte [rbp - 0x10], 0
mov qword [rbp - 0x28], rsi
je 0x14001d4cd
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001d4cd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140022374
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov ecx, dword [0x14007d6a0]
cmp byte [0x14007d6a4], r15b
je 0x1400223cb
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x1400223d1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400223f0
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
inc qword [rdx + rcx]
jmp 0x140022553
mov ecx, dword [0x14007d6b0]
cmp byte [0x14007d6b4], r15b
je 0x140022407
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x14002240d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov r12d, 7
test rax, rax
jne 0x1400224a0
lea ecx, [rax + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14002257b
mov qword [rbp - 0x51], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
lea ecx, [r12 + 9]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x140022462
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
mov qword [rbx], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
movdqu xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov rdx, rbx
mov ecx, dword [0x14007d6b0]
cmp byte [0x14007d6b4], r15b
je 0x140022491
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022497
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400224a0
mov rcx, r12
int 0x29
lea rdx, [0x140046528]
test rsi, rsi
cmovne rdx, rsi
lea rcx, [rbp + 7]
call fcn.14000c624
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400224c8
lock inc dword [rdx + 8]
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rdx
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r12
mov word [rax], r15w
movsd xmm0, qword [r14]
movsd qword [rbp - 9], xmm0
mov eax, dword [r14 + 8]
mov dword [rbp - 1], eax
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140022584
lea rcx, [rbp - 0x39]
call fcn.1400226d0
mov rax, qword [rbp + 0x1f]
cmp rax, 8
jb 0x140022553
mov rcx, qword [rbp + 7]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, 0x1000
jb 0x14002254d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002254d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003e810
int3
Function at 0x140022ca8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x14007d6b4], 0
mov ecx, dword [0x14007d6b0]
je 0x140022cc5
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022ccb
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140022d0b
mov rcx, rax
call fcn.140022f18
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x14007d6b0]
xor edx, edx
cmp byte [0x14007d6b4], dl
je 0x140022cfc
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022d02
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022d0b
lea ecx, [rax + 7]
int 0x29
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax]
and qword [rdx + rcx], 0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
mov rdi, rcx
mov ecx, dword [0x14007d6a8]
cmp byte [0x14007d6ac], 0
je 0x1400230ea
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x1400230f0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002317c
mov ecx, dword [0x14007d698]
cmp byte [0x14007d69c], al
je 0x14002310f
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140023115
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023191
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x18]
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.140022374
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14002317c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14002317c
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003f18e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14002317c
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003f18e.0]
nop
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
lea rax, [0x14007d698]
mov qword [rbp - 0x28], rax
and dword [rbp - 0x20], 0
mov r14d, 7
lea ebx, [r14 - 6]
mov ecx, dword [0x14007d698]
mov edx, ebx
cmp byte [0x14007d69c], 0
je 0x1400231c3
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400231c9
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400231d2
mov rcx, r14
int 0x29
lock xadd dword [rbp - 0x20], ebx
mov rcx, qword [rdi + 0x10]
add rcx, 8
mov r8, qword [rdi + 8]
mov r8, qword [r8]
mov rdx, qword [rdi]
call fcn.14001eb50
mov rcx, qword [rdi + 0x10]
call fcn.1400227e0
or edi, 0xffffffff
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x14002317c
mov eax, edi
lock xadd dword [rbp - 0x20], eax
mov rcx, qword [rbp - 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140023221
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140023227
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400231fa
mov rcx, r14
int 0x29
jmp 0x1400231fa
Function at 0x140023244
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, [0x14007d6a8]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x14007d6a8]
mov edx, edi
cmp byte [0x14007d6ac], 0
je 0x14002328a
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140023290
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140023299
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.14001f410
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400232e8
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 0x1400232d7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400232dd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400232b0
lea ecx, [rax + 7]
int 0x29
jmp 0x1400232b0
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400232f4
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, [0x14007d6a8]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x14007d6a8]
mov edx, edi
cmp byte [0x14007d6ac], 0
je 0x14002333a
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140023340
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140023349
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.14001f0b0
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140023398
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 0x140023387
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002338d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140023360
lea ecx, [rax + 7]
int 0x29
jmp 0x140023360
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400233a4
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
and dword [rsp + 0x28], 0
lea rax, [0x14007d6a8]
cmp byte [0x14007d6ac], 0
mov ebp, 7
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [0x14007d6a8]
lea ebx, [rbp - 6]
mov edx, ebx
je 0x1400233e8
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400233ee
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400233f7
mov rcx, rbp
int 0x29
lock xadd dword [rsp + 0x28], ebx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
add rcx, 8
call fcn.14001f1b0
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140023448
or eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0x20]
cmp byte [rdx + 4], 0
mov ecx, dword [rdx]
je 0x140023435
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002343d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14002340d
mov rcx, rbp
int 0x29
jmp 0x14002340d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140023458
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, [0x14007d6a8]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x14007d6a8]
mov edx, edi
cmp byte [0x14007d6ac], 0
je 0x14002349e
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400234a4
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400234ad
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
call fcn.14001f500
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400234f8
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 0x1400234e7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400234ed
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400234c0
lea ecx, [rax + 7]
int 0x29
jmp 0x1400234c0
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret