joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fa00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1400e5470]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ff
call fcn.140057010
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400571a0
cmp byte [rdi + 0x17], 0
jns 0x14002fa80
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400573d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140073dd0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002fac0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140075f10
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002fb5f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14008d6b8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14004f4b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140028a10
mov rcx, rsi
mov rdx, r14
call fcn.14004f650
mov rcx, r14
call fcn.14004f640
mov rcx, rbx
call fcn.14004f640
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140073dd0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002fb90
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140075f10
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002fc25
cmp word [rsp + 0x70], 0
je 0x14002fc25
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14008d6b8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14004f4b0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140073dd0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400e5470]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14004f470
mov rcx, rdi
call fcn.14002fac0
test al, al
je 0x14002fc65
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14004f490
jmp 0x14002fc84
lea rax, [0x1400ead20]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14004f4b0
lea rcx, [rsp + 0x40]
call fcn.14004f640
jmp 0x14002fc07
Function at 0x140032b40
Capabilities:
Encode data using base64

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 [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x140032b7f
test r15, r15
je 0x140032c6d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x140032bc9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.140075860
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x140032b5d
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x140032c99
lea rcx, [r12*8]
call fcn.140072a74
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x140032c3d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x140032c6d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x140032c25
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x140032b5d
mov rcx, r14
call fcn.140072ab0
mov r15, qword [rsi + 0x10]
jmp 0x140032b5d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400a2040
call fcn.1400a1d80
int3

Function at 0x1400331f0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140111ca8], 0
jne 0x14003322d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140033220
mov dword [rdi], eax
mov dword [0x140111cb0], eax
mov qword [0x140111ca8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x140034ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034f28
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140034f12
cmp dword [rsp + 0x38], 4
jne 0x140034f12
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140073dd0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140034f12

Function at 0x140034f30
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140073d70
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140075f10
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034ff3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140034ff7
lea rcx, [rsp + 0x840]
call fcn.14008d6b8
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.140024c80
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140073dd0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140034fd4
cmp eax, 2
jne 0x14003504c
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140075f10
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140035053
lea rcx, [rsp + 0x40]
call fcn.14008d6b8
lea rdx, [rsp + 0x40]
jmp 0x140034fc7
mov edi, 0x3f4
jmp 0x140034fd4
mov edi, 0xea
jmp 0x140034fd4
Function at 0x14003e8c0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14003e9e2
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 0x14003ea18
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
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 0x14003ea20
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
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14003ea24
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14003ea2a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14003e91c
xor eax, eax
jmp 0x14003e9b1
mov dl, byte [r8 + 0x19]
jmp 0x14003ea11
cmp byte [r8 + 0x1a], 0
je 0x14003ea15
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14003ea15
cmp ecx, 0x666f736f
jne 0x14003ea15
cmp edx, 0x76482074
jne 0x14003ea15
mov byte [r8 + 0x19], 1
jmp 0x14003ea15
Function at 0x140041e90
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 [0x14010b728]
cmp ecx, 0xffffffff
je 0x140041eb2
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140041eb7
call fcn.140041fd0
mov eax, dword [0x140115f50]
mov ecx, dword [0x14010b81c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140041f67
mov rbx, qword [0x140115f48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140041fad
mov rax, qword [0x140114730]
inc rax
xor ecx, ecx
lea rdx, [0x140114740]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140041fba
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140115f40]
inc ecx
mov dword [0x140115f40], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140114730], 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 0x140041fcc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140115f50]
call fcn.140072bd0
cmp dword [0x140115f50], 0xffffffff
jne 0x140041edc
mov ecx, 8
call fcn.140072a74
mov rbx, rax
mov rcx, rax
call fcn.1400576b0
mov qword [0x140115f48], rbx
lea rcx, [0x140115f50]
call fcn.140072c68
jmp 0x140041edc
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140041ef4
inc rcx
cmp rcx, 0x100
jne 0x140041f07
jmp 0x140041f4d
int3

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

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140073d70
sub rsp, rax
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14010b728]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140042084
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400420c2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140075f10
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140072aec
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140075860
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.140073dd0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140044530
test al, al
je 0x1400420c5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400420c8
mov eax, 0xffffffff
lock cmpxchg dword [0x14010b728], ecx
je 0x140042008
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14010b728]
mov dword [rsp + 0x2c], ecx
jmp 0x140042008
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140044530
test al, al
je 0x1400420ed
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400420ed
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14004209b
int3
Function at 0x140042100
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14010b728]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004213e
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
test rdi, rdi
je 0x140042137
call fcn.140041fd0
jmp 0x14004211e

Function at 0x1400444a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400444dc
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400444e6
add rdi, rbx
sub rsi, rbx
jne 0x1400444ba
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x140044530
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 0x140044545
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140050f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [0x14010e3e0]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140051057
mov rsi, rcx
lea r14, [0x1400e8870]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400e5470]
lea rbx, [rsp + 0x30]
xor r12d, r12d
mov rax, r12
shl rax, 4
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rdx, qword [rax + r14]
test rdx, rdx
je 0x14005108a
mov r13, qword [rax + r14 + 8]
mov byte [rsp + 0x47], r13b
cmp rbx, rdx
ja 0x140050fbc
lea rax, [rsp + r13*2]
add rax, 0x30
cmp rax, rdx
ja 0x1400510b6
lea r8, [r13*2]
mov rcx, rbx
call fcn.140075860
mov word [rsp + r13*2 + 0x30], 0
movzx eax, byte [rsp + 0x47]
mov rcx, qword [rsp + 0x30]
mov r8, rbx
mov rdx, rax
test al, al
jns 0x140050ff0
mov rdx, qword [rsp + 0x38]
mov r8, rcx
mov r9, qword [rsi + 8]
cmp r9, rdx
mov r10, rdx
cmovb r10, r9
test r10, r10
js 0x1400510e2
cmp rdx, r9
ja 0x140051053
mov bpl, 1
test rdx, rdx
je 0x14005107f
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x140051053
inc r10
cmp rdx, r10
jne 0x14005101a
mov rdi, rdx
test al, al
js 0x140051083
test bpl, bpl
jne 0x140051059
inc r12
movzx eax, byte [0x14010e3e0]
xor rax, 3
cmp r12, rax
jb 0x140050f7e
jmp 0x140051057
xor ebp, ebp
jmp 0x140051031
xor edi, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140073dd0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x140051031
call fcn.140072ab0
jmp 0x140051035
lea rax, str.basic_string_const_char__n__detected_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__n__0____s___nullptr
mov r8d, 0x39b
call fcn.1400a2040
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, 0x134
call fcn.1400a2040
int3
Function at 0x1400554a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140055ca0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14010e458]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400554fe
jnp 0x140055564
ucomisd xmm0, xmm6
jne 0x14005550a
jnp 0x140055679
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400e9450]
subpd xmm1, xmmword [0x1400e9460]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400e9470]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140073dd0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14010e468]
mov ecx, dword [0x14010b81c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140055680
mov eax, dword [0x14010e478]
mov ecx, dword [0x14010b81c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400556ba
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x14010e470]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400e9440]
ucomisd xmm2, xmm1
ja 0x1400554fe
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14010e460]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1400e9450]
subpd xmm0, xmmword [0x1400e9460]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14010e458], xmm0
jmp 0x1400554fe
xor eax, eax
jmp 0x14005553c
lea rcx, [0x14010e468]
call fcn.140072bd0
cmp dword [0x14010e468], 0xffffffff
jne 0x1400555ad
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14010e460], rdx
lea rcx, [0x14010e468]
call fcn.140072c68
jmp 0x1400555ad
lea rcx, [0x14010e478]
call fcn.140072bd0
cmp dword [0x14010e478], 0xffffffff
jne 0x1400555d2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14010e470], rax
lea rcx, [0x14010e478]
call fcn.140072c68
jmp 0x1400555d2
Function at 0x140055950
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400fc028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14010e490]
mov ecx, dword [0x14010b81c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400559b0
mov rsi, qword [0x14010e488]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140073dd0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14010e490]
call fcn.140072bd0
cmp dword [0x14010e490], 0xffffffff
jne 0x14005598c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140075f10
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140072a74
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14010e4d8]
mov ecx, dword [0x14010b81c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140055a70
lea r8, [0x14010e4a8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002be10
mov qword [0x14010e488], rsi
lea rcx, [0x14010e490]
call fcn.140072c68
jmp 0x14005598c
lea rcx, [0x14010e4d8]
call fcn.140072bd0
cmp dword [0x14010e4d8], 0xffffffff
jne 0x140055a41
xorps xmm0, xmm0
movups xmmword [0x14010e4c8], xmm0
movups xmmword [0x14010e4b8], xmm0
movups xmmword [0x14010e4a8], xmm0
lea rcx, [0x14010e4a8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14010e4d8]
call fcn.140072c68
jmp 0x140055a41
Function at 0x140065680
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 0x14006571a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140065704
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400656e1
mov qword [rsi], rdi
call fcn.140057030
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 0x14006571e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140057030
mov rcx, qword [rsi]
call fcn.140057040
mov qword [rsi], 0
jmp 0x1400656cf
mov byte [rsi + 8], 0
int3

Function at 0x140068e30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14010b728]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140068e64
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140068e64
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x140068e5e

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14006eeab
xor ecx, ecx
lea r9, [0x1400eec80]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x14006ee90
ret