joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f36bc0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100f36bcd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f36bdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f36bc5
lea eax, [rcx + 1]
jmp 0x100f36beb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100f36bfe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f36be4
sub eax, 3
jb 0x100f36c1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100f36c6d
sar eax, 1
movsxd rbp, eax
jb 0x100f36c54
jmp 0x100f36c2c
add ebx, ebx
jne 0x100f36c2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f36c54
inc ecx
add ebx, ebx
jne 0x100f36c3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f36c54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100f36c4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100f36c3c
add ecx, 2
jmp 0x100f36c59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100f36b82
jmp 0x100f36bcd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf32000]
mov eax, dword [rdi]
or eax, eax
je 0x100f36cc9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf48cf0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100f36c79
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100f36cc3
mov qword [rbx], rax
add rbx, 8
jmp 0x100f36c99
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100f36d4c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100f36d4c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100f36d3c
sub rsp, 0xffffffffffffff80
jmp 0x1000031c0
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40f08]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac
Function at 0x140002754
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000279e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000279e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000279e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000279e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000279e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400027a0
xor al, al
add rsp, 0x28
ret

Function at 0x140008518
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008587
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008587
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008587
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008587
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008587
cmp dword [rcx + 0x84], 0xe
jbe 0x140008587
cmp dword [rcx + 0xf8], 0
je 0x140008587
mov ecx, ebx
call fcn.140008638
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008414
nop
cmp dword [rbp + 0x20], 0
je 0x1400085d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400085e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140008518

Function at 0x14000871c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008518
Function at 0x14000b85c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000b88c
xor eax, eax
jmp 0x14000b94f
mov rbp, rbx
cmp word [rax], si
je 0x14000b8b1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000b898
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000b894
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000b77c
movsxd r14, eax
test eax, eax
jne 0x14000b8ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000b885
mov rcx, r14
call fcn.14000c738
mov rdi, rax
test rax, rax
jne 0x14000b908
xor ecx, ecx
call fcn.140009ddc
jmp 0x14000b8e4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000b77c
test eax, eax
jne 0x14000b939
mov rcx, rdi
call fcn.140009ddc
jmp 0x14000b943
xor ecx, ecx
call fcn.140009ddc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000edc0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000a84c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000ee4a
cmp byte [rbp - 0x21], r15b
je 0x14000ee45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000ee80
call fcn.14000cf48
test eax, eax
jne 0x14000ee6c
cmp byte [rbp - 0x21], r15b
je 0x14000ee64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000ee80
cmp byte [rbp - 0x21], r15b
je 0x14000ee7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140009e2c
test eax, eax
jne 0x14000ef20
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000a84c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000eebf
cmp byte [rbp - 0x21], r15b
je 0x14000eef4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000eef4
call fcn.14000cf48
test eax, eax
jne 0x14000eee0
cmp byte [rbp - 0x21], r15b
je 0x14000eed9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000eef4
cmp byte [rbp - 0x21], r15b
je 0x14000eef1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140009e2c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000ef20
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000ef23
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000ef31
mov rcx, rdi
call fcn.140009ddc
cmp byte [rbp + 0x3f], r15b
je 0x14000ef40
mov rcx, qword [rbp + 0x27]
call fcn.140009ddc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011d70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011d98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011d98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140028cc0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xc0]
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.14006864c
mov rsi, rax
mov rax, qword [0x1400f2020]
and rax, r15
cmp rax, qword [0x1400f2008]
je 0x140028d84
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1400291b0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140028d8e
test r14, r14
je 0x140028dd9
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140069990
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.140051c40
jmp 0x140028d1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140028da7
mov ebp, eax
cmp eax, 0x5af
je 0x140028da7
cmp ebp, 0xe
jne 0x140028de7
mov rcx, rbx
call fcn.1400b0c90
test rsi, rsi
je 0x140028d60
mov rcx, qword [rsi]
mov rax, qword [0x1400f2020]
and rax, rcx
cmp rax, qword [0x1400f2008]
jne 0x140028dcf
call fcn.140051d90
mov rcx, rsi
call fcn.140068688
jmp 0x140028d60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140028d60
mov eax, dword [0x140105b68]
mov ecx, dword [0x1400ff874]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140028e5f
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14002b670
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x140105b60]
call fcn.140051be0
cmp byte [rbx + 0x17], 0
jns 0x140028daf
mov rcx, qword [rsp + 0x30]
call fcn.140068688
jmp 0x140028daf
lea rcx, [0x140105b68]
call fcn.1400687a0
cmp dword [0x140105b68], 0xffffffff
jne 0x140028e08
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14002b640
mov qword [0x140105b60], rax
lea rcx, [0x140105b68]
call fcn.140068838
jmp 0x140028e08
Function at 0x1400295d0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x1400297ec
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1400f1fc0], rax
jne 0x1400297ef
mov rsi, rcx
mov r14d, dword [rcx + 0xc]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
mov dl, byte [rcx + 2]
mov rcx, r14
call fcn.14004a990
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400297ae
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x14002973c
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400297a7
lea rdx, [rsi + r12*8]
bswap rcx
mov r14d, dword [rdx + 0x60]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x1400297bb
mov edx, ecx
and edx, 0x1fc000
je 0x1400297bb
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.14004d2c0
mov ecx, dword [0x140105c60]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1400ff874]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140069990
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.14004e2a0
test rax, rax
je 0x1400297f2
mov rdi, rax
mov rcx, rax
and rcx, 0xffffffffffe00000
mov rdx, rax
shr rdx, 9
and edx, 0xfe0
lea rax, [rdx + rcx]
movzx ecx, byte [rdx + rcx + 0x101e]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
add rax, 0x1000
jmp 0x1400296b7
xor ecx, ecx
jmp 0x14002969d
mov rcx, rbx
call fcn.14004e110
jmp 0x14002964e
movaps xmm0, xmmword [0x1400da570]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.1400ae740
mov rcx, rsi
call fcn.140019c10
mov rcx, r14
call fcn.1400ae7b0
int3
int3
xor edi, edi
jmp 0x1400296e1
Function at 0x14002b8c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.140031540
test al, al
jne 0x14002b948
call fcn.140031510
movzx edx, al
mov ecx, esi
call fcn.140028ff0
mov eax, dword [0x140106a78]
mov ecx, dword [0x1400ff874]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002b917
movsxd rdx, esi
inc rdx
lea rcx, [0x140106a68]
add rsp, 0x20
pop rsi
jmp fcn.140053450
lea rcx, [0x140106a78]
call fcn.1400687a0
cmp dword [0x140106a78], 0xffffffff
jne 0x14002b900
lea rcx, [0x140106a68]
xor edx, edx
call fcn.14002ec60
lea rcx, [0x140106a78]
call fcn.140068838
jmp 0x14002b900
mov edx, 3
jmp 0x14002b8d8

Function at 0x14002b950
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.140028ff0
mov eax, dword [0x140106a78]
mov ecx, dword [0x1400ff874]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002b994
movsxd rdx, esi
inc rdx
lea rcx, [0x140106a68]
add rsp, 0x20
pop rsi
jmp fcn.140053450
lea rcx, [0x140106a78]
call fcn.1400687a0
cmp dword [0x140106a78], 0xffffffff
jne 0x14002b97d
lea rcx, [0x140106a68]
xor edx, edx
call fcn.14002ec60
lea rcx, [0x140106a78]
call fcn.140068838
jmp 0x14002b97d

Function at 0x14002e1f0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140108448], 0
jne 0x14002e22d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14002e220
mov dword [rdi], eax
mov dword [0x140108450], eax
mov qword [0x140108448], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x14002e840
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400fe060]
cmp ecx, 0xffffffff
je 0x14002e865
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x14002e860

Function at 0x14002e870
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400fe060]
cmp ecx, 0xffffffff
je 0x14002e939
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14002e939
mov eax, dword [0x140109c88]
mov ecx, dword [0x1400ff874]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e943
mov rbx, qword [0x140109c80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002e989
mov rax, qword [0x140108470]
inc rax
xor ecx, ecx
lea rdx, [0x140108480]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14002e996
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x140108470], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14002e9ab
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14002e9b0
jmp 0x14002e89a
lea rcx, [0x140109c88]
call fcn.1400687a0
cmp dword [0x140109c88], 0xffffffff
jne 0x14002e8bf
mov ecx, 8
call fcn.14006864c
mov rbx, rax
mov rcx, rax
call fcn.140052b10
mov qword [0x140109c80], rbx
lea rcx, [0x140109c88]
call fcn.140068838
jmp 0x14002e8bf
mov rcx, rbx
call fcn.140052b20
jmp 0x14002e8d7
inc rcx
cmp rcx, 0x100
jne 0x14002e8ea
jmp 0x14002e91f
int3
Function at 0x14002e9b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140069930
sub rsp, rax
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1400fe060]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14002ea64
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14002eaa2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14006bab0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400686bc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14006b400
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140069990
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140032110
test al, al
je 0x14002eaa5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14002eaa8
mov eax, 0xffffffff
lock cmpxchg dword [0x1400fe060], ecx
je 0x14002e9e8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1400fe060]
mov dword [rsp + 0x2c], ecx
jmp 0x14002e9e8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140032110
test al, al
je 0x14002eacd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14002eacd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14002ea7b
int3

Function at 0x14002ebc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1400fe060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x14002ec1d
lea rdx, [0x1400de235]
lea r8, [0x1400de208]
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1db
call fcn.140050450
mov edx, 0x11e1a300
mov rcx, rsi
call fcn.1400bd1f0
jmp 0x14002ec39
and rax, 0xfffffffffffffffc
je 0x14002ec39
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14002ec39
mov rsi, qword [rax + rcx]
jmp 0x14002ec3b
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140069990
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14002efa0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140109cd8]
cmp rdi, 1
jbe 0x14002efc9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140053450
lea rcx, [0x140109cd8]
call fcn.14002edf0
test al, al
je 0x14002f00e
xorps xmm0, xmm0
movups xmmword [0x140109ce0], xmm0
lea rbx, [0x140109cd8]
lea rdi, [0x140109ce0]
mov rcx, rdi
xor edx, edx
call fcn.14002ec60
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14002eeb0
jmp 0x14002efb7
mov rdi, qword [0x140109cd8]
jmp 0x14002efb7