joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dff50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov r15, rcx
lea rdx, [r9 + 0x28]
mov ecx, 0xc8
mov rbx, r9
mov rsi, r8
call fcn.140062870
mov r14, rax
xor r12d, r12d
mov qword [rax + 0x20], r12
lea rax, [0x1400f0f80]
mov qword [r14 + 0x28], rax
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov dword [r14 + 0x30], r12d
movups xmm0, xmmword [rsi]
movups xmmword [r14 + 0x38], xmm0
mov rax, qword [rbx]
mov qword [r14 + 0x48], rax
movups xmm0, xmmword [rbx + 8]
movups xmmword [r14 + 0x50], xmm0
mov eax, dword [rbx + 0x18]
mov dword [r14 + 0x60], eax
mov rax, qword [rbx + 0x20]
mov qword [r14 + 0x68], rax
mov eax, dword [rbx + 0x28]
mov dword [r14 + 0x70], eax
mov rax, qword [rbx + 0x30]
mov qword [r14 + 0x78], rax
mov rax, qword [rbx + 0x38]
mov qword [r14 + 0x80], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [r14 + 0x88], xmm0
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [r14 + 0x98], xmm0
movzx eax, byte [rbx + 0x60]
mov byte [r14 + 0xa8], al
mov qword [r14 + 0xb0], r12
mov qword [r14 + 0xb8], r12
mov rax, qword [rbx + 0x68]
mov qword [r14 + 0xb0], rax
mov rax, qword [rbx + 0x70]
mov qword [r14 + 0xb8], rax
mov qword [rbx + 0x68], r12
mov qword [rbx + 0x70], r12
mov rax, qword [rbx + 0x78]
mov qword [r14 + 0xc0], rax
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
cmp dword [rbp + 8], r12d
jne 0x1400e005b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 8], eax
jmp 0x1400e006d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 8], eax
je 0x1400e006d
mov dword [rbp + 8], 0xffffffff
mov rax, qword [r15]
lock inc dword [rax + 0x30]
cmp qword [rbp], 0xffffffffffffffff
jne 0x1400e0091
mov rcx, qword [r15]
xor r9d, r9d
mov r8d, 0x2719
mov rdx, r14
call fcn.14015cdd0
jmp 0x1400e0106
test rbx, rbx
jne 0x1400e00a9
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call fcn.14015cdd0
jmp 0x1400e0106
mov qword [r14 + 0x10], r12
lea r9, [rsp + 0x60]
mov rcx, qword [rbp]
mov r8d, ebx
mov rdx, rdi
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x1400e00fb
cmp eax, 0x3e5
je 0x1400e00fb
cmp eax, 0xea
je 0x1400e00fb
mov r9d, dword [rsp + 0x60]
mov r8d, eax
mov rcx, qword [r15]
mov rdx, r14
call fcn.14015cdd0
jmp 0x1400e0106
mov rcx, qword [r15]
mov rdx, r14
call fcn.14015ce80
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400e0950
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bc1a0
nop
lea rsi, [rbx + 8]
mov r14, qword [rbx]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e09b7
cmp qword [rax], rbx
je 0x1400e0b1e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e09a5
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x270
call fcn.140062870
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140149c00]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bd700
nop
add rbx, 0xd0
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.1400bafc0
movaps xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx + 0x150], xmm0
mov rax, qword [rbp + 0x1a0]
mov qword [rbx + 0x160], rax
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400e0ae5
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.140149c00
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x40]
call fcn.1400c4670
lea rcx, [rsp + 0x70]
call fcn.1400c5160
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400e09b7
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.14010beb0
nop
nop
jmp 0x1400e0ae5
Function at 0x1400e3a10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x198], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bc7b0
nop
lea rdi, [rbx + 8]
mov r14, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e3a77
cmp qword [rax], rbx
je 0x1400e3bef
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e3a65
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x40]
mov ecx, 0x250
call fcn.140062870
mov rsi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.14014b620]
mov qword [rsi + 0x28], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov dword [rsi + 0x30], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x38]
call fcn.1400bb720
mov rax, qword [rbp + 0x20]
mov qword [rsi + 0xe8], rax
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rsi + 0xf0], xmm0
mov eax, dword [rbp + 0x38]
mov dword [rsi + 0x100], eax
mov rax, qword [rbp + 0x40]
mov qword [rsi + 0x108], rax
lea rcx, [rsi + 0x110]
lea rdx, [rbp + 0x48]
call fcn.1400bae80
movaps xmm0, xmmword [rbp + 0x170]
movups xmmword [rsi + 0x238], xmm0
mov rax, qword [rbp + 0x180]
mov qword [rsi + 0x248], rax
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400e3bb4
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [r14 + 0x28]
call fcn.14014b620
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x110]
call fcn.1400c11c0
lea rcx, [rbp - 0x40]
call fcn.1400c11c0
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400e3a77
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d3d10
nop
nop
jmp 0x1400e3bb4
Function at 0x1400e3c10
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 - 0x160]
sub rsp, 0x260
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bd620
lea rdx, [rbx + 0xa0]
lea rcx, [rbp + 0x10]
call fcn.1400bdad0
movups xmm0, xmmword [rbx + 0x1b8]
movups xmmword [rbp + 0x128], xmm0
mov eax, dword [rbx + 0x1c8]
mov dword [rbp + 0x138], eax
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e3ca2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400e3de5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e3c90
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
mov ecx, 0x208
call fcn.140062870
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.14014c9a0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x38]
call fcn.1400bd620
lea rdx, [rbp + 0x10]
lea rcx, [rdi + 0xd8]
call fcn.1400bdad0
movups xmm0, xmmword [rbp + 0x128]
movups xmmword [rdi + 0x1f0], xmm0
mov eax, dword [rbp + 0x138]
mov dword [rdi + 0x200], eax
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400e3db3
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.14014c9a0
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0xf8]
call fcn.1400c0650
lea rcx, [rbp - 0x20]
call fcn.1400c0650
lea r11, [rsp + 0x260]
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 0x1400e3ca2
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400f4ed0
nop
nop
jmp 0x1400e3db3
Function at 0x1400e5470
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 - 0x760]
sub rsp, 0x860
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x758], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400cc800
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e54d9
cmp qword [rax], rbx
je 0x1400e5606
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e54c7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x70]
mov ecx, 0x3b8
call fcn.140062870
mov rbx, rax
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14010bc80]
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.1400cc800
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
test al, al
je 0x1400e55ca
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14010bc80
nop
lea rcx, [rsp + 0x50]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x188]
call fcn.1400c4670
lea rcx, [rbp - 0x68]
call fcn.1400c4670
mov rcx, qword [rbp + 0x758]
xor rcx, rsp
call fcn.1402806f0
lea r11, [rsp + 0x860]
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 0x1400e54d9
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x300]
call fcn.1400bd7a0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3d0]
call fcn.1400cc800
nop
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 8]
call fcn.1400dd4c0
nop
lea rcx, [rbp + 0x5e8]
call fcn.1400c4670
lea rcx, [rbp + 0x3f8]
call fcn.1400c4670
lea rcx, [rbp + 0x300]
call fcn.1400c5160
nop
nop
jmp 0x1400e55ca
Function at 0x1400e9060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rdx
mov rdi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x70]
call fcn.1400bd700
nop
lea rdx, [rbx + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.1400bafc0
movups xmm0, xmmword [rbx + 0x220]
movaps xmmword [rbp + 0x190], xmm0
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e90f2
cmp qword [rax], rbx
je 0x1400e924b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e90e0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x268
call fcn.140062870
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140148860]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bd700
nop
add rbx, 0xd0
mov qword [rsp + 0x60], rbx
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.1400bafc0
movaps xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx + 0x150], xmm0
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400e9212
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.140148860
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x40]
call fcn.1400c4670
lea rcx, [rsp + 0x70]
call fcn.1400c5160
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400e90f2
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.1400d3d50
nop
nop
jmp 0x1400e9212
Function at 0x1400ea550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x338], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bb720
lea rdx, [rbx + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.1400e5680
nop
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ea5d2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400ea710
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ea5c0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x40]
mov ecx, 0x3e8
call fcn.140062870
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400fd390]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x38]
call fcn.1400bb720
lea rcx, [rdi + 0xe8]
lea rdx, [rbp + 0x20]
call fcn.1400e5680
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400ea6c9
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400fd390
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x2b0]
call fcn.1400c11c0
lea rcx, [rbp + 0x110]
call fcn.1400c11c0
lea rcx, [rbp - 0x40]
call fcn.1400c11c0
mov rcx, qword [rbp + 0x338]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x480]
add rsp, 0x440
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400ea5d2
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400cd8e0
nop
nop
jmp 0x1400ea6c9
Function at 0x1400ece70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bc130
nop
lea rsi, [rbx + 8]
mov r14, qword [rbx]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400eced7
cmp qword [rax], rbx
je 0x1400ed03c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ecec5
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x270
call fcn.140062870
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.140149a40]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bd700
nop
add rbx, 0xd0
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.1400bafc0
movaps xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx + 0x150], xmm0
mov eax, dword [rbp + 0x1a0]
mov dword [rbx + 0x160], eax
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400ed003
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.140149a40
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x40]
call fcn.1400c4670
lea rcx, [rsp + 0x70]
call fcn.1400c5160
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400eced7
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.1400e9010
nop
nop
jmp 0x1400ed003
Function at 0x1400ed060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x3a8], rax
mov rbx, rdx
mov rdi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.1400bd700
nop
lea rdx, [rbx + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.14010b120
nop
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ed0e5
cmp qword [rax], rbx
je 0x1400ed235
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ed0d3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x460
call fcn.140062870
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.1400cfb70]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bd700
nop
lea rcx, [rbx + 0xd0]
lea rdx, [rbp + 0x40]
call fcn.14010b120
nop
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400ed1f0
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400cfb70
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x230]
call fcn.1400c4670
lea rcx, [rbp + 0x68]
call fcn.1400c4670
lea rcx, [rsp + 0x70]
call fcn.1400c5160
mov rcx, qword [rbp + 0x3a8]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400ed0e5
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.14010ca20
nop
nop
jmp 0x1400ed1f0