joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ad2f0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [case.0x14017aab5.0]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
cmp rbx, r14
jne 0x1400ad3d7
lea r14, [rsi + 0xd0]
mov ebx, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x14017aab5.0]
mov rcx, qword [rsi + 0x90]
mov qword [rsp + 0x20], r14
mov rdx, rax
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400ad3c8
mov byte [rsi + 0x112], 1
mov eax, 1
lock xadd dword [rsi + 8], eax
mov sil, 1
cmp eax, 0x7fffffff
je 0x1400ad41b
mov rbx, qword [rsp + 0x30]
test rbx, rbx
jne 0x1400ad3e8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400ad38a
jmp 0x1400ad417
mov rcx, rbx
call fcn.1400ad420
add rbx, 0x28
jmp 0x1400ad348
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
cmp rdi, rbx
je 0x1400ad40b
add rdi, 0xffffffffffffffd8
mov rcx, rdi
call fcn.1400ad620
cmp rdi, rbx
jne 0x1400ad3f5
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
call fcn.14013a6ac
jmp 0x1400ad3af
xor esi, esi
jmp 0x1400ad3a5
int3

Function at 0x1400ad520
Capabilities:
Check if file exists

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 [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400ad54c
call fcn.1400a6030
cmp qword [rsi], r15
je 0x1400ad5a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400ad58f
call fcn.1400a6030
mov r14, qword [rsi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ad5cc
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rsi], 0
cmp r12, 2
jb 0x1400ad59d
mov qword [rsi], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400ad5da
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ad579
call fcn.1400a6030
mov rbx, qword [rdi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ad606
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rdi], 0
jmp 0x1400ad5bb
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ad5ee
Function at 0x1400b57d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
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 0x1400b5896
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400b585c
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400b5837
mov qword [rsi], rdi
call fcn.1400a6030
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 0x1400b589a
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400a6030
mov r14, qword [rsi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400b5888
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rsi], 0
jmp 0x1400b5825
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400b5870
mov byte [rsi + 8], 0
int3

Function at 0x1400b5bb0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1038
call fcn.14013d4c0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r14, [rsp + 0x830]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14013f660
lea rax, [rsp + 0x2c]
mov dword [rax], 1
lea r9, [rsp + 0x28]
mov dword [r9], 0x800
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.1400b5cd0
mov edi, eax
test eax, eax
jne 0x1400b5c4e
mov eax, dword [rsp + 0x2c]
cmp eax, 1
jne 0x1400b5c6d
lea rdi, [rsp + 0x830]
mov rcx, rdi
call fcn.14013ad74
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.1400b5d8c
xor edi, edi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14013d520
mov eax, edi
add rsp, 0x1038
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp eax, 2
jne 0x1400b5cb5
lea rdi, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14013f660
lea rcx, [rsp + 0x830]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x28], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400b5cbc
lea rdi, [rsp + 0x30]
jmp 0x1400b5c36
mov edi, 0x3f4
jmp 0x1400b5c4e
mov edi, 0xea
jmp 0x1400b5c4e
Function at 0x1400b5cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov rdi, qword [rsp + 0xd0]
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r13, qword [rcx + 8]
lea rdx, str.ReadValue
lea r8, str....._basewin_registry.cc
lea rbp, [rsp + 0x38]
mov rcx, rbp
mov r9d, 0x320
call fcn.1400b5b90
mov rcx, rbx
mov rdx, rbp
mov r8, r13
mov r9d, 1
call fcn.1400b5b80
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, rbx
call fcn.1400b5b70
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400b76e2
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 0x1400b7713
call fcn.1400a6030
cmp qword [rsi + 8], rbx
je 0x1400b7745
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400b7752
cmp r14, 2
jb 0x1400b773d
mov qword [rsi + 8], rbx
call fcn.1400a6030
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.1400a6030
mov rcx, qword [rsi + 8]
call fcn.1400ccd80
mov qword [rsi + 8], 0
jmp 0x1400b772e
Function at 0x1400bb540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], rax
movaps xmm6, xmmword [0x1402e6d80]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2aa
call fcn.1400b5b90
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140062770
call fcn.1400bb640
test al, al
jne 0x1400bb60f
cmp byte [rsi + 0x17], 0
jns 0x1400bb5d1
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.140062a80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x1400bb62a
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140218390
test eax, eax
jmp 0x1400bb5dd

Function at 0x1400bb7ca
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 0x1400bb7fb
call fcn.1400a6030
cmp qword [rsi + 8], rbx
je 0x1400bb82d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400bb83a
cmp r14, 2
jb 0x1400bb825
mov qword [rsi + 8], rbx
call fcn.1400a6030
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.1400a6030
mov rcx, qword [rsi + 8]
call fcn.1400ccd80
mov qword [rsi + 8], 0
jmp 0x1400bb816

Function at 0x1400bb852
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 0x1400bb884
call fcn.1400a6030
cmp qword [rsi + 8], r14
je 0x1400bb8b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400bb8e7
cmp r15, 2
jb 0x1400bb8ae
mov qword [rsi + 8], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400bb8d1
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x1400bb8c2
call fcn.1400a6030
mov rcx, qword [rsi + 8]
call fcn.1400ccd80
mov qword [rsi + 8], 0
jmp 0x1400bb89f
Function at 0x1400bc400
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
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400bc42b
call fcn.1400a6030
cmp qword [rsi], r14
je 0x1400bc45d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400bc4b0
cmp r15, 2
jb 0x1400bc452
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
inc r14
cmp r14, 2
jb 0x1400bc47f
lea rax, [rsi + 8]
cmp dword [rax], 2
jne 0x1400bc4c9
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400bc49a
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x1400bc48b
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x1400bc444
int3
Function at 0x1400bd190
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
call fcn.1400bd370
lea rax, [0x1402e5010]
mov qword [rdi], rax
movups xmm0, xmmword [r12]
movups xmmword [rdi + 0x10], xmm0
movabs rax, 0xfffffffc00000000
and rax, r14
cmp rax, qword [0x140336a08]
je 0x1400bd2d2
mov qword [rdi + 0x20], r14
lea rcx, [rdi + 0x28]
mov rdx, rbx
call fcn.1400bd3b0
mov qword [rdi + 0x40], r15
lea rcx, [rdi + 0x48]
call fcn.1400bd360
lea rcx, [rdi + 0x50]
mov rdx, rdi
call fcn.1400bd3e0
xor eax, eax
mov qword [rdi + 0x88], rax
mov r15, qword [rsi]
mov qword [rsi], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400bd232
call fcn.1400a6030
cmp qword [rdi + 0x88], r15
je 0x1400bd271
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi + 0x88]
inc rax
cmp rax, 2
jae 0x1400bd30b
cmp r12, 2
jb 0x1400bd269
mov qword [rdi + 0x88], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmmword [rdi + 0xa0], xmm1
movups xmmword [rdi + 0x90], xmm0
lea rcx, [rdi + 0xb0]
call fcn.1400bd390
xor eax, eax
mov byte [rdi + 0xe8], al
mov qword [rdi + 0xec], rax
mov byte [rdi + 0xf4], al
mov qword [rdi + 0xf8], rax
mov byte [rdi + 0x100], al
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400bd2df
mov rax, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r14
call fcn.14010ecc8
jmp 0x1400bd1eb
call fcn.1400a6030
mov rbx, qword [rsi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400bd350
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rsi], 0
jmp 0x1400bd2c1
call fcn.1400a6030
mov r14, qword [rdi + 0x88]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400bd342
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rdi + 0x88], 0
jmp 0x1400bd257
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400bd323
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400bd2f3
Function at 0x1400bd6a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
mov r13, qword [rdx]
mov qword [rdx], 0
lea r15, [r13 + 1]
cmp r15, 2
jb 0x1400bd6dc
call fcn.1400a6030
mov r12, qword [rsp + 0x90]
cmp qword [rsi], r13
je 0x1400bd715
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400bd771
cmp r15, 2
jb 0x1400bd70c
mov qword [rsi], r13
call fcn.1400a6030
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400bd745
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400a6030
mov rbx, qword [rdi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400bd7b5
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rdi], 0
jmp 0x1400bd731
call fcn.1400a6030
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400bd7a7
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x20]
call qword [case.0x14017aab5.0]
mov qword [rsi], 0
jmp 0x1400bd6fe
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400bd78a
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400bd759
Function at 0x1400c3c80
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rcx]
inc rax
cmp rax, 2
jae 0x1400c3dd7
mov r14, qword [rdi]
mov qword [rdi], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400c3ccf
call fcn.1400a6030
cmp qword [rsi], r14
je 0x1400c3cfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400c3d61
cmp r15, 2
jb 0x1400c3cf6
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rsi, rdi
je 0x1400c3d2d
lea rdx, [rdi + 8]
lea rbx, [rsi + 8]
movzx r9d, byte [rsi + 0x1f]
movzx r8d, byte [rdi + 0x1f]
test r9b, r9b
js 0x1400c3d7a
test r8b, r8b
js 0x1400c3d97
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rbx], xmm0
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 rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14013d520
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x1400c3ce8
test r8b, r8b
jns 0x1400c3d89
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
jmp 0x1400c3d8d
and r8d, 0x7f
mov rcx, rbx
call fcn.14012b3f4
jmp 0x1400c3d2d
mov rdx, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
cmp r14, 0xa
ja 0x1400c3e80
mov byte [rsi + 0x1f], r14b
cmp rdx, rbx
jb 0x1400c3dbf
lea rax, [rbx + r14*2]
cmp rax, rdx
ja 0x1400c3eb1
lea r8, [r14 + r14]
mov rcx, rbx
call fcn.14013efb0
mov word [rbx + r14*2], 0
jmp 0x1400c3d2d
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x40], r15
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.Close
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x34
call fcn.1400b5b90
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140062770
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.1400517d0
test al, al
jne 0x1400c3edd
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400c3e67
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
lea rcx, [rsp + 0x40]
call fcn.1400517e0
lea rcx, [rsp + 0x60]
call fcn.140062a80
jmp 0x1400c3cb6
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
add r14, 0xfffffffffffffff6
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, rbx
mov r8, r14
call fcn.14011a8a0
jmp 0x1400c3d2d
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, 0x138
call fcn.140181600
lea rdx, str.File::Close
lea rcx, [rsp + 0x40]
mov r8, rsi
xor r9d, r9d
call fcn.1402181c0
jmp 0x1400c3e47
Function at 0x1400c5f40
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 [0x140327038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14033af78]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400c5f98
jnp 0x1400c5ffe
ucomisd xmm0, xmm6
jne 0x1400c5fa0
jnp 0x1400c5ffa
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1402eee10]
subpd xmm1, xmmword [0x1402eee20]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1402eee30]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013d520
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 0x1400c5fd2
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 [0x14033af88]
mov ecx, dword [0x140337e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c611b
mov eax, dword [0x14033af98]
mov ecx, dword [0x140337e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c6155
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 [0x14033af90]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402eee00]
ucomisd xmm2, xmm1
ja 0x1400c5f98
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14033af80]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x1402eee10]
subpd xmm2, xmmword [0x1402eee20]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x14033af78], xmm0
jmp 0x1400c5f98
lea rcx, [0x14033af88]
call fcn.14013b388
cmp dword [0x14033af88], 0xffffffff
jne 0x1400c6047
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14033af80], rdx
lea rcx, [0x14033af88]
call fcn.14013a7d4
jmp 0x1400c6047
lea rcx, [0x14033af98]
call fcn.14013b388
cmp dword [0x14033af98], 0xffffffff
jne 0x1400c606c
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14033af90], rax
lea rcx, [0x14033af98]
call fcn.14013a7d4
jmp 0x1400c606c
Function at 0x1400c7d90
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
jae 0x1400c7dd9
cmp qword [rsi], r14
jne 0x1400c7de0
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.1400a6030
jmp 0x1400c7db5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400c7e0c
cmp r15, 2
jb 0x1400c7e02
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400c7dba
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x1400c7df4

Function at 0x1400c7ea0
Capabilities:
Get thread local storage value

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