joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023ee0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002405c
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001a700
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140024025
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140023fa3
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140024014
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140023fdc
mov r10, qword [rdx]
cmp r10, rax
je 0x140023fd6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140024014
cmp r8, rdx
je 0x140023ff0
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140024036
cmp r8, rdx
jne 0x140023fe1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140023f71
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140024014
lea rcx, str.invalid_hash_bucket_count
call fcn.14003ee2c
int3
Function at 0x140026040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140026236
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.140040880
test eax, eax
jne 0x140026263
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14002626e
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.14004da80
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x1400261ca
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x1400261ca
test r8, r8
je 0x14002612a
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14002614b
lea ebp, [rax + 7]
jmp 0x140026166
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x140026190
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1400261ee
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1400261ee
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14002622e
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002625d
call fcn.14004b39c
nop
mov rcx, rbx
call fcn.1400408a4
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14005275c
nop
mov ecx, 5
call fcn.14003fdc0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14003fdc0
int3
Function at 0x14002ca40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x60]
call fcn.14004da80
mov qword [rsp + 0x70], 0
lea rsi, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0xfa
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x70]
mov r9, qword [rdi + 0x70]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140055cf8
cmp rax, rbx
jne 0x14002cb46
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x14002cb1b
mov rdx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cb16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cb40
call fcn.14004b39c
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14005275c
nop
call fcn.14005ab5c
nop
mov ebx, dword [rax]
lea rdx, [rdi + 0x78]
lea rcx, [rsp + 0x20]
call fcn.140013760
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x40]
call fcn.140009970
nop
mov edx, ebx
mov rcx, rax
call fcn.140013600
int3
Function at 0x14003ab10
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 - 0x37]
sub rsp, 0x100
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r15, [0x1400a7f40]
mov qword [rsp + 0x28], r15
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
mov eax, dword [rcx + 0xa4]
test eax, eax
jne 0x14003ab6e
call fcn.140002d40
xor eax, eax
jmp 0x14003ad0b
mov dword [rbp - 9], r14d
lea rcx, [rbp - 1]
call fcn.14003f808
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov dword [rbp + 0x1f], r14d
xor eax, eax
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, r14
mov qword [rbp - 0x79], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x71], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x79]
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x40], rcx
cmp byte [rcx + 0x28], 0
je 0x14003abfc
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
jmp 0x14003ac01
mov byte [rsp + 0x48], 0
mov rdi, r14
mov r9, rsi
lea r8, [rbp - 0x59]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14003b040
test rax, rax
je 0x14003ac65
nop dword [rax]
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov rcx, qword [rsp + 0x40]
cmp byte [rcx + 0x28], 0
je 0x14003ac4c
cmp byte [rsp + 0x48], 0
jne 0x14003ac4c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
mov r9, rsi
lea r8, [rbp - 0x59]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14003b040
test rax, rax
jne 0x14003ac20
cmp byte [rsp + 0x48], 0
je 0x14003ac78
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x69]
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0xf]
mov rcx, rax
test rax, rax
je 0x14003acdf
mov rdx, rax
nop dword [rax + rax]
mov rax, qword [rax]
mov qword [rbp + 0xf], rax
test rax, rax
jne 0x14003acb0
mov qword [rbp + 0x17], r14
mov qword [rdx], r14
mov rax, qword [rcx + 8]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x38], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rcx
xor ecx, ecx
call rax
mov rax, qword [rbp + 0xf]
mov rcx, rax
mov rdx, rax
test rax, rax
jne 0x14003aca0
lea rbx, [rbp - 0x59]
mov esi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003acf5
call case.0x1400450db.0
add rbx, 8
sub rsi, 1
jne 0x14003ace8
lea rcx, [rbp - 1]
call fcn.14003f894
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003ad90
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1400aec70]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003aeb4
cmp qword [rax], rbx
je 0x14003adcc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14003adb8
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14003aeb4
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x14003ae79
cmp ecx, 1
jne 0x14003aeb4
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rsp + 0x30]
call fcn.14003f7b4
xorps xmm0, xmm0
lea rax, vtable.asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
call fcn.14003f7b4
lea rcx, [rsp + 0x30]
call fcn.14003f894
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.14003f808
lea r8, [0x1400a4c70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14003f7dc
lea rcx, [rsp + 0x58]
call fcn.14003f894
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.14004cdf0
jmp 0x14003ae9c
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.14003f808
lea rcx, [rsp + 0x20]
call fcn.14003f814
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call fcn.14003f7ac
lea rcx, [rsp + 0x20]
call fcn.14003f894
add rsp, 0x70
pop rbx
ret
Function at 0x14003aec0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbx, rcx
lea rdi, [rcx + 0x28]
xor ebp, ebp
cmp byte [rdi], bpl
jne 0x14003aee8
test r8b, r8b
je 0x14003af0e
test rbx, rbx
cmove rdi, rbp
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003af0e
cmp qword [rax], rdi
je 0x14003af39
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14003af00
lock inc dword [rbx + 0xa4]
lea rdi, [rbx + 0x30]
mov qword [rsp + 0x20], rdi
cmp byte [rdi + 0x28], bpl
je 0x14003af6a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov sil, 1
movzx eax, sil
movzx ecx, al
jmp 0x14003af71
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003af0e
inc dword [rcx + 0x78]
mov qword [r14], rbp
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x14003af5d
mov qword [rax], r14
mov qword [rcx + 0x70], r14
jmp 0x14003b020
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
jmp 0x14003b020
xor sil, sil
xor al, al
xor cl, cl
mov byte [rsp + 0x28], sil
mov qword [r14], rbp
mov rdx, qword [rbx + 0xb0]
test rdx, rdx
je 0x14003af8a
mov qword [rdx], r14
jmp 0x14003af94
mov qword [rbx + 0xa8], r14
movzx eax, cl
mov qword [rbx + 0xb0], r14
cmp byte [rdi + 0x28], 0
je 0x14003afdc
or qword [rbx + 0x70], 1
cmp qword [rbx + 0x70], 1
jbe 0x14003afd6
test al, al
je 0x14003afc8
cmp byte [rdi + 0x28], 0
je 0x14003afc0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
mov byte [rsp + 0x28], sil
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x14003afd8
xor al, al
test al, al
jne 0x14003b012
cmp byte [rbx + 0xa0], 0
jne 0x14003affb
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14003affb
mov byte [rbx + 0xa0], 1
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x14003b012
cmp byte [rdi + 0x28], 0
je 0x14003b00f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
test sil, sil
je 0x14003b020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14003cef0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14003cf1f
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14003cf17
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14003cf68
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003cf58
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003cf58
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14003cf73
inc ecx
inc rax
cmp rax, 2
jl 0x14003cf46
mov rcx, rbx
call case.0x1400450db.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d410
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14003d461
mov r8, qword [rcx + 0x18]
mov qword [rbp - 0x21], r8
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x11], rax
mov rax, qword [r8 + 8]
mov rdx, rcx
lea rcx, [rbp - 0x39]
call rax
jmp 0x14003d471
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
mov rax, qword [rbx + 0x30]
mov qword [rbp - 9], rax
lea rdx, [rdi + 8]
lea rcx, [rbp + 0x1f]
call fcn.14003f7b4
nop
cmp qword [rbp - 0x19], 0
je 0x14003d5a4
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14003d4c1
lea rcx, [0x14003e470]
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x17]
mov qword [rbp - 0x41], rcx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call rax
jmp 0x14003d564
mov rdi, qword [rcx + 0x10]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.14003f7b4
lea rax, [rbp - 1]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x2f], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003d4f9
mov rdx, qword [rax + 8]
jmp 0x14003d4fb
xor edx, edx
mov r8d, 0x28
call fcn.14000d750
mov rbx, rax
mov qword [rbp + 0x3f], 0
lea rcx, [rax + 0x10]
lea rdx, [rbp + 7]
call fcn.14003f7b4
lea rax, [0x14003e4d0]
mov qword [rbx], rax
mov qword [rbp - 0x51], rbx
mov qword [rbp + 0x37], 0
lea rcx, [rbp + 0x2f]
call fcn.14003e3d0
nop
lea rcx, [rbp + 7]
call fcn.14003f894
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call rdi
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14003d564
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea rcx, [rbp + 0x1f]
call fcn.14003f894
nop
cmp qword [rbp - 0x19], 0
je 0x14003d583
mov rax, qword [rbp - 0x21]
mov rdx, qword [rax]
lea rcx, [rbp - 0x39]
call rdx
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0x2f]
call fcn.140004000
nop
lea rcx, [rbp + 0x2f]
call fcn.140009700
int3
Function at 0x14003e020
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14003e13c
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14003e093
lea rcx, [0x14003e4a0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003e0cf
mov rdx, qword [rax + 8]
jmp 0x14003e0d2
mov rdx, rsi
mov r8d, 0x18
call fcn.14000d750
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x28], rsi
mov qword [rax + 8], rcx
lea rcx, [0x14003e620]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x50]
call fcn.14003e330
nop
lea rcx, [rsp + 0x28]
call fcn.14000be40
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14003e137
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14003e074
lea rcx, [rsp + 0x50]
call fcn.140004000
nop
lea rcx, [rsp + 0x50]
call fcn.140009700
int3

Function at 0x14003e330
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14003e357
add rcx, 8
call fcn.14000be40
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14003e3a3
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003e393
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003e393
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003e3ae
inc ecx
inc rax
cmp rax, 6
jl 0x14003e381
mov rcx, rbx
call case.0x1400450db.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14003e3d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14003e3f7
add rcx, 0x10
call fcn.14003f894
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14003e443
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003e433
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003e433
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003e44e
inc ecx
inc rax
cmp rax, 6
jl 0x14003e421
mov rcx, rbx
call case.0x1400450db.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14003e7f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor esi, esi
mov dword [rbp - 0x58], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rbp - 0x58], 1
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rsi
mov ecx, 0x2027
call fcn.14004b110
test rax, rax
je 0x14003e9e1
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x28], rcx
lea rbx, [rcx + 0x2000]
mov qword [rbp - 0x18], rbx
xor edx, edx
mov r8d, 0x2000
call fcn.14004da80
mov qword [rbp - 0x20], rbx
mov rdx, qword [rbp - 0x28]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov rcx, qword [rbp - 0x28]
test eax, eax
je 0x14003e97b
mov ebx, 4
nop word [rax + rax]
movzx eax, word [rbx + rcx - 4]
test ax, ax
je 0x14003e96d
mov word [rbp - 0x60], ax
movzx eax, word [rbx + rcx - 2]
mov word [rbp - 0x5e], ax
movzx ecx, word [rbx + rcx]
mov word [rbp - 0x5c], cx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], 3
mov eax, dword [rbp - 0x60]
mov dword [rbp - 0x50], eax
mov word [rbp - 0x4c], cx
mov word [rbp - 0x4a], si
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14003e921
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rbp - 0x50], si
add qword [rdi + 8], 0x20
jmp 0x14003e931
lea r8, [rbp - 0x50]
mov rcx, rdi
call fcn.14000fad0
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14003e969
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e9db
call fcn.14004b39c
mov rcx, qword [rbp - 0x28]
add rbx, 8
cmp rbx, 0x2c
jl 0x14003e8b0
test rcx, rcx
je 0x14003e9b3
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x14003e9ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14003e9e1
call fcn.14004b39c
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14005275c
nop
call fcn.14005275c
int3