joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054930
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400941f0
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401131b0]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.14007ad20
test rsi, rsi
je 0x140054a16
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d2610
cmp byte [rsp + 0x47], 0
jns 0x1400549af
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x1400549de
cmp eax, 0x7fff
jae 0x140054a3b
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.1400319a0
cmp byte [rsp + 0x47], 0
js 0x140054a24
lea rcx, [rsp + 0x30]
jmp 0x140054a29
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
adc eax, 0xda104
int3

Function at 0x140055320
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140055347
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140055381
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400553a7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140094250
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140055480
mov al, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14005539d
call fcn.140094250
int3
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14007f1b0
test al, al
je 0x140055472
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x265
mov r9d, 2
call fcn.1400eee30
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14001ddc0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14005540a
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
test rax, rax
js 0x140055479
sete al
test rsi, rsi
setne cl
or cl, al
je 0x140055479
lea rsi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14007ad50
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x14005544c
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14001ddc0
cmp byte [rsp + 0x57], 0
jns 0x140055468
mov rcx, qword [rsp + 0x40]
call fcn.140092d00
lea rcx, [rsp + 0x58]
call fcn.1400eeea0
xor eax, eax
jmp 0x140055383
ud2
Function at 0x140055480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1400554a7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140055557
mov ecx, eax
mov al, 1
test cl, 0x10
je 0x1400554e3
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x1400554d9
call fcn.140094250
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14007f1b0
test al, al
je 0x140055550
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140033060
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001ddc0
mov rcx, rax
mov rdx, rsi
call fcn.1400eff50
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14001ddc0
mov rcx, rdi
call fcn.140033660
xor eax, eax
jmp 0x1400554bf
mov ecx, 2
call fcn.14007f1b0
test al, al
je 0x140055550
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.1400eee30
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001ddc0
mov rcx, rax
mov rdx, rsi
call fcn.1400eff50
mov rcx, rdi
call fcn.1400eeea0
jmp 0x140055550
Function at 0x140058ec0
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 [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140058e90]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140151d48]
lea rdx, [0x140058d30]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140058fc0
cmp dword [0x140151d50], 0
jne 0x140058fcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x140151d54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x140058f6c
mov ecx, 1
mov edx, 0x28
call fcn.14003b6b0
test rax, rax
je 0x140058fcd
mov r14, rax
mov ecx, dword [0x140151d54]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140058fc5
lea r15, [0x140151d58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140151d60]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov eax, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140058fb3
call fcn.140094250
int3
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ab69c
mov rcx, r14
call fcn.14003b550
mov rcx, rsi
mov rax, rdi
call qword [0x14012df88]
xor eax, eax
jmp 0x140058f9c

Function at 0x14005a230
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005a240
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 0x14005a261
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005a281
cmp byte [r14 + 0x50], 1
je 0x14005a30c
or edi, 0x20000000
test dil, 8
jne 0x14005a317
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005a29f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005a2b0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005a33e
cmp byte [r14 + 0x18], 1
je 0x14005a34f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005a35f
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 0x14005a334
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 0x14005a281
cmp byte [r14 + 0x68], 1
jne 0x14005a329
or edi, 0x40000000
jmp 0x14005a28b
or edi, 0x10000000
jmp 0x14005a28b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a2f7
lea rcx, [r14 + 0x20]
call fcn.140041e70
mov r15, rax
jmp 0x14005a2bb
mov rcx, r14
call fcn.140041e70
mov r9, rax
jmp 0x14005a2c9
cmp ebx, 4
jne 0x14005a36e
mov edx, 6
jmp 0x14005a2d6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005a380
mov edx, 7
jmp 0x14005a2d6
cmp ebx, 1
jne 0x14005a38f
mov edx, 4
jmp 0x14005a2d6
xor edx, edx
jmp 0x14005a2d6
Function at 0x14005a240
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005a240
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 0x14005a261
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005a281
cmp byte [r14 + 0x50], 1
je 0x14005a30c
or edi, 0x20000000
test dil, 8
jne 0x14005a317
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005a29f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005a2b0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005a33e
cmp byte [r14 + 0x18], 1
je 0x14005a34f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005a35f
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 0x14005a334
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 0x14005a281
cmp byte [r14 + 0x68], 1
jne 0x14005a329
or edi, 0x40000000
jmp 0x14005a28b
or edi, 0x10000000
jmp 0x14005a28b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a2f7
lea rcx, [r14 + 0x20]
call fcn.140041e70
mov r15, rax
jmp 0x14005a2bb
mov rcx, r14
call fcn.140041e70
mov r9, rax
jmp 0x14005a2c9
cmp ebx, 4
jne 0x14005a36e
mov edx, 6
jmp 0x14005a2d6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005a380
mov edx, 7
jmp 0x14005a2d6
cmp ebx, 1
jne 0x14005a38f
mov edx, 4
jmp 0x14005a2d6
xor edx, edx
jmp 0x14005a2d6

Function at 0x14005a3a0
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 0x14005a3d8
cmp byte [r15 + 0x50], 1
je 0x14005a46f
or edi, 0x20000000
test dil, 8
jne 0x14005a47a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14005a3f6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14005a407
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x14005a4a1
cmp byte [r15 + 0x18], 1
je 0x14005a4b2
xor r9d, r9d
cmp ebx, 4
jne 0x14005a460
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 0x14005a497
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 0x14005a4c2
mov edx, 7
jmp 0x14005a42a
or edi, 0x80000000
jmp 0x14005a3d8
cmp byte [r15 + 0x68], 1
jne 0x14005a48c
or edi, 0x40000000
jmp 0x14005a3e2
or edi, 0x10000000
jmp 0x14005a3e2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a44b
lea rcx, [r15 + 0x20]
call fcn.140041e70
mov r14, rax
jmp 0x14005a412
mov rcx, r15
call fcn.140041e70
mov r9, rax
jmp 0x14005a420
mov edx, 1
test ebx, ebx
je 0x14005a42a
cmp ebx, 1
jne 0x14005a4de
mov edx, 4
jmp 0x14005a42a
xor edx, edx
jmp 0x14005a42a
Function at 0x1400613d0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140153610], 0
jne 0x14006140d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140061400
mov dword [rdi], eax
mov dword [0x140153618], eax
mov qword [0x140153610], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x1400619a0
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140061a20
push rsi
sub rsp, 0x40
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, 0xffffffff
cmp r8, rsi
cmovae r8, rsi
lea r9, [rsp + 0x34]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140061a85
mov eax, dword [rsp + 0x34]
cmp rax, rsi
je 0x140061a8e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140061a7f
call fcn.140094250
int3
add rsp, 0x40
pop rsi
ret
mov rax, 0xffffffffffffffff
jmp 0x140061a68
int3

Function at 0x140061a20
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140061a20
push rsi
sub rsp, 0x40
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, 0xffffffff
cmp r8, rsi
cmovae r8, rsi
lea r9, [rsp + 0x34]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140061a85
mov eax, dword [rsp + 0x34]
cmp rax, rsi
je 0x140061a8e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140061a7f
call fcn.140094250
int3
add rsp, 0x40
pop rsi
ret
mov rax, 0xffffffffffffffff
jmp 0x140061a68
int3

Function at 0x140061aa0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x140061b4d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140061b39
cmp eax, 0xffffffff
je 0x140061b4a
mov eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140061b2b
call fcn.140094250
int3
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r12
cmp eax, 3
je 0x140061ae1
mov eax, dword [rsp + 0x2c]
jmp 0x140061b12
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
setne al
neg rax
jmp 0x140061b14
Function at 0x140062040
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140061f60
test rax, rax
jne 0x14006207f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400620a5
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140062099
call fcn.140094250
int3
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14007f1b0
test al, al
je 0x1400620fb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.1400eee30
lea rcx, [rsp + 0x38]
lea rdx, [0x1401285d2]
mov r8d, 0xc
call fcn.14001ddc0
mov rcx, rsi
call fcn.1400eeea0
xor esi, esi
jmp 0x14006207f
Function at 0x14006f8a0
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 0x14006f99e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140116630]
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 0x14006f910
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140116650]
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 0x14006fa2e
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 0x14006fa04
pmovzxdq xmm1, qword [0x140116650]
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 [0x140116640], 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
Function at 0x140077a50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1401131b0]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, [0x14011fa24]
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.14007f4c0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140083950
mov ebp, 0xffffffff
test r14, r14
js 0x140077b4c
test esi, esi
js 0x140077b4c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400856d0
test al, al
jne 0x140077b9c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140077b84
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x140077b97
lea rcx, [rsp + 0x30]
call fcn.140085750
lea rcx, [rsp + 0x60]
call fcn.1400839e0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140077b70
call fcn.140094250
int3
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x140077b42
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400f66e0
jmp 0x140077b04
Function at 0x140077bc0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401131b0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.14007f4c0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140083950
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x140077c44
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x140077c80
mov qword [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.1400839e0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x140077c9b
call fcn.140094250
int3
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.140092cc0
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x140077db7
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140077dd1
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x94]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140077dd1
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x140077dd1
mov ecx, 0x38
call fcn.140092cc0
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.14002f690
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x14013c5c8]
jne 0x140077d57
mov rcx, rdi
call fcn.140019640
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x94]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x14011fd62]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140077dee
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x14013c5c8]
jne 0x140077dab
mov rcx, rdi
call fcn.140019640
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
jmp 0x140077c5c
mov rcx, rdi
add rcx, rax
je 0x140077dcf
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x140077db7
jmp 0x140077cb0
ud2
mov qword [rsi], 0
test rdi, rdi
je 0x140077c5c
mov rcx, rdi
call fcn.140092d00
jmp 0x140077c5c
int3
Function at 0x140084890
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 0x14008492a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140084914
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400848f1
mov qword [rsi], rdi
call fcn.14007f4e0
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 0x14008492e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14007f4e0
mov rcx, qword [rsi]
call fcn.140076f10
mov qword [rsi], 0
jmp 0x1400848df
mov byte [rsi + 8], 0
int3

Function at 0x14008ebd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140058e90]
mov qword [rsp + 0x20], rax
lea rcx, [0x140151d48]
lea rdx, [0x140058d30]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14008ec6b
cmp dword [0x140151d50], 0
jne 0x14008ec67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140151d54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14008ec67
movsxd rax, esi
mov rax, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14008ec5f
call fcn.140094250
int3
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14008ec48
call fcn.1400ab69c
int3