joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008fe10
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x14008fe44
mov rax, qword [rsi + 8]
test rax, rax
je 0x14008ff3b
bt ebx, 8
jae 0x14008fe60
mov eax, ebx
and eax, 0x200
jne 0x14008ff3b
cmp edi, 2
lea rax, [0x1403651b0]
lea rcx, [0x1403653b0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14008ff3b
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x14008ff3b
bt ebx, 8
jb 0x14008ff3b
shr ebx, 9
and ebx, 1
or bl, byte [0x1403657b0]
je 0x14008ff3b
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x14008ff5a
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x14008ff24
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.14012cb00
test eax, eax
je 0x14008ff5f
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x14008ff04
cmp dword [rsp + 0x2c], 0
jne 0x14008ffda
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140110970
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x14008fee7
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14008ff6d
test ecx, ecx
jne 0x14008ff24
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x14008ff99
cmp dword [rsp + 0x2c], 2
jne 0x14008ffaa
lea rdx, str.WOW6432Node
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
jmp 0x14008ffaa
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r14
cmp cx, 0x5c
jne 0x14008ffc3
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14008ffb0
jmp 0x14008ffc6
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x14008ff2b
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14008ffe6
mov rax, qword [rsi]
cmp qword [rsp + 0x30], 0
je 0x14009001c
mov rbx, qword [rsp + 0x38]
sub rbx, rax
sar rbx, 1
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140131e24
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, rax
call fcn.140044940
jmp 0x14008ff3b
ud2
Function at 0x1400908c0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.140110910
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402cdfe0]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.140062f10
test rsi, rsi
jne 0x14009096b
cmp byte [rsp + 0x47], 0
js 0x140090928
lea rcx, [rsp + 0x30]
jmp 0x14009092d
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
cmp byte [rsp + 0x47], 0
jns 0x14009094e
mov rcx, qword [rsp + 0x30]
call fcn.14010f42c
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
call fcn.140110970
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1401496f0
cmp byte [rsp + 0x47], 0
jns 0x14009098c
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 0x14009093d
cmp eax, 0x7fff
jae 0x1400909bd
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.1401891d0
jmp 0x14009093d
int3
Function at 0x1400935f0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140093667
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140352930], rax
jne 0x14009366a
mov rsi, rcx
call fcn.1400993e0
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400827a0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400f2650
mov ecx, dword [0x1403658f4]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x14035efd0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x180], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x140096890
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1402cdfe0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
jne 0x140096934
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400968e0
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401496f0
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x1400968d7
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.140238390
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400968d7

Function at 0x1400986c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140098720
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140098729
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140098709
int3
mov rcx, qword [rcx + 8]
jmp 0x1400986c0

Function at 0x140098730
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x34], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x1400987ce
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400987ba
cmp eax, 0xffffffff
je 0x1400987b7
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x140098768
mov eax, dword [rsp + 0x34]
jmp 0x140098799
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14009879b
Function at 0x140098ef0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140098720
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140098729
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140098709
int3
mov rcx, qword [rcx + 8]
jmp 0x1400986c0

Function at 0x140099ff0
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 [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140099fc0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14036a4e8]
lea rdx, [0x140099e10]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009a0e8
cmp dword [0x14036a4f0], 0
jne 0x14009a0f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14036a4f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14009a09c
mov ecx, 1
mov edx, 0x28
call fcn.1400e5860
test rax, rax
je 0x14009a0f5
mov r14, rax
mov ecx, dword [0x14036a4f4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14009a0ed
lea r15, [0x14036a4f8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14036a500]
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.140110970
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401287f0
mov rcx, r14
call fcn.1400e5770
mov rcx, rsi
mov rax, rdi
call qword [0x14033dc40]
xor esi, esi
jmp 0x14009a0cc
Function at 0x14009a830
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14035eb18]
cmp ecx, 0xffffffff
je 0x14009a90a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14009a90a
mov eax, dword [0x14036bd50]
mov ecx, dword [0x14035efd0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009a914
mov rbx, qword [0x14036bd48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009a964
mov rax, qword [0x14036a538]
inc rax
xor ecx, ecx
lea rdx, [0x14036a540]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14009a971
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14036bd40]
inc ecx
mov dword [0x14036bd40], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14036a538], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14009a961
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14009a990
jmp 0x14009a85a
lea rcx, [0x14036bd50]
call fcn.14010f47c
cmp dword [0x14036bd50], 0xffffffff
jne 0x14009a87f
mov ecx, 8
call fcn.14010f3f0
mov rbx, rax
mov qword [rax], 0
mov rcx, rax
call fcn.1400da090
mov qword [0x14036bd48], rbx
lea rcx, [0x14036bd50]
call fcn.14010f530
jmp 0x14009a87f
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14009a897
inc rcx
cmp rcx, 0x100
jne 0x14009a8aa
jmp 0x14009a8f0

Function at 0x14009a990
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140110910
sub rsp, rax
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14035eb18]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14009aa44
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14009aa82
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401496f0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14010f46c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140149050
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140110970
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400b4190
test al, al
je 0x14009aa85
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14009aa88
mov eax, 0xffffffff
lock cmpxchg dword [0x14035eb18], ecx
je 0x14009a9c8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14035eb18]
mov dword [rsp + 0x2c], ecx
jmp 0x14009a9c8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400b4190
test al, al
je 0x14009aaad
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14009aaad
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14009aa5b
int3
Function at 0x14009aac0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14035eb18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14009aae8
test rdi, rdi
je 0x14009ab01
call fcn.14009a990
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
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
Function at 0x1400ae8a0
Capabilities:
Allocate thread local storage

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

Function at 0x1400b4190
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400b41a5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400b55d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14036cda8]
mov ecx, dword [0x14035efd0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b5651
lea rcx, [0x14036cd98]
call fcn.1400fa700
test rax, rax
jne 0x1400b563e
mov ecx, 4
call fcn.14010f3f0
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14036cd98]
mov rcx, rbx
call fcn.1400fa700
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14009aac0
test rsi, rsi
jne 0x1400b5694
lea rcx, [0x14036cd98]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400fa700
lea rcx, [0x14036cda8]
call fcn.14010f47c
cmp dword [0x14036cda8], 0xffffffff
jne 0x1400b55f8
xorps xmm0, xmm0
movups xmmword [0x14036cd98], xmm0
lea rcx, [0x14036cd98]
lea rdx, [0x14002bc70]
call fcn.14009ab10
lea rcx, [0x14036cda8]
call fcn.14010f530
jmp 0x1400b55f8
mov rcx, rsi
call fcn.14010f42c
jmp 0x1400b563e

Function at 0x1400b9f80
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400ba030]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400b9fdb
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140110970
nop
add rsp, 0x68
pop rdi
pop rsi
ret
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r9d, 0x1b
call fcn.1400e1900
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1401932f0
lea rdx, [0x1402eddfa]
mov rcx, rdi
call fcn.14018d460
mov rcx, rdi
call fcn.1401933a0
jmp 0x1400b9fc6

Function at 0x1400c3090
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1400c30de
cmp byte [rcx], 0x4d
jne 0x1400c30de
cmp byte [rcx + 1], 0x5a
jne 0x1400c30de
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1400c30e0
cmp rdx, r9
jbe 0x1400c30e0
cmp r9d, 0x40
jb 0x1400c30e0
mov r10d, r9d
and r10d, 7
jne 0x1400c30e0
cmp byte [rcx + r9], 0x50
jne 0x1400c30de
cmp byte [rcx + r9 + 1], 0x45
jne 0x1400c30de
cmp byte [rcx + r9 + 2], 0
je 0x1400c30e1
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1400c30de
lea rax, [r9 + 0x18]
sub rdx, rax
setbe r9b
cmp rdx, 2
setb dl
or dl, r9b
jne 0x1400c30de
cmp word [rcx + rax], r8w
sete al
ret
Function at 0x1400ce330
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400ce38e
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 0x1400ce378
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400ce368
mov qword [rdi], rsi
call fcn.1400e1920
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400e1920
mov rcx, qword [rdi]
call fcn.1400d9a60
mov qword [rdi], 0
jmp 0x1400ce356
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400d5e20
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 0x1400d5f9f
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x1402d9820]
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 0x1400d5f02
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 0x1400d5ed8
pmovzxdq xmm1, qword [0x1402d9820]
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 [0x1402d9810], 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 [0x1402d9800]
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 0x1400d5fb6
jmp 0x1400d5e72

Function at 0x1400d6b50
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400d6b76
call fcn.1400e1920
cmp qword [rsi], rbx
je 0x1400d6ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400d6bb2
cmp r14, 2
jb 0x1400d6b9d
mov qword [rsi], rbx
call fcn.1400e1920
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e1920
mov rcx, qword [rsi]
call fcn.1400d9a60
mov qword [rsi], 0
jmp 0x1400d6b8f
Function at 0x1400e60f0
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 0x1400e618a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e6174
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400e6151
mov qword [rsi], rdi
call fcn.1400e1920
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 0x1400e618e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400e1920
mov rcx, qword [rsi]
call fcn.1400d9a60
mov qword [rsi], 0
jmp 0x1400e613f
mov byte [rsi + 8], 0
int3
Function at 0x1400e97d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400e97f9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400e97e0
movzx eax, r9b
ret
xor eax, eax
ret

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

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400ee78c
je 0x1400ee78b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x1402f5478]
nop word [rax + rax]
movzx r10d, al
movzx r11d, byte [rdx + r8]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400ee770
ret
int3