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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx + 0x18]
mov r8, qword [rax + 0x10]
lea rbx, [r8 + 0x28]
xor ebp, ebp
test r8, r8
cmove rbx, rbp
mov ecx, dword [0x1402c6008]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003f4ae
cmp qword [rax], rbx
je 0x14003f507
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14003f4a0
call fcn.140043a90
mov qword [rax + 0x20], rbp
lea rcx, [0x1400492b0]
mov qword [rax + 0x28], rcx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x30], ebp
mov rcx, qword [rdi]
mov qword [rax + 0x38], rcx
mov qword [rdi], rbp
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140022d60
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp qword [rax + 8], rbp
je 0x14003f4ae
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rdi], rbp
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004b150
nop
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003f53c
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14003f4f2

Function at 0x140043a90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1402c6008]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140043ad4
mov rax, qword [rax + 8]
test rax, rax
je 0x140043ad4
mov rcx, qword [rax]
test rcx, rcx
je 0x140043ad4
mov qword [rax], 0
movzx eax, byte [rcx]
cmp al, 0x12
jb 0x140043acf
mov byte [rcx + 0x48], al
mov rax, rcx
add rsp, 0x28
ret
call fcn.1401ec5c4
mov ecx, 0x49
call fcn.1401ec268
mov byte [rax + 0x48], reloc.WS2_32.dll_select
add rsp, 0x28
ret
Function at 0x140050cb0
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 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140050d02
nop dword [rax]
cmp qword [rax], rbx
je 0x140050e4a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140050cf0
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x58
call fcn.140021f90
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140051180]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140024b00
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x140050e2d
mov rax, qword [rsi]
mov qword [rbp - 0x39], rax
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp + 0x17], rdi
mov rax, qword [rsi]
mov qword [rbp + 0x1f], rax
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x21]
mov qword [rbp - 1], rax
test rbx, rbx
je 0x140050de7
mov qword [rbp + 0xf], r15
lea r8, [rbp - 0x21]
lea edx, [r15 + 0x58]
mov rcx, rbx
call fcn.140022020
mov ebx, r15d
mov qword [rbp + 7], rbx
test rdi, rdi
je 0x140050dfb
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140051220
nop
nop
test rbx, rbx
je 0x140050e12
lea r8, [rbp - 0x21]
mov edx, 0x58
mov rcx, rbx
call fcn.140022020
nop
lea rcx, [rbp + 0x17]
call fcn.1400248e0
nop
mov rdx, qword [rbp - 0x29]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
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
cmp qword [rax + 8], 0
je 0x140050d02
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140051220
nop
nop
jmp 0x140050e2d
Function at 0x140050e70
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 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140050ec2
nop dword [rax]
cmp qword [rax], rbx
je 0x14005102a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140050eb0
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x78
call fcn.140021f90
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140051090]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x68], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140024b00
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x14005100d
mov rax, qword [rsi]
mov qword [rbp - 0x59], rax
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
movups xmm0, xmmword [rbx + 0x38]
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rbx + 0x48]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbx + 0x68]
movaps xmmword [rbp + 0x17], xmm0
lea rax, [rbp - 0x19]
mov qword [rbp - 0x41], rax
test rbx, rbx
je 0x140050fc7
mov qword [rbp - 0x31], r15
lea r8, [rbp - 0x19]
lea edx, [r15 + 0x78]
mov rcx, rbx
call fcn.140022020
mov ebx, r15d
mov qword [rbp - 0x39], rbx
test rdi, rdi
je 0x140050fdb
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.140051250
nop
nop
test rbx, rbx
je 0x140050ff2
lea r8, [rbp - 0x19]
mov edx, 0x78
mov rcx, rbx
call fcn.140022020
nop
lea rcx, [rbp - 0x29]
call fcn.1400248e0
nop
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xc0]
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
cmp qword [rax + 8], 0
je 0x140050ec2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140051250
nop
nop
jmp 0x14005100d
Function at 0x1400526a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov edx, 0x208
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140052872
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140051b70
nop
mov qword [rsp + 0x50], r14
movdqa xmm0, xmmword [0x140280500]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov qword [rsp + 0x30], r14
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdx
mov ecx, 7
mov qword [rsp + 0x40], rcx
mov eax, dword [str.cmd.exe]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14027befc]
mov word [rsp + 0x34], ax
movzx eax, byte [0x14027befe]
mov byte [rsp + 0x36], al
mov byte [rsp + 0x37], r14b
lea rbx, [rsp + 0x30]
add rbx, rcx
lea rdi, [rsp + 0x30]
call fcn.1400b4350
mov r9, rax
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400b3480
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400527c2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400527bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400527bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140056f80
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400b3fc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005282a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052825
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
movdqa xmm0, xmmword [0x140280500]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
lea rcx, [rsp + 0x70]
call fcn.1400570d0
mov rax, rsi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400521f0
int3
Function at 0x140052ca0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor edi, edi
lea rbp, [0x1402ba488]
mov rbx, rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rbp
lea rsi, [rdi - 1]
cmp byte [rcx + 0x28], dil
je 0x140052de6
cmp byte [rcx + 0x29], dil
jne 0x140052de6
mov rax, qword [rcx + 0x18]
mov ecx, dword [rax]
nop
cmp ecx, 0x103
jne 0x140052de6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140052e50
test al, al
je 0x140052de6
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140052dda
cmp byte [rbx + 0x29], dil
jne 0x140052de2
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax]
nop
cmp ecx, 0x103
jne 0x140052de2
mov rcx, qword [rbx]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140052d68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbp
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x20]
jmp 0x140052d6e
mov eax, edi
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x60]
cmp ecx, 0x103
jne 0x140052d7e
mov cl, 1
jmp 0x140052d82
mov edi, ecx
xor cl, cl
test eax, eax
jne 0x140052da6
test cl, cl
jne 0x140052dae
cmp byte [rbx + 0x29], cl
jne 0x140052de2
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax]
nop
cmp ecx, 0x103
jne 0x140052de2
mov rax, qword [rbx + 0x18]
xchg dword [rax], edi
jmp 0x140052de2
test cl, cl
je 0x140052dde
test eax, eax
jne 0x140052de6
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140052e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbp
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x140052de6
mov byte [rbx + 0x29], 1
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140052e16
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140052e16
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140052e16
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
jmp 0x140052de2
Function at 0x1400556c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov rdi, rcx
lea rcx, [rbp + 0x308]
call fcn.1400558d0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rdx, rax
lea rcx, [rbp + 0x1c8]
call fcn.1400558d0
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x88]
call fcn.1400558d0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x5b0], rdi
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x5b8]
call fcn.1400558d0
nop
lea rcx, [rbp + 0x198]
call fcn.140032e40
lea rcx, [rbp + 0xb8]
call fcn.140032e40
nop
lea rcx, [rbp + 0x2d8]
call fcn.140032e40
lea rcx, [rbp + 0x1f8]
call fcn.140032e40
nop
lea rax, [0x140055b00]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x5b0]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x5b8]
lea rcx, [rsp + 0x48]
call fcn.1400558d0
nop
lea rcx, [rbp + 0x6c8]
call fcn.140032e40
lea rcx, [rbp + 0x5e8]
call fcn.140032e40
nop
lea rcx, [rbx + 0x110]
call fcn.140032e40
lea rcx, [rbx + 0x30]
call fcn.140032e40
movups xmm0, xmmword [rdi + 0x318]
movaps xmmword [rbp + 0x450], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x460]
call fcn.1400579a0
lea rcx, [rbp + 0x58]
call fcn.140032e40
lea rcx, [rsp + 0x78]
call fcn.140032e40
nop
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rbp + 0x460]
mov ecx, 0x198
call fcn.140021f90
mov r9, rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x1400586a0]
mov qword [r9 + 0x28], rax
mov qword [r9], rcx
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rcx
mov qword [r9 + 0x18], rcx
mov dword [r9 + 0x30], ecx
movaps xmm0, xmmword [rbp + 0x450]
movups xmmword [r9 + 0x38], xmm0
lea rcx, [r9 + 0x48]
lea rdx, [rbp + 0x460]
call fcn.1400579a0
mov rcx, qword [0x1402c5cd8]
lock inc dword [rcx + 0x30]
mov rdx, r9
call fcn.140022d60
nop
lea rcx, [rbp + 0x580]
call fcn.140032e40
lea rcx, [rbp + 0x4a0]
call fcn.140032e40
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x810]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400583c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rbp, rdx
mov r14, rcx
mov rax, qword [rcx + 0xd8]
mov r8, qword [rax]
cmp dword [rcx + 0x80], 0
jne 0x140058595
cmp byte [r8 + 0x40], 0
je 0x140058412
cmp qword [r8 + 0x30], 0
jne 0x140058412
cmp qword [r8 + 0x18], 0x10
jb 0x140058437
mov r8, qword [r8]
jmp 0x140058437
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005841f
mov rax, qword [r8]
mov qword [rcx + 0xc8], rax
lea rax, [r8 + 0x20]
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140058437
mov r8, qword [rax]
mov qword [rcx + 0xc0], r8
mov rax, qword [rcx + 0x78]
mov r10, qword [rcx + 0xb8]
mov r11, qword [rcx + 0xd0]
mov ebx, dword [rcx]
mov edi, dword [rcx + 0xb0]
lea rsi, [rcx + 0xe0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9, qword [rcx + 0xa8]
mov r8, qword [rcx + 0xa0]
mov rdx, qword [rcx + 0xc0]
mov rcx, qword [rcx + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15d, eax
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0xc0], xmm0
movsd qword [rsp + 0x80], xmm0
mov rbx, qword [r14 + 0x98]
test rbx, rbx
je 0x1400584f7
lock inc dword [rbx + 8]
mov rbx, qword [r14 + 0x98]
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm0
mov rdi, qword [r14 + 0x90]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x98], 1
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400585bd
mov dword [r14 + 0x80], 0
lea rax, [0x1402ba488]
mov qword [r14 + 0x88], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp], xmm0
movsd xmm0, qword [rsp + 0xc0]
movsd qword [rbp + 0x10], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x28], 1
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005859d
mov rcx, rbp
call fcn.140052c20
mov rax, rbp
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x60]
call fcn.140052160
mov rdx, rax
call fcn.140058620
int3
Function at 0x140059990
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x228], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x78], rax
add rdx, 0x20
lea rcx, [rbp - 0x80]
call fcn.1400558d0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0xc0], xmm0
lea rdx, [rbx + 0x10]
lea rcx, [rbp + 0xd0]
call fcn.1400579a0
nop
mov rsi, qword [rdi]
mov rbx, qword [rdi + 8]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140059a28
cmp qword [rax], rbx
je 0x140059b7f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140059a16
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x2e8
call fcn.140021f90
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14005a610]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x70]
call fcn.1400579a0
movaps xmm2, xmmword [rbp + 0xc0]
movups xmmword [rcx + 0x150], xmm2
add rcx, 0x160
lea rdx, [rbp + 0xd0]
call fcn.1400579a0
mov r8, rbx
lea rdx, [rdi + 8]
mov rcx, rsi
call fcn.140024b00
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x140059b2b
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
call fcn.14005a610
nop
lea rcx, [rsp + 0x38]
call fcn.1400248e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x1f0]
call fcn.140032e40
lea rcx, [rbp + 0x110]
call fcn.140032e40
lea rcx, [rbp + 0x90]
call fcn.140032e40
lea rcx, [rbp - 0x50]
call fcn.140032e40
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140059a28
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14005a960
nop
nop
jmp 0x140059b2b
Function at 0x14005a350
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 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005a3a2
nop dword [rax]
cmp qword [rax], rbx
je 0x14005a4fa
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005a390
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x68
call fcn.140021f90
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14005a560]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140024b00
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x14005a4dd
mov rax, qword [rsi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp - 0x19], rdi
mov rax, qword [rsi]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rbx + 0x48]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rbx + 0x58]
movups xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
test rbx, rbx
je 0x14005a497
mov qword [rbp - 0x21], r15
lea r8, [rbp - 9]
lea edx, [r15 + 0x68]
mov rcx, rbx
call fcn.140022020
mov ebx, r15d
mov qword [rbp - 0x29], rbx
test rdi, rdi
je 0x14005a4ab
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.14005aad0
nop
nop
test rbx, rbx
je 0x14005a4c2
lea r8, [rbp - 9]
mov edx, 0x68
mov rcx, rbx
call fcn.140022020
nop
lea rcx, [rbp - 0x19]
call fcn.1400248e0
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xb0]
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
cmp qword [rax + 8], 0
je 0x14005a3a2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.14005aad0
nop
nop
jmp 0x14005a4dd
Function at 0x14005a960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
lea rbx, [rcx + 0x160]
mov rbp, qword [rcx + 0x150]
lea rsi, [rcx + 0x158]
mov rdi, qword [rsi]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005a9b7
cmp qword [rax], rdi
je 0x14005aa9b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005a9a5
mov qword [rsp + 0x58], rbx
mov rdx, rbx
mov ecx, 0x188
call fcn.140021f90
mov rdi, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14005ad90]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rcx, [rdi + 0x38]
mov rdx, rbx
call fcn.1400579a0
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.140024b00
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
test al, al
je 0x14005aa8d
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.14005ad90
nop
lea rcx, [rsp + 0x20]
call fcn.1400248e0
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rax + 8], 0
je 0x14005a9b7
nop
mov rdx, rbx
mov rcx, rbx
call fcn.140051220
nop
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret