joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048e00
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x28], r9
mov rax, qword [0x140179028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov esi, 1
test rdx, rdx
je 0x140048fcb
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x150]
mov r13d, dword [rsi + 4]
xor r14d, r14d
movaps xmm7, xmmword [0x140161630]
movaps xmm8, xmmword [0x140161640]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x140048ec2
mov ecx, dword [rsi + 0x2c]
call fcn.14008e8b0
test rax, rax
je 0x14004902e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.14008e910
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x140117020]
cmp rax, rcx
jne 0x14004901e
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x5c], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax], xmm7
movups xmmword [rax + 0x10], xmm8
mov dword [rax + 0x6c], 0x20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, r15
mov r8, qword [rsp + 0x28]
call qword [0x14016bc98]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x14016bc98]
cmp rdi, r13
jb 0x140048f72
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x14016bc98]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.14008e950
add rbx, r13
inc r14d
sub rdi, r13
jne 0x140048e8a
jmp 0x140048fc6
movaps xmm0, xmmword [0x14014e410]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, r14
call qword [0x14016bc98]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.14008e950
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400ab450
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.14008e910
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140049032
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a99b0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
call qword [0x14016bc98]
jmp 0x140048efe
xor esi, esi
jmp 0x140048fcb
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x14016bc98]
jmp 0x140048fdf
Function at 0x14004a270
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.14008a6e0
mov ebp, eax
bt eax, 0x1d
jb 0x14004a2b3
not ebp
test ebp, 0x128
jne 0x14004a2d9
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010370
mov ecx, 1
call fcn.14008a6e0
bt eax, 9
jae 0x14004a293
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f200
mov ecx, 1
call fcn.14008a6e0
mov ebp, eax
bt eax, 0x1c
jae 0x14004a2f8
xor ecx, ecx
call fcn.14008a6e0
bt eax, 0x1e
jb 0x14004a29d
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14004a314
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000e1c0
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f4d0

Function at 0x14004a380
Capabilities:
Encode data using xor
Hash data using sha256 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.14008a6e0
bt eax, 0x1d
jb 0x14004a400
mov ecx, 1
call fcn.14008a6e0
mov ebp, eax
bt eax, 0x1c
jae 0x14004a3d6
xor ecx, ecx
call fcn.14008a6e0
bt eax, 0x1e
jae 0x14004a3d6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140015200
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14004a3f2
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012d40
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400142c0
mov ecx, 1
call fcn.14008a6e0
bt eax, 9
jae 0x14004a3a1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013f00
Function at 0x14004ad40
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004ad50
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14004ad71
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004ad91
cmp byte [r14 + 0x50], 0
jne 0x14004ae1c
or edi, 0x20000000
test dil, 8
jne 0x14004ae27
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14004adaf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14004adc0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14004ae4e
cmp byte [r14 + 0x18], 0
jne 0x14004ae5f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004ae6f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14004ae44
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14004ad91
cmp byte [r14 + 0x68], 0
je 0x14004ae39
or edi, 0x40000000
jmp 0x14004ad9b
or edi, 0x10000000
jmp 0x14004ad9b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004ae07
lea rcx, [r14 + 0x20]
call fcn.14002cc50
mov r15, rax
jmp 0x14004adcb
mov rcx, r14
call fcn.14002cc50
mov r9, rax
jmp 0x14004add9
cmp ebx, 4
jne 0x14004ae7e
mov edx, 6
jmp 0x14004ade6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004ae90
mov edx, 7
jmp 0x14004ade6
cmp ebx, 1
jne 0x14004ae9f
mov edx, 4
jmp 0x14004ade6
xor edx, edx
jmp 0x14004ade6
Function at 0x14004ad50
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004ad50
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14004ad71
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004ad91
cmp byte [r14 + 0x50], 0
jne 0x14004ae1c
or edi, 0x20000000
test dil, 8
jne 0x14004ae27
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14004adaf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14004adc0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14004ae4e
cmp byte [r14 + 0x18], 0
jne 0x14004ae5f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004ae6f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14004ae44
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14004ad91
cmp byte [r14 + 0x68], 0
je 0x14004ae39
or edi, 0x40000000
jmp 0x14004ad9b
or edi, 0x10000000
jmp 0x14004ad9b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004ae07
lea rcx, [r14 + 0x20]
call fcn.14002cc50
mov r15, rax
jmp 0x14004adcb
mov rcx, r14
call fcn.14002cc50
mov r9, rax
jmp 0x14004add9
cmp ebx, 4
jne 0x14004ae7e
mov edx, 6
jmp 0x14004ade6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004ae90
mov edx, 7
jmp 0x14004ade6
cmp ebx, 1
jne 0x14004ae9f
mov edx, 4
jmp 0x14004ade6
xor edx, edx
jmp 0x14004ade6

Function at 0x14004aeb0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004aee8
cmp byte [r15 + 0x50], 0
jne 0x14004af7f
or edi, 0x20000000
test dil, 8
jne 0x14004af8a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14004af06
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14004af17
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14004afb1
cmp byte [r15 + 0x18], 0
jne 0x14004afc2
xor r9d, r9d
cmp ebx, 4
jne 0x14004af70
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14004afa7
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004afd2
mov edx, 7
jmp 0x14004af3a
or edi, 0x80000000
jmp 0x14004aee8
cmp byte [r15 + 0x68], 0
je 0x14004af9c
or edi, 0x40000000
jmp 0x14004aef2
or edi, 0x10000000
jmp 0x14004aef2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004af5b
lea rcx, [r15 + 0x20]
call fcn.14002cc50
mov r14, rax
jmp 0x14004af22
mov rcx, r15
call fcn.14002cc50
mov r9, rax
jmp 0x14004af30
mov edx, 1
test ebx, ebx
je 0x14004af3a
cmp ebx, 1
jne 0x14004afee
mov edx, 4
jmp 0x14004af3a
xor edx, edx
jmp 0x14004af3a
Function at 0x14004baa0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140179028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140076190
cmp byte [rdi + 0x17], 0
jns 0x14004bae1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14004bb02
mov rcx, qword [rsp + 0x58]
call fcn.1400a8538
test rsi, rsi
je 0x14004bba9
test edi, edi
je 0x14004bba9
mov ecx, edi
add rcx, rcx
call fcn.1400a856c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140076190
cmp byte [r14 + 0x17], 0
jns 0x14004bb45
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14004bb65
mov rcx, qword [rsp + 0x58]
call fcn.1400a8538
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14004bbc7
mov rcx, rbx
call fcn.1400c5f48
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1400761c0
cmp byte [rsi + 0x17], 0
js 0x14004bbda
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400a8574
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a99b0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14014e4c6]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400dd280
mov rcx, qword [rsi]
call fcn.1400a8538
jmp 0x14004bb90

Function at 0x14004bfc0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x14004c037
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x14017b620], rax
jne 0x14004c03a
mov rsi, rcx
call fcn.140094a00
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.14004c050
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14008cd80
mov ecx, dword [0x14018d9e0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140187750]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x150], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x14004e920
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x140179028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x14014e410]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.14004e3b0
xor edi, edi
test eax, eax
je 0x14004e9ad
lea rcx, [rsp + 0x20]
call fcn.14008eb60
movzx r15d, byte [0x1401642a5]
cmp rax, r15
jne 0x14004e9c8
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008eb50
lea r14, [0x140164298]
test r15b, r15b
je 0x14004e9a3
lea rdx, [0x14016429c]
mov rcx, rax
mov r8, rbx
call fcn.1400ab350
test eax, eax
jne 0x14004e9c8
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a99b0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.14008eb60
movzx r15d, byte [0x140164385]
cmp rax, r15
jne 0x14004ea0e
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008eb50
lea r14, [0x140164378]
test r15b, r15b
je 0x14004e9a3
lea rdx, [0x14016437c]
mov rcx, rax
mov r8, rbx
call fcn.1400ab350
test eax, eax
je 0x14004e9a3
lea rcx, [rsp + 0x20]
call fcn.14008eb60
movzx r15d, byte [0x140164465]
cmp rax, r15
jne 0x14004ea5c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008eb50
lea r14, [0x140164458]
test r15b, r15b
je 0x14004e9a3
lea rdx, [0x14016445c]
mov rcx, rax
mov r8, rbx
call fcn.1400ab350
test eax, eax
je 0x14004e9a3
lea rcx, [rsp + 0x20]
call fcn.14008eb60
movzx r15d, byte [0x140164545]
cmp rax, r15
jne 0x14004eaaa
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008eb50
lea r14, [0x140164538]
test r15b, r15b
je 0x14004e9a3
lea rdx, [0x14016453c]
mov rcx, rax
mov r8, rbx
call fcn.1400ab350
test eax, eax
je 0x14004e9a3
lea rcx, [rsp + 0x20]
call fcn.14008eb60
movzx r15d, byte [0x14016462d]
cmp rax, r15
jne 0x14004e9ad
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008eb50
lea r14, [0x140164620]
test r15b, r15b
je 0x14004e9a3
lea rdx, [0x140164624]
mov rcx, rax
mov r8, rbx
call fcn.1400ab350
test eax, eax
je 0x14004e9a3
jmp 0x14004e9ad
Function at 0x140051700
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140179028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400516d0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14018e7d0]
lea rdx, [0x140051520]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400517f8
cmp dword [0x14018e7d8], 0
jne 0x140051805
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14018e7dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400517ac
mov ecx, 1
mov edx, 0x28
call fcn.14007c2c0
test rax, rax
je 0x140051805
mov r14, rax
mov ecx, dword [0x14018e7dc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400517fd
lea r15, [0x14018e7e0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14018e7f0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a99b0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400bded0
mov rcx, r14
call fcn.14007c220
mov rcx, rsi
mov rax, rdi
call qword [0x14016bc98]
xor esi, esi
jmp 0x1400517dc

Function at 0x140052af0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14018e828], 0
jne 0x140052b2d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140052b20
mov dword [rdi], eax
mov dword [0x14018e830], eax
mov qword [0x14018e828], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x1400564c0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400565e1
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005661d
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140056625
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140056617
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140056629
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x140056610
xor r10d, r10d
jmp 0x14005651f
xor eax, eax
jmp 0x1400565b4
cmp byte [r8 + 0x1a], 0
je 0x140056614
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140056614
cmp ecx, 0x666f736f
jne 0x140056614
cmp edx, 0x76482074
jne 0x140056614
mov byte [r8 + 0x19], 1
jmp 0x140056614
Function at 0x14006fa00
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
jae 0x14006fb7d
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140151620]
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 0x14006fae1
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 0x14006fab7
movdqa xmm1, xmmword [0x140151620]
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 [0x140151630], 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
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140151610]
nop word cs:[rax + 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 0x14006fba0
jmp 0x14006fa52
Function at 0x140072e90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140072f2a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140072f14
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140072ef1
mov qword [rsi], rdi
call fcn.140078c30
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140072f2e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140078c30
mov rcx, qword [rsi]
call fcn.140072e60
mov qword [rsi], 0
jmp 0x140072edf
mov byte [rsi + 8], 0
int3

Function at 0x1400730c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140073108
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140073111
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400730f8
mov qword [rdi], rsi
call fcn.140078c30
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140078c30
mov rcx, qword [rdi]
call fcn.140072e60
mov qword [rdi], 0
jmp 0x1400730e6

Function at 0x1400748d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140179028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14014e410]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.140078c10
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14007df90
test esi, esi
js 0x1400749d5
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14007f290
test al, al
jne 0x1400749e1
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400749fd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400749dc
lea rcx, [rsp + 0x30]
call fcn.14007f5f0
lea rcx, [rsp + 0x50]
call fcn.14007e010
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a99b0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400749aa
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400fc830
jmp 0x140074970
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400749a0
Function at 0x14007b100
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140074790
mov qword [rsi], 0
test rax, rax
je 0x14007b153
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007b187
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14007b14b
mov qword [rsi], rbx
call fcn.140078c30
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140078de0
lea rcx, [rsi + 0x20]
call fcn.14007f2b0
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 rbp
pop rdi
pop rsi
ret
call fcn.140078c30
mov rcx, qword [rsi]
call fcn.140072e60
mov qword [rsi], 0
jmp 0x14007b139