joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0de0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp rdx, 1
je 0x1400e0f58
mov rbx, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1400e0e0d
mov rcx, rbx
call fcn.1400829a8
mov rbx, rax
mov r14, qword [rsi + 8]
cmp rbx, r14
jbe 0x1400e0f6b
mov rdi, rbx
mov rax, rdi
shr rax, 0x3d
jne 0x1400e0f81
lea rcx, [rdi*8]
call fcn.14016ecd4
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400e0e47
call fcn.14016eccc
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400e0e4d
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1400e1096
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400e0f86
cmp rcx, rdi
jb 0x1400e0eeb
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x1400e1096
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400e0f62
cmp rax, rdi
jb 0x1400e0f15
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x1400e0f53
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x1400e0f33
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
jmp 0x1400e0ef5
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x1400e0f28
mov ebx, 2
jmp 0x1400e0e0d
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x1400e0f15
jae 0x1400e1096
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400e0f92
cvtsi2ss xmm0, rax
jmp 0x1400e0fa7
call fcn.1401c93df
lea rax, [rdi - 1]
and rcx, rax
jmp 0x1400e0eeb
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14019036c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402eebd8]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x1400e105a
mov rcx, r14
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r14
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x1400e105a
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edi, 1
shl rdi, cl
cmp rax, 2
cmovb rdi, rax
jmp 0x1400e1065
mov rcx, rax
call fcn.1400829a8
mov rdi, rax
cmp rbx, rdi
cmova rdi, rbx
cmp rdi, r14
jae 0x1400e1096
test rdi, rdi
jne 0x1400e0e1d
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400e108e
call fcn.14016eccc
mov qword [rsi + 8], 0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400e2a50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
call fcn.1400bf650
mov r15, qword [rdi]
mov qword [rdi], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400e2a81
call fcn.1400412c0
cmp qword [rsi], r15
je 0x1400e2ab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e2b02
cmp r12, 2
jb 0x1400e2aa8
mov qword [rsi], r15
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rsi, rdi
je 0x1400e2adf
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
movzx r9d, byte [rsi + 0x1f]
movzx r8d, byte [rdi + 0x1f]
test r9b, r9b
js 0x1400e2b35
test r8b, r8b
js 0x1400e2b44
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400e2bb4
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x1400e2a9a
test r8b, r8b
jns 0x1400e2b7b
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
jmp 0x1400e2b7f
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
cmp r8, 0xa
ja 0x1400e2b89
mov byte [rsi + 0x1f], r8b
lea rbx, [rcx + r8*2]
cmp rdx, rcx
jb 0x1400e2b64
cmp rbx, rdx
ja 0x1400e2bc5
test r8, r8
je 0x1400e2b71
add r8, r8
call fcn.1401730b0
mov word [rbx], 0
jmp 0x1400e2adf
and r8d, 0x7f
call fcn.1400d68d2
jmp 0x1400e2adf
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
add r8, 0xfffffffffffffff6
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov edx, 0xa
call fcn.140077cae
jmp 0x1400e2adf
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400e2b1a
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0x154
call fcn.1401c469a
int3
Function at 0x1400e2c00
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400e2c2c
call fcn.1400412c0
mov qword [rsi], 0
test r15, r15
je 0x1400e2c62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e2cb4
cmp r12, 2
jb 0x1400e2c5a
mov qword [rsi], r15
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
js 0x1400e2ca1
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
cmp rbx, 0xa
ja 0x1400e2ce7
mov byte [rsi + 0x1f], bl
jmp 0x1400e2d29
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400e2d51
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x1400e2c4c
movabs r15, 0x7fffffffffffffef
cmp rbx, r15
ja 0x1400e2d8e
mov r12, rbx
or r12, 7
inc r12
js 0x1400e2d93
lea rcx, [r12 + r12]
call fcn.14016ecd4
mov rcx, rax
mov qword [rsi + 8], rax
add r15, 0x11
or r15, r12
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], rbx
cmp rcx, r14
ja 0x1400e2d3b
lea rax, [rcx + rbx*2]
add rax, 2
cmp rax, r14
ja 0x1400e2d62
inc rbx
add rbx, rbx
mov rdx, r14
mov r8, rbx
call fcn.1401730b0
jmp 0x1400e2c7e
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400e2ccc
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0x154
call fcn.1401c469a
call fcn.14016fee0
call fcn.1401c93df
int3
Function at 0x1400e3410
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140301d60]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.14004f270
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400cd290
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400e3590
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x1400e3505
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400e35bd
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400e34f9
mov qword [rsi + 0x40], rdi
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400e35b9
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x1400e35ee
mov rax, qword [0x1403428e0]
and rax, rdi
cmp rax, qword [0x1403428c8]
je 0x1400e35f8
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x1400e35b9
lea rax, [0x1402fdea0]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdi
call fcn.140087dba
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400cd300
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
xor edi, edi
jmp 0x1400e3590
call fcn.1400412c0
mov r14, qword [rsi + 0x40]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400e3605
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi + 0x40], 0
jmp 0x1400e34e4
call fcn.1401571d0
jmp 0x1400e354e
mov rcx, rdi
call fcn.140156f20
jmp 0x1400e3565
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400e35d2

Function at 0x1400e4980
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14008a4e0
lea rcx, [0x14035d368]
add rsp, 0x28
jmp fcn.140084f80

Function at 0x1400e49a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14008a4e0
lea rcx, [0x14035d368]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140073660
Function at 0x1400e4b20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x140211850.0]
mov byte [rsi + 0x429], 1
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
call qword [case.0x140211850.0]
test rax, rax
je 0x1400e4bb4
mov eax, dword [0x14035aa80]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e4bba
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e4bf5
mov rcx, qword [0x14035aa70]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14035aa78]
mov rdx, qword [0x14035aa70]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14035aa80]
call fcn.14016f8b4
cmp dword [0x14035aa80], 0xffffffff
jne 0x1400e4b7e
xorps xmm0, xmm0
movups xmmword [0x14035aa70], xmm0
lea rcx, [0x14035aa70]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aa80]
call fcn.14016ef8c
jmp 0x1400e4b7e
test rsi, rsi
je 0x1400e4bb4
call fcn.140001120
jmp 0x1400e4b90

Function at 0x1400e4c10
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.1400e4b10
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x1402ff928]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400e4c87
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400e4c94
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400e4c7f
mov qword [rsi + 0x18], rdi
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400412c0
mov r14, qword [rsi + 0x18]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400e4cc2
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi + 0x18], 0
jmp 0x1400e4c6c
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400e4ca9
Function at 0x1400e7b50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140301d60]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x299
call fcn.14004f270
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400cd290
cmp byte [rdi + 0x17], 0
jns 0x1400e7bd4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.1400cd300
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400e9af0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14035ab10]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e9be7
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e9b57
mov rcx, qword [0x14035ab00]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14035ab08]
mov rdx, qword [0x14035ab00]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x140352c70]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e9c29
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e9bb6
mov rcx, qword [0x140352c60]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140352c68]
mov rdx, qword [0x140352c60]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400e9bc9
lock dec dword [rcx + 8]
je 0x1400e9c6b
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400e9bd7
lock dec dword [rcx + 8]
je 0x1400e9bdd
add rsp, 0x20
pop rsi
ret
add rsp, 0x20
pop rsi
jmp fcn.14008a550
lea rcx, [0x14035ab10]
call fcn.14016f8b4
cmp dword [0x14035ab10], 0xffffffff
jne 0x1400e9b1d
xorps xmm0, xmm0
movups xmmword [0x14035ab00], xmm0
lea rcx, [0x14035ab00]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035ab10]
call fcn.14016ef8c
jmp 0x1400e9b1d
lea rcx, [0x140352c70]
call fcn.14016f8b4
cmp dword [0x140352c70], 0xffffffff
jne 0x1400e9b7c
xorps xmm0, xmm0
movups xmmword [0x140352c60], xmm0
lea rcx, [0x140352c60]
xor edx, edx
call fcn.140041af0
lea rcx, [0x140352c70]
call fcn.14016ef8c
jmp 0x1400e9b7c
call fcn.14008a550
jmp 0x1400e9bc9

Function at 0x1400e9c80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140352c78]
cmp rsi, 1
jbe 0x1400e9cc9
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e9cc2
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140352c78]
call fcn.14006d330
test al, al
je 0x1400e9d0e
xorps xmm0, xmm0
movups xmmword [0x140352c80], xmm0
lea rdi, [0x140352c78]
lea rsi, [0x140352c80]
mov rcx, rsi
xor edx, edx
call fcn.140041af0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14006d410
jmp 0x1400e9c93
mov rsi, qword [0x140352c78]
jmp 0x1400e9c93
Function at 0x1400e9d20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rax, [0x1402ff888]
mov qword [rcx], rax
cmp byte [rcx + 0x58], 0
je 0x1400e9d99
mov eax, dword [0x140352bf8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e9e1f
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e9d99
mov rcx, qword [0x140352be8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140352bf0]
mov rdx, qword [0x140352be8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
cmp rcx, rax
jne 0x1400e9dea
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x1400e9dc8
mov rbx, qword [rsi + 0x28]
mov rcx, rdi
cmp rbx, rdi
jne 0x1400e9e61
mov qword [rsi + 0x28], rdi
call fcn.14016eccc
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400e9de1
mov qword [rsi + 0x10], rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14016eccc
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
cmp qword [rcx + 0x10], 0
je 0x1400e9e18
mov qword [rcx + 0x10], 0
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov qword [r8], rdx
movups xmmword [rcx], xmm0
mov rcx, qword [rsi + 0x40]
cmp rcx, rax
jne 0x1400e9ded
jmp 0x1400e9da6
lea rcx, [0x140352bf8]
call fcn.14016f8b4
cmp dword [0x140352bf8], 0xffffffff
jne 0x1400e9d5f
xorps xmm0, xmm0
movups xmmword [0x140352be8], xmm0
lea rcx, [0x140352be8]
xor edx, edx
call fcn.140041af0
lea rcx, [0x140352bf8]
call fcn.14016ef8c
jmp 0x1400e9d5f
add rbx, 0xfffffffffffffff8
test rbx, rbx
je 0x1400e9ea5
mov rcx, qword [rbx]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x1400e9e95
mov qword [rbx], 0
lea rax, [rbx - 8]
cmp rbx, rdi
mov rbx, rax
je 0x1400e9e9c
jmp 0x1400e9e65
call fcn.1401571d0
jmp 0x1400e9e80
mov rcx, qword [rsi + 0x20]
jmp 0x1400e9dbf
int3
Function at 0x1400eaea0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400eaf64
cmp qword [rsi], 0
jne 0x1400eaf64
cmp dword [rsi + 0x14], 0
jne 0x1400eaf64
cmp qword [rsi + 8], 0
jne 0x1400eaf64
xor eax, eax
mov r15, qword [rdi]
cmp rax, r15
je 0x1400eaf12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400eaf74
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400eaf0a
mov qword [rsi], r15
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
cmp qword [rsi + 8], r15
je 0x1400eaf4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400eafa3
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400eaf44
mov qword [rsi + 8], r15
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rsi
call fcn.1400ead20
mov rax, qword [rsi]
jmp 0x1400eaedc
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400eafd4
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x1400eaef8
call fcn.1400412c0
mov r14, qword [rsi + 8]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400eafe2
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi + 8], 0
jmp 0x1400eaf31
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400eaf88
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1400eafb8

Function at 0x1400eb5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 4
lea r14, [rsp + 0x3c]
mov dword [r14], eax
lea r15, [rsp + 0x38]
mov dword [r15], eax
lea r12, [rsp + 0x34]
mov dword [r12], 0
lea rdx, str.ReadValue
lea r8, str....._basewin_registry.cc
lea rcx, [rsp + 0x40]
mov r9d, 0x1ab
call fcn.14004f270
mov rcx, qword [rbx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
mov rdx, rdi
xor r8d, r8d
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400eb672
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400eb655
cmp dword [rsp + 0x38], 4
jne 0x1400eb655
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edi, eax
jmp 0x1400eb655
Function at 0x1400eccf0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1400ecdee
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1403035c0]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1400ecd60
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1403035d0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1400ece7d
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1400ece53
movdqa xmm1, xmmword [0x1403035d0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1403035e0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret