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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], ebp
cmp dword [rcx + 0x24], ebp
jne 0x1400dd18e
cmp dword [rcx + 0x1c], 1
jne 0x1400dd0a3
mov eax, dword [rcx + 0x14]
mov rcx, qword [rcx]
lea r9d, [rbp + 1]
neg eax
lea r8, [rsp + 0x6c]
cdqe
mov edx, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], ebp
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x1400dd12f
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
dec edx
je 0x1400dd117
dec edx
je 0x1400dd0fe
cmp edx, 2
je 0x1400dd0e7
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi]
mov dword [rcx], eax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rsi]
mov word [rcx], ax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi]
mov byte [rcx], al
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.1400dbbe0
mov eax, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, eax
jl 0x1400dd169
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
sub eax, dword [rbx + 0x14]
mov r8, rdi
movsxd rcx, eax
add rcx, qword [rbx + 8]
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movsxd rax, ebp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dd260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rbx, rdx
mov rsi, rcx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x50], 0
je 0x1400dd295
mov r8d, 1
call fcn.1400dc970
mov dword [rsp + 0x50], eax
jmp 0x1400dd2b6
mov rcx, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x1400dd2c8
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
movzx ecx, byte [rsp + 0x40]
test cl, cl
js 0x1400dd2e7
mov byte [rbx], cl
mov byte [rbx + 1], 0
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
movzx eax, cl
mov qword [rsp + 0x48], rdi
and al, 0xe0
cmp al, 0xc0
jne 0x1400dd2fc
mov edi, 2
jmp 0x1400dd31a
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x1400dd30c
mov edi, 3
jmp 0x1400dd31a
movzx eax, cl
and al, 0xf8
cmp al, 0xf0
jne 0x1400dd385
mov edi, 4
mov byte [rbx], cl
cmp qword [rsi + 8], 0
lea rdx, [rbx + 1]
je 0x1400dd33a
lea eax, [rdi - 1]
mov rcx, rsi
movsxd r8, eax
call fcn.1400dc970
mov rcx, rax
jmp 0x1400dd359
mov rcx, qword [rsi]
lea r8d, [rdi - 1]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x50]
lea eax, [rdi - 1]
cmp ecx, eax
je 0x1400dd372
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
movsxd rax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov rdi, qword [rsp + 0x48]
mov word [rbx], 0x3f
mov rbx, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x30
pop rsi
ret

Function at 0x1400df408
Capabilities:
Hash data using sha384

Disassembly:
and qword [rcx + 0x80], 0
mov dword [rcx + 0xc8], 0x30
lea rdx, [0x140174e60]
add rcx, 0x88
mov r8d, 0x40
jmp sub.msvcrt.dll_memcpy

Function at 0x1400df550
Capabilities:
Hash data using sha512

Disassembly:
and qword [rcx + 0x80], 0
mov r8d, 0x40
lea rdx, [0x140174e20]
mov dword [rcx + 0xc8], r8d
add rcx, 0x88
jmp sub.msvcrt.dll_memcpy
Function at 0x1400e1684
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x40], 0
mov r8d, 0x20
lea rdx, [0x140174fa0]
mov dword [rcx + 0x68], r8d
add rcx, 0x48
jmp sub.msvcrt.dll_memcpy
Function at 0x1400e2f50
Capabilities:
Encode data using xor

Disassembly:
movsxd r10, edx
mov al, cl
or al, r10b
or al, r8b
or al, r9b
test al, 3
jne 0x1400e2fb7
lea rax, [r8 + r9]
xor r11d, r11d
mov r9, rax
sub r9, r8
add r9, 3
shr r9, 2
cmp r8, rax
cmova r9, r11
test r9, r9
je 0x1400e2fd4
sub r10, r8
add r10, rcx
mov ecx, dword [r8]
inc r11
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
rol edx, 0x10
mov dword [r10 + r8], edx
lea r8, [r8 + 4]
cmp r11, r9
jb 0x1400e2f89
ret
add r9, r10
jmp 0x1400e2fcf
mov al, byte [r8]
xor r10, 3
inc r8
inc edx
mov byte [r10 + rcx], al
movsxd r10, edx
cmp r10, r9
jb 0x1400e2fbc
ret

Function at 0x1400e2fd8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
movsxd r10, edx
mov al, cl
mov r11, r8
or al, r10b
or al, r8b
or al, r9b
test al, 7
jne 0x1400e3084
lea rax, [r8 + r9]
xor ebx, ebx
mov r9, rax
sub r9, r8
add r9, 7
shr r9, 3
cmp r8, rax
cmova r9, rbx
test r9, r9
je 0x1400e30a1
sub r10, r8
add r10, rcx
mov rax, qword [r11]
inc rbx
mov rdx, rax
shr rdx, 0x20
mov r8d, edx
mov ecx, edx
shl edx, 8
shr r8d, 8
shl ecx, 8
xor r8d, ecx
mov ecx, eax
and r8d, 0xff00ff
shl ecx, 8
xor r8d, edx
mov edx, eax
shl eax, 8
shr edx, 8
rol r8d, 0x10
xor edx, ecx
mov dword [rsp + 8], r8d
and edx, 0xff00ff
xor edx, eax
rol edx, 0x10
mov dword [rsp + 0xc], edx
mov rax, qword [rsp + 8]
mov qword [r10 + r11], rax
lea r11, [r11 + 8]
cmp rbx, r9
jb 0x1400e3020
jmp 0x1400e30a1
add r9, r10
jmp 0x1400e309c
mov al, byte [r11]
xor r10, 7
inc r11
inc edx
mov byte [r10 + rcx], al
movsxd r10, edx
cmp r10, r9
jb 0x1400e3089
mov rbx, qword [rsp + 0x10]
ret

Function at 0x1400e3e04
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9d, edx
mov r10, rcx
test rcx, rcx
jne 0x1400e3e1e
mov eax, r8d
jmp 0x1400e3e8c
not r8d
lea rdi, [0x140174fe0]
cmp r9d, 8
jb 0x1400e3e62
mov r11, r9
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec rbx
jne 0x1400e3e3a
add r9d, 0xfffffff8
dec r11
jne 0x1400e3e35
test r9d, r9d
je 0x1400e3e86
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec r9d
jne 0x1400e3e67
not r8d
movsxd rax, r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400e3f10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push r14
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rcx
mov qword [rax - 0x20], r13
mov ecx, edx
xor edi, edi
mov ebx, 0x100000
xor ebp, ebp
mov r13d, r8d
call fcn.1400e4170
mov r14, rax
test rax, rax
je 0x1400e407a
test rsi, rsi
je 0x1400e407a
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400e4075
mov rcx, qword [0x140845c04]
xor edx, edx
mov r8d, ebx
mov qword [rsp + 0x50], r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x1400e4067
xor edx, edx
mov ecx, r13d
call qword [r14 + 8]
mov rbp, rax
test rax, rax
je 0x1400e4055
mov rax, qword [rsp + 0x98]
test rax, rax
jle 0x1400e3ff0
lea r8, [rsp + 0x9c]
xor r9d, r9d
mov edx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rsi, qword [rsp + 0xa0]
xor r13d, r13d
nop dword [rax + rax]
add rdi, 0x100000
cmp rsi, 0xffffffffffffffff
je 0x1400e401c
cmp rdi, rsi
jle 0x1400e401c
mov ebx, esi
sub ebx, edi
add ebx, 0x100000
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, r15
mov rcx, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, rbp
call qword [r14 + 0x10]
cmp dword [rsp + 0x40], 0x100000
je 0x1400e4000
mov rcx, rbp
call qword [r14 + 0x18]
mov rcx, qword [0x140845c04]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov edx, dword [rsp + 0xa8]
mov rcx, rbp
call fcn.1400e4230
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
test rbp, rbp
je 0x1400e40b2
mov rcx, rbp
call qword [r14 + 0x20]
add rsp, 0x68
pop r14
pop rbp
ret

Function at 0x1400e47d4
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1408c41d0], eax
add rsp, 0x28
ret

Function at 0x1400e4838
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x1400e48ad
call qword [rcx + 0xb0]
mov edx, dword [rbx + 0xf4]
mov dword [rbx + 0x108], edx
mov edx, dword [rbx + 0xf8]
mov rdi, rax
mov dword [rbx + 0x10c], edx
test rax, rax
jne 0x1400e48ad
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400e4885
xor edx, edx
mov rcx, rbx
call rax
mov rcx, qword [0x140845c04]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1408c41d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1408c41e0], 0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e48bc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, dword [0x1408c41d0]
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa8]

Function at 0x1400e48fc
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x20]

Function at 0x1400e4920
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc8]

Function at 0x1400e4948
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc0]

Function at 0x1400e4970
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov edi, r9d
mov rsi, r8
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x1400e49bd
mov edx, edi
mov rcx, rax
mov dword [rax + 0x120], edi
call qword [rax + pe_nt_image_headers64]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rbx + 0x124]
je 0x1400e49d4
mov rcx, rbx
mov dword [rbx + 0x124], edx
call qword [rbx]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9, rsi
add r8d, r14d
add edx, r15d
mov rcx, rbx
mov rax, qword [rbx + 0x60]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp rax

Function at 0x1400e4a10
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x40]

Function at 0x1400e4a34
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov ecx, dword [0x1408c41d0]
mov ebx, r9d
mov edi, r8d
mov esi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test ebx, ebx
jle 0x1400e4a93
mov r10d, dword [rsp + 0x60]
test r10d, r10d
jle 0x1400e4a93
mov r9d, dword [rax + 0x104]
mov r8d, dword [rax + 0x100]
mov dword [rsp + 0x28], r10d
add r9d, edi
add r8d, esi
mov rdx, rbp
mov rcx, rax
mov dword [rsp + 0x20], ebx
call qword [rax + 0x50]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e4adc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e4b3d
mov rcx, rax
call qword [rax + 0xb8]
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400e4b15
mov edx, 1
mov rcx, rbx
call rax
mov rcx, qword [0x140845c04]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1408c41d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x1408c41e0], 0
add rsp, 0x20
pop rbx
ret

Function at 0x1400e4b60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, dword [0x1408c41d0]
mov esi, r8d
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9d, esi
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
mov rcx, rax
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa0]

Function at 0x1400e4bb0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov edi, r9d
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [rsp + 0x60]
mov rbx, rax
cmp edx, dword [rax + 0x120]
je 0x1400e4bff
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9d, esi
mov rcx, rbx
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x60], edi
mov rax, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
jmp rax
Function at 0x1400e4c64
Capabilities:
Get thread local storage value

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 r12
push r14
push r15
sub rsp, 0x40
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov ebx, r9d
mov edi, r8d
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add r15d, dword [rax + 0x100]
add ebp, dword [rax + 0x104]
mov rsi, rax
test edi, edi
jns 0x1400e4cb1
add r15d, edi
neg edi
test ebx, ebx
jns 0x1400e4cb9
add ebp, ebx
neg ebx
mov r14d, dword [rsp + 0x80]
lea eax, [r14 + r14]
cmp eax, edi
jle 0x1400e4cd3
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov r12d, dword [rsp + 0x88]
lea ecx, [r12 + r12]
cmp ecx, ebx
jle 0x1400e4ced
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov edx, dword [rsp + 0x90]
cmp edx, dword [rsi + 0x120]
je 0x1400e4d0b
mov rcx, rsi
mov dword [rsi + 0x120], edx
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x90], r12d
mov r9d, edi
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0x80], ebx
mov rax, qword [rsi + 0x10]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
jmp rax

Function at 0x1400e4dac
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, ecx
mov ecx, dword [0x1408c41d0]
mov ebx, r9d
mov edi, r8d
mov esi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [rax + 0xe8]
add ebp, dword [rax + 0x100]
add esi, dword [rax + 0x104]
cmp r8d, 0xc
ja 0x1400e4e4d
mov ecx, 0x110c
bt ecx, r8d
jae 0x1400e4e4d
mov ecx, 1
test edi, edi
jns 0x1400e4e07
neg edi
jmp 0x1400e4e0a
cmove edi, ecx
test ebx, ebx
jns 0x1400e4e12
neg ebx
jmp 0x1400e4e15
cmove ebx, ecx
movd xmm0, edi
movd xmm1, ebx
lea rcx, [0x1400e4d54]
mov dword [rax + 0x1a8], ebp
mov dword [rax + 0x1ac], esi
mov qword [rax + 0x128], rcx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rax + 0x1b0], xmm0
movss dword [rax + 0x1b4], xmm1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e4e64
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov ecx, dword [0x1408c41d0]
movaps xmmword [rax - 0x18], xmm6
mov ebp, edx
movaps xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov eax, dword [rax + 0xe8]
cmp eax, 0xc
ja 0x1400e4f81
mov ecx, 0x110c
bt ecx, eax
jae 0x1400e4f81
xorps xmm0, xmm0
comiss xmm0, xmm6
ja 0x1400e4ec2
movss xmm0, dword [0x14017386c]
comiss xmm6, xmm0
jbe 0x1400e4ec5
movaps xmm6, xmm0
mov rbx, qword [rsi + 0x138]
xor edi, edi
test rbx, rbx
je 0x1400e4f25
movss xmm0, dword [rbx + 8]
ucomiss xmm0, xmm6
jp 0x1400e4edf
je 0x1400e4eec
comiss xmm0, xmm6
ja 0x1400e4ef1
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x1400e4ece
mov rcx, rbx
jmp 0x1400e4f20
mov rcx, qword [0x140845c04]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x1400e4f25
mov qword [rax], rbx
test rdi, rdi
je 0x1400e4f19
mov qword [rdi], rax
jmp 0x1400e4f20
mov qword [rsi + 0x138], rax
test rcx, rcx
jne 0x1400e4f55
mov rcx, qword [0x140845c04]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x1400e4f81
and qword [rax], 0
test rdi, rdi
je 0x1400e4f4e
mov qword [rdi], rax
jmp 0x1400e4f55
mov qword [rsi + 0x138], rax
movzx eax, bpl
movss dword [rcx + 8], xmm6
mov dword [rcx + 0xc], eax
mov eax, ebp
sar eax, 8
movzx eax, al
mov dword [rcx + 0x10], eax
mov eax, ebp
sar eax, 0x10
sar ebp, 0x18
movzx eax, al
mov dword [rcx + 0x14], eax
movzx eax, bpl
mov dword [rcx + 0x18], eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e4f9c
Capabilities:
Get thread local storage value

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 r12
push r14
push r15
sub rsp, 0x40
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov ebx, r9d
mov edi, r8d
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add r15d, dword [rax + 0x100]
add ebp, dword [rax + 0x104]
mov rsi, rax
test edi, edi
jns 0x1400e4fe9
add r15d, edi
neg edi
test ebx, ebx
jns 0x1400e4ff1
add ebp, ebx
neg ebx
mov r14d, dword [rsp + 0x80]
lea eax, [r14 + r14]
cmp eax, edi
jle 0x1400e500b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov r12d, dword [rsp + 0x88]
lea ecx, [r12 + r12]
cmp ecx, ebx
jle 0x1400e5025
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov edx, dword [rsi + 0x118]
cmp edx, dword [rsi + 0x120]
je 0x1400e5042
mov rcx, rsi
mov dword [rsi + 0x120], edx
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x30], r12d
mov r9d, edi
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
call qword [rsi + 0x10]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x1400e5080
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov ecx, dword [0x1408c41d0]
mov ebx, r8d
mov edi, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rsi
mov r10, rax
mov rax, qword [rax + 0x58]
mov r9d, dword [r10 + 0x104]
mov r8d, dword [r10 + 0x100]
mov rcx, r10
add r9d, ebx
add r8d, edi
test rax, rax
je 0x1400e50d5
mov dword [rsp + 0x20], 0xff
call rax
jmp 0x1400e50d9
call qword [r10 + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e50ec
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1408c41d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0xe8]
cmp ecx, 0xc
ja 0x1400e5122
mov edx, 0x110c
bt edx, ecx
jae 0x1400e5122
test rbx, rbx
je 0x1400e5122
mov qword [rax + 0x130], rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400e5128
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov edi, r9d
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [rax + 0x118]
mov rbx, rax
cmp edx, dword [rax + 0x120]
je 0x1400e5179
mov rcx, rax
mov dword [rax + 0x120], edx
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9d, esi
mov rcx, rbx
add r8d, r14d
add edx, r15d
mov dword [rsp + 0x20], edi
call qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x1400e51b4
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov r15d, ecx
mov ecx, dword [0x1408c41d0]
mov edi, r9d
mov esi, r8d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x1400e5201
mov edx, edi
mov rcx, rax
mov dword [rax + 0x120], edi
call qword [rax + pe_nt_image_headers64]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9d, esi
add r8d, r14d
add edx, r15d
mov rcx, rbx
mov rax, qword [rbx + 0x78]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp rax
Function at 0x1400e5444
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x140845c04]
mov edx, 8
mov r8d, 0x250
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1408c41d0]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x1408c41e0], rdi
and dword [rdi + 0x11c], 0
or eax, 0xffffffff
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 0x118], 0xffffff
mov dword [rdi + 0xe8], 2
mov dword [rdi + 0xec], 0x3f
mov dword [rdi + 0x120], eax
mov dword [rdi + 0x124], eax
call fcn.1400e89c8
mov rbx, qword [rsp + 0x30]
lea rax, [0x1400e62fc]
mov qword [rdi + 0xb0], rax
lea rax, [0x1400e6360]
mov qword [rdi + 0xb8], rax
lea rax, [fcn.1400e5da0]
mov qword [rdi + 0x20], rax
lea rax, [0x1400e5c50]
mov qword [rdi + 0x60], rax
lea rax, [0x1400e6404]
mov qword [rdi + 0xc8], rax
lea rax, [0x1400e63ac]
mov qword [rdi + 0xc0], rax
lea rax, [0x1400e58dc]
mov qword [rdi + 0x68], rax
lea rax, [0x1400e5880]
mov qword [rdi + 0x48], rax
lea rax, [0x1400e58ac]
mov qword [rdi + 0x50], rax
lea rax, [0x1400e5730]
mov qword [rdi + 0x58], rax
lea rax, [0x1400e60f4]
mov qword [rdi + 0x88], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret