joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a41e0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1401cd260]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400a42cc
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.14010cff0
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 0x1400a42d3
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.1400a4330
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400a42d3
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400a42dc
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.14010aeb0
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400a45e0
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xe0
mov rdx, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x17], 0
js 0x1400a46c6
je 0x1400a46ac
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400a46ac
mov rcx, qword [rsp + 0xc8]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xc0]
call rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14010aeb0
nop
add rsp, 0xe0
pop rsi
ret
cmp qword [rdx + 8], 0
je 0x1400a46ac
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
mov rdx, qword [rdx]
jmp 0x1400a4659
Function at 0x1400a47b0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400a4860]
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 0x1400a480b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010aeb0
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.1400ea6a0
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.14017e8a0
lea rdx, [0x1401e7220]
mov rcx, rdi
call fcn.140192d80
mov rcx, rdi
call fcn.14017e8d0
jmp 0x1400a47f6
Function at 0x1400a7e30
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 0x1400a7e45
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400b71b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x30], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rdi, qword [rcx + 0x10]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x1400b7215
movdqa xmm0, xmmword [0x1401d4760]
movdqa xmm1, xmmword [0x1401d4770]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x1400b71f4
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x1400b738e
mov rbp, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov r15, qword [rsp + 0x28]
jmp 0x1400b72a0
mov r9d, 0x10
mov r10, r8
add r10, r9
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
add r9, 0x10
test r11d, r11d
jne 0x1400b72f1
jmp 0x1400b7257
and al, 0x7f
mov byte [rcx + r14], al
lea r8, [r14 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc r14
add r15, rbp
cmp r14, rdi
je 0x1400b738e
cmp byte [r13 + r14], 0xfe
jne 0x1400b7291
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [0x14022e008]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov r9, rax
shr r9, 7
mov r8, rcx
shr r8, 0xc
xor r8, r9
and r8, rdx
movdqu xmm0, xmmword [rcx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
mov r10, r8
test r11d, r11d
je 0x1400b724e
tzcnt r9d, r11d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, r14
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
jbe 0x1400b727b
mov r12, r9
imul r12, rbp
add r12, qword [rsp + 0x28]
and al, 0x7f
lea r8, [r9 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
cmp byte [r13 + r9], 0x80
mov byte [rcx + r9], al
mov byte [rcx + rdx], al
mov rcx, rsi
je 0x1400b73be
mov rdx, qword [rsp + 0x30]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [0x14022e008]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [0x14022e008]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x30]
mov rax, r12
call qword [0x14022e008]
dec r14
sub r15, rbp
jmp 0x1400b7291
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov rdx, rcx
shr rdx, 3
mov r8, qword [rsi + 0x18]
shr r8, 1
add r8, rdx
sub rcx, r8
mov qword [rax - 8], rcx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [0x14022e008]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r8b, 0x80
mov byte [rax + r14], r8b
lea rdx, [r14 - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x1400b7291
Function at 0x1400c2150
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 0x1400c224e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1401d5460]
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 0x1400c21c0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1401d5470]
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 0x1400c22dd
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 0x1400c22b3
movdqa xmm1, xmmword [0x1401d5470]
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 [0x1401d5480], 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 0x1400c34b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400c34f8
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 0x1400c3501
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400c34e8
mov qword [rdi], rsi
call fcn.1400ea6c0
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.1400ea6c0
mov rcx, qword [rdi]
call fcn.1400dc150
mov qword [rdi], 0
jmp 0x1400c34d6
Function at 0x1400dc3a0
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 [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400dc6f0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14021b778]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400dc3fe
jnp 0x1400dc464
ucomisd xmm0, xmm6
jne 0x1400dc406
jnp 0x1400dc460
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401d4850]
subpd xmm1, xmmword [0x1401d4860]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401dd420]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010aeb0
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
xor eax, eax
jmp 0x1400dc438
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 [0x14021b788]
mov ecx, dword [0x14020daa8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc579
mov eax, dword [0x14021b798]
mov ecx, dword [0x14020daa8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc5b3
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 [0x14021b790]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401dd418]
ucomisd xmm2, xmm1
ja 0x1400dc3fe
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14021b780]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401d4850]
subpd xmm0, xmmword [0x1401d4860]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14021b778], xmm0
jmp 0x1400dc3fe
lea rcx, [0x14021b788]
call fcn.1401099f0
cmp dword [0x14021b788], 0xffffffff
jne 0x1400dc4ad
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14021b780], rdx
lea rcx, [0x14021b788]
call fcn.140109a88
jmp 0x1400dc4ad
lea rcx, [0x14021b798]
call fcn.1401099f0
cmp dword [0x14021b798], 0xffffffff
jne 0x1400dc4d2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14021b790], rax
lea rcx, [0x14021b798]
call fcn.140109a88
jmp 0x1400dc4d2
Function at 0x1400dcd60
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 [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401cd260]
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.1400ea6a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
mov ebp, 0xffffffff
test r14, r14
js 0x1400dce63
test esi, esi
js 0x1400dce63
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f2c50
test al, al
jne 0x1400dceab
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 0x1400dce93
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400dcea6
lea rcx, [rsp + 0x30]
call fcn.1400f2ce0
lea rcx, [rsp + 0x60]
call fcn.1400dfe10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14010aeb0
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 0x1400dce59
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140184f30
jmp 0x1400dce1b
Function at 0x1400dced0
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 [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x1401cd260]
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.1400ea6a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
test esi, esi
js 0x1400dcfe1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400f2c50
test al, al
jne 0x1400dd000
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 0x1400dcfed
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400dcfe8
lea rcx, [rsp + 0x30]
call fcn.1400f2ce0
lea rcx, [rsp + 0x50]
call fcn.1400dfe10
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010aeb0
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400dcfb4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400dcfaa
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140184f30
jmp 0x1400dcf7a

Function at 0x1400dd020
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 [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401cd260]
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.1400ea6a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
mov ebp, 0xffffffff
test r14, r14
js 0x1400dd120
test esi, esi
js 0x1400dd120
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f2c50
test al, al
jne 0x1400dd150
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.1400f2ce0
lea rcx, [rsp + 0x60]
call fcn.1400dfe10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14010aeb0
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.140184f30
jmp 0x1400dd0d7
Function at 0x1400ea4c0
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 0x1400ea4ea
call fcn.1400ea6c0
cmp qword [rsi], r14
je 0x1400ea519
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ea538
cmp r15, 2
jb 0x1400ea511
mov qword [rsi], r14
call fcn.1400ea6c0
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.1400ea6c0
mov rcx, qword [rsi]
call fcn.1400dc150
mov qword [rsi], 0
jmp 0x1400ea503

Function at 0x1400ed7f0
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.1400dcc20
mov qword [rsi], 0
test rax, rax
je 0x1400ed843
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ed877
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400ed83b
mov qword [rsi], rbx
call fcn.1400ea6c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400eae20
lea rcx, [rsi + 0x20]
call fcn.1400f2c70
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.1400ea6c0
mov rcx, qword [rsi]
call fcn.1400dc150
mov qword [rsi], 0
jmp 0x1400ed829

Function at 0x1400f0470
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 0x1400f04a1
call fcn.1400ea6c0
cmp qword [rsi + 8], rbx
je 0x1400f04d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f04e0
cmp r14, 2
jb 0x1400f04cb
mov qword [rsi + 8], rbx
call fcn.1400ea6c0
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.1400ea6c0
mov rcx, qword [rsi + 8]
call fcn.1400dc150
mov qword [rsi + 8], 0
jmp 0x1400f04bc
Function at 0x1400f0500
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 0x1400f0531
call fcn.1400ea6c0
cmp qword [rsi + 8], rbx
je 0x1400f0563
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f0570
cmp r14, 2
jb 0x1400f055b
mov qword [rsi + 8], rbx
call fcn.1400ea6c0
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.1400ea6c0
mov rcx, qword [rsi + 8]
call fcn.1400dc150
mov qword [rsi + 8], 0
jmp 0x1400f054c

Function at 0x1400f0590
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 0x1400f05c2
call fcn.1400ea6c0
cmp qword [rsi + 8], r14
je 0x1400f05f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f060f
cmp r15, 2
jb 0x1400f05ec
mov qword [rsi + 8], r14
call fcn.1400ea6c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400f0627
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ea6c0
mov rcx, qword [rsi + 8]
call fcn.1400dc150
mov qword [rsi + 8], 0
jmp 0x1400f05dd
call fcn.1400ea6c0
mov rcx, qword [rdi]
call fcn.1400dc150
mov qword [rdi], 0
jmp 0x1400f0600
Function at 0x1400f1900
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14021bb60]
mov ecx, dword [0x14020daa8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f1960
mov rsi, qword [0x14021bb58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14010aeb0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14021bb60]
call fcn.1401099f0
cmp dword [0x14021bb60], 0xffffffff
jne 0x1400f193c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14010cff0
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.140109878
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14021bba8]
mov ecx, dword [0x14020daa8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f1a20
lea r8, [0x14021bb78]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140076c00
mov qword [0x14021bb58], rsi
lea rcx, [0x14021bb60]
call fcn.140109a88
jmp 0x1400f193c
lea rcx, [0x14021bba8]
call fcn.1401099f0
cmp dword [0x14021bba8], 0xffffffff
jne 0x1400f19f1
xorps xmm0, xmm0
movups xmmword [0x14021bb98], xmm0
movups xmmword [0x14021bb88], xmm0
movups xmmword [0x14021bb78], xmm0
lea rcx, [0x14021bb78]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14021bba8]
call fcn.140109a88
jmp 0x1400f19f1