joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ae5b0
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 0x1401ae5c5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x1401c1150
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401c118c
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 0x1401c1196
add rdi, rbx
sub rsi, rbx
jne 0x1401c116a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1401cfac0
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete al
mov r9d, r8d
not r9d
test r9d, 0x3c00000
setne r9b
and r9b, al
test cl, 1
sete r10b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r10b
and al, r9b
cmp al, 1
jne 0x1401cfb5e
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x1401cfb60
Capabilities:
Decompress data using quicklz

Disassembly:
test cl, 1
jne 0x1401cfbeb
mov r9d, edx
and r9d, 0xf800d000
xor eax, eax
cmp r9d, 0xf0008000
jne 0x1401cfbea
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1401cfbea
mov eax, edx
shr eax, 4
and eax, 0x3f000
mov r9d, edx
and r9d, 0x7ff
lea eax, [rax + r9*2]
mov r9d, edx
shr r9d, 6
and r9d, 0x100000
mov r10d, edx
shl r10d, 8
and r10d, 0x80000
or r10d, r9d
shl edx, 5
and edx, 0x40000
or edx, r10d
or edx, eax
shl edx, 0xb
sar edx, 0xb
lea eax, [rcx + rdx]
add eax, 4
and eax, 0xfffffffe
mov dword [r8], eax
mov al, 1
ret
xor eax, eax
ret

Function at 0x1401cfbf0
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
jne 0x1401cfca7
sub edx, ecx
mov ecx, edx
and ecx, 1
lea r9d, [rdx + rcx]
add r9d, 0xffffc
xor eax, eax
cmp r9d, 0x1fffff
ja 0x1401cfca6
add ecx, edx
add ecx, 0xfffffffc
mov edx, ecx
and edx, 1
jne 0x1401cfca6
mov edx, dword [r8]
mov r9d, edx
and r9d, 0xf800d000
cmp r9d, 0xf0008000
jne 0x1401cfca6
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1401cfca6
mov eax, ecx
shr eax, 1
and eax, 0x7ff
and edx, 0xfbc0d000
mov r9d, ecx
shl r9d, 6
and r9d, 0x4000000
mov r10d, ecx
shl r10d, 4
and r10d, 0x3f0000
or r10d, r9d
mov r9d, ecx
shr r9d, 5
and r9d, 0x2000
or r9d, r10d
shr ecx, 8
and ecx, 0x800
or ecx, r9d
or ecx, eax
or ecx, edx
mov dword [r8], ecx
mov al, 1
ret
xor eax, eax
ret

Function at 0x1401d3ee0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1401d3f28
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 0x1401d3f31
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1401d3f18
mov qword [rdi], rsi
call fcn.140206ee0
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.140206ee0
mov rcx, qword [rdi]
call fcn.1401f3750
mov qword [rdi], 0
jmp 0x1401d3f06
Function at 0x1401d9d50
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 0x1401d9e4e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1403da880]
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 0x1401d9dc0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1403da890]
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 0x1401d9edd
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 0x1401d9eb3
movdqa xmm1, xmmword [0x1403da890]
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 [0x1403da8a0], 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 0x1401f3e10
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1401f4170
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14045fc28]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1401f3e6e
jnp 0x1401f3ed4
ucomisd xmm0, xmm6
jne 0x1401f3e7a
jnp 0x1401f3fe9
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1403e3180]
subpd xmm1, xmmword [0x1403e3190]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1403e31a0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140253b80
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 [0x14045fc38]
mov ecx, dword [0x14045a84c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401f3ff0
mov eax, dword [0x14045fc48]
mov ecx, dword [0x14045a84c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401f402a
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 [0x14045fc40]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1403e3178]
ucomisd xmm2, xmm1
ja 0x1401f3e6e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14045fc30]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1403e3180]
subpd xmm0, xmmword [0x1403e3190]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14045fc28], xmm0
jmp 0x1401f3e6e
xor eax, eax
jmp 0x1401f3eac
lea rcx, [0x14045fc38]
call fcn.1402524e0
cmp dword [0x14045fc38], 0xffffffff
jne 0x1401f3f1d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14045fc30], rdx
lea rcx, [0x14045fc38]
call fcn.140252578
jmp 0x1401f3f1d
lea rcx, [0x14045fc48]
call fcn.1402524e0
cmp dword [0x14045fc48], 0xffffffff
jne 0x1401f3f42
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14045fc40], rax
lea rcx, [0x14045fc48]
call fcn.140252578
jmp 0x1401f3f42
Function at 0x1401f48e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov al, byte [0x14045fcb0]
test al, 1
je 0x1401f4912
call fcn.1402142d0
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140214640
test rsi, rsi
je 0x1401f493f
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 0x1401f4949
add rdi, rbx
sub rsi, rbx
jne 0x1401f491d
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1401f8c10
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1403d47c0]
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, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.140206ec0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
mov ebp, 0xffffffff
test r14, r14
js 0x1401f8d13
test esi, esi
js 0x1401f8d13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1402184a0
test al, al
jne 0x1401f8d56
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 0x1401f8d43
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1401f8d72
lea rcx, [rsp + 0x30]
call fcn.140218530
lea rcx, [rsp + 0x60]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140253b80
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1401f8d09
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14033ba70
jmp 0x1401f8ccb
int3
Function at 0x1401f8d80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x1403d47c0]
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.140206ec0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
test esi, esi
js 0x1401f8e89
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1402184a0
test al, al
jne 0x1401f8e90
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 0x1401f8eac
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1401f8ebf
lea rcx, [rsp + 0x30]
call fcn.140218530
lea rcx, [rsp + 0x50]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1401f8e5c
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14033ba70
jmp 0x1401f8e22
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1401f8e52
int3

Function at 0x1401f8ed0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.140206ec0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
mov ebp, 0xffffffff
test r14, r14
js 0x1401f8fd0
test esi, esi
js 0x1401f8fd0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1402184a0
test al, al
jne 0x1401f9000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.140218530
lea rcx, [rsp + 0x60]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140253b80
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14033ba70
jmp 0x1401f8f87
Function at 0x1401f9020
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
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 + 0x38]
mov rcx, r14
mov r9d, 0x4d
call fcn.140206ec0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.1401fc090
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1401f90b2
mov rbx, qword [rbx]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1401f9226
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.140252388
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
nop dword [rax]
mov rcx, rdi
add rcx, rax
je 0x1401f922f
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1401f90e0
mov edx, dword [rsp + 0x34]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401f925b
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401f925b
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x1401f925b
mov ecx, 0x38
call fcn.140252388
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.140104b00
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 [0x140458348]
jne 0x1401f919b
mov rcx, rdi
call fcn.1401d4cd0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1403e3ab2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401f9271
mov rdi, qword [rsp + 0x38]
and r14, rdi
cmp r14, qword [0x140458348]
jne 0x1401f91f0
mov rcx, rdi
call fcn.1401d4cd0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x60]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140253b80
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x1401f91f7
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.1402984b0
mov qword [rsi], 0
test rdi, rdi
je 0x1401f91f7
mov rcx, rdi
call fcn.1402523c4
jmp 0x1401f91f7
int3
Function at 0x140205d20
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
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140205d4a
call fcn.140206ee0
cmp qword [rsi], r14
je 0x140205d79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140205d98
cmp r15, 2
jb 0x140205d71
mov qword [rsi], r14
call fcn.140206ee0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140206ee0
mov rcx, qword [rsi]
call fcn.1401f3750
mov qword [rsi], 0
jmp 0x140205d63

Function at 0x140209850
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [0x14045ff88]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140209987
mov rsi, rcx
lea r14, [0x1403e5090]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1403d47c0]
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 0x1402099ba
mov r13, qword [rax + r14 + 8]
mov byte [rsp + 0x47], r13b
cmp rbx, rdx
ja 0x1402098ec
lea rax, [rsp + r13*2]
add rax, 0x30
cmp rax, rdx
ja 0x1402099e6
lea r8, [r13*2]
mov rcx, rbx
call fcn.140255620
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 0x140209920
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 0x140209a12
cmp rdx, r9
ja 0x140209983
mov bpl, 1
test rdx, rdx
je 0x1402099af
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x140209983
inc r10
cmp rdx, r10
jne 0x14020994a
mov rdi, rdx
test al, al
js 0x1402099b3
test bpl, bpl
jne 0x140209989
inc r12
movzx eax, byte [0x14045ff88]
xor rax, 3
cmp r12, rax
jb 0x1402098ae
jmp 0x140209987
xor ebp, ebp
jmp 0x140209961
xor edi, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140253b80
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 0x140209961
call fcn.1402523c4
jmp 0x140209965
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.1402984b0
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.1402984b0
int3
Function at 0x140211b80
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140211bb1
call fcn.140206ee0
cmp qword [rsi + 8], rbx
je 0x140211be3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140211bf0
cmp r14, 2
jb 0x140211bdb
mov qword [rsi + 8], rbx
call fcn.140206ee0
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.140206ee0
mov rcx, qword [rsi + 8]
call fcn.1401f3750
mov qword [rsi + 8], 0
jmp 0x140211bcc

Function at 0x140211c10
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140211c41
call fcn.140206ee0
cmp qword [rsi + 8], rbx
je 0x140211c73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140211c80
cmp r14, 2
jb 0x140211c6b
mov qword [rsi + 8], rbx
call fcn.140206ee0
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.140206ee0
mov rcx, qword [rsi + 8]
call fcn.1401f3750
mov qword [rsi + 8], 0
jmp 0x140211c5c

Function at 0x140211ca0
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
mov dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140211cd2
call fcn.140206ee0
cmp qword [rsi + 8], r14
je 0x140211d04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140211d1f
cmp r15, 2
jb 0x140211cfc
mov qword [rsi + 8], r14
call fcn.140206ee0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140211d37
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140206ee0
mov rcx, qword [rsi + 8]
call fcn.1401f3750
mov qword [rsi + 8], 0
jmp 0x140211ced
call fcn.140206ee0
mov rcx, qword [rdi]
call fcn.1401f3750
mov qword [rdi], 0
jmp 0x140211d10