joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140071ed0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x14029bb90]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x62
call fcn.14009b140
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rdi + 0x17], 0
jns 0x140071f5a
mov rdi, qword [rdi]
lea rdx, [rsp + 0x2c]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x140071fa7
mov qword [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.140059e90
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebp, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm6
lea r8, [rsp + 0x90]
mov byte [r8], 0
mov edx, ebp
mov rcx, rbx
call fcn.1400ff354
mov r9, qword [rbx]
mov edx, dword [rsp + 0x2c]
mov rcx, rdi
mov r8d, ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140072037
lea r14, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.140176aa0
mov ebp, eax
mov r15d, eax
shr r15d, 0x10
mov ecx, 0x38
call fcn.14010cc14
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8d, ebp
mov r9d, r15d
call fcn.140072040
mov qword [rsi], rdi
lea rcx, [rsp + 0x90]
mov qword [rcx], rbx
call fcn.1400f2d0a
jmp 0x140071f72
xor edi, edi
jmp 0x14007201f

Function at 0x1400729f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x140072a81
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.140176f86
test al, al
je 0x140072a9f
cmp r14, qword [rbx + 0x58]
je 0x140072a81
mov eax, dword [r14 + 0x68]
cmp eax, ebp
jne 0x140072aad
cmp byte [r14 + 0x27], 0
js 0x140072a5f
lea rcx, [r14 + 0x10]
jmp 0x140072a63
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140072a81
shr eax, 3
and eax, 2
mov esi, eax
jne 0x140072a81
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
add r14, 0x70
cmp r14, r12
jne 0x140072a35
mov r14, r12
jmp 0x140072a44
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x140072a81
Function at 0x14007405c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x140074176
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x140074176
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x14007416f
add r9, 0x88
je 0x14007416f
mov eax, dword [r9]
test rax, rax
je 0x140074176
add rax, rcx
je 0x140074176
cmp rdx, 0xffff
jbe 0x140074169
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x140074102
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x14007414e
cmp rsi, r10
je 0x140074176
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x1400740e2
mov r14, r11
cmp bpl, byte [rbx]
jne 0x1400740e4
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x140074139
jmp 0x1400740e2
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14007416f
Function at 0x140083980
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14029bb90]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xb2
call fcn.14009b140
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov rcx, qword [rbx]
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rbx]
mov rcx, rsi
call fcn.140059e90
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14010fba0
mov rax, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140086f70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
je 0x140086fb3
mov r8, rdx
shr r8, 2
xor r9d, r9d
lea r10, [0x1402b5b50]
movzx r11d, r8b
movzx esi, byte [rax + r9]
xor esi, r11d
shr r8d, 8
xor r8d, dword [r10 + rsi*4]
inc r9
cmp rdx, r9
jne 0x140086f8e
cmp r8d, dword [rcx + 0x18]
sete al
pop rsi
ret
xor r8d, r8d
jmp 0x140086faa

Function at 0x140087d70
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14029bb90]
lea r15, [rsp + 0x50]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r12, [rsp + 0x30]
mov rcx, r12
mov r9d, 0x9d
call fcn.14009b140
xor esi, esi
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140059ca0
test edi, edi
js 0x140087e4b
lea r15, [rsp + 0x30]
mov dword [r15], 0xaaaaaaaa
mov rcx, qword [r14]
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8d, edi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb esi, esi
or esi, dword [r15]
lea rcx, [rsp + 0x50]
call fcn.140059e90
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140087e1e
Function at 0x140087e60
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r13, 0xfffffffc00000000
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14029bb90]
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x48
call fcn.14009b140
mov eax, dword [0x1402f0db0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r12, qword [rax + 0x188]
mov rax, r12
and rax, r13
cmp rax, qword [0x1402e3948]
jne 0x140087f18
mov rcx, r12
call fcn.140103420
mov qword [rsp + 0x58], r12
mov eax, dword [0x1402f0db0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rbp, [rax + 0x190]
mov r12, qword [rbp]
and r13, r12
mov rax, r12
cmp r13, qword [0x1402e3948]
jne 0x140087f56
mov rcx, r12
call fcn.140103420
mov rax, qword [rbp]
lea rcx, [rsp + 0x58]
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], rbp
mov qword [rbp], rcx
mov qword [rcx + 0x18], rax
test r12, r12
je 0x140087fe1
mov al, byte [r12 + 0x20]
mov byte [rsp + 0x78], al
xor ecx, ecx
mov byte [rsp + 0x80], cl
mov byte [rsp + 0x90], cl
mov edx, dword [0x1402f0db0]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
cmp byte [rdx + 0x200], cl
je 0x140087fe5
test al, al
je 0x140088012
test r12, r12
je 0x140088024
cmp byte [r12 + 0x38], 0
je 0x140088024
mov r13, qword [r12 + 0x30]
mov qword [r12 + 0x30], 0
test r13, r13
je 0x140088024
lock dec dword [r13]
jne 0x140088024
mov rcx, r13
call fcn.1400e4e10
mov rcx, r13
call fcn.14010cc0c
jmp 0x140088024
xor eax, eax
jmp 0x140087f75
call fcn.1400abf60
test al, al
jne 0x140088024
mov al, byte [rsp + 0x78]
mov r12, qword [rsp + 0x60]
jmp 0x140087fa4
lea rdx, [rsp + 0x98]
mov qword [rdx], r15
lea rcx, str.ScopedBlockingCall
call fcn.14003c7c0
jmp 0x14008804e
test r12, r12
jne 0x140088024
lea rcx, [rsp + 0x80]
call fcn.14009b170
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140088045
cmp qword [rsp + 0x60], 0
jne 0x140088045
mov rax, qword [rcx]
mov rax, qword [rax + 8]
xor edx, edx
call qword [0x140318008]
test byte [0x1402e21a0], 0x19
jne 0x140087ff9
mov ebp, 0xffffffff
test r14, r14
js 0x1400880a0
test esi, esi
js 0x1400880a0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x98]
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 0x1400880d5
mov ebp, dword [rsp + 0x98]
test ebp, ebp
js 0x1400880d0
lea rcx, [rsp + 0x58]
call fcn.140059e90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1400880a0
Function at 0x1400898a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14029bb90]
lea r14, [rsp + 0x50]
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, 0x65
call fcn.14009b140
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140059ca0
test esi, esi
js 0x140089976
lea r9, [rsp + 0x30]
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 0x140089982
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14008997d
lea rcx, [rsp + 0x50]
call fcn.140059e90
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14008994b
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14008994b
Function at 0x140096320
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
jae 0x140096372
mov qword [rsi], 0
test r15, r15
jne 0x140096379
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov rcx, rdi
call fcn.1400963e0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140096510
jmp 0x140096347
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400963b3
cmp r12, 2
jb 0x14009639b
mov qword [rsi], r15
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140096353
call fcn.14004ba00
mov rcx, qword [0x1402f4238]
jmp 0x1400963c7
call fcn.140096510
mov r14, qword [rsi]
mov rcx, qword [0x1402f4238]
test rcx, rcx
je 0x1400963a5
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140318008]
mov qword [rsi], 0
jmp 0x14009638d

Function at 0x140096440
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 0x1400964c8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400964dd
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400964a3
mov qword [rsi], rdi
call fcn.140096510
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 0x1400964cc
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov byte [rsi + 8], 0
int3
call fcn.14004ba00
mov rcx, qword [0x1402f4238]
jmp 0x1400964f1
call fcn.140096510
mov r14, qword [rsi]
mov rcx, qword [0x1402f4238]
test rcx, rcx
je 0x1400964cf
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140318008]
mov qword [rsi], 0
jmp 0x140096491
Function at 0x14009a4c0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
lea rcx, [0x1402e3ac0]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009a528
cmp byte [0x1402f4628], 0
je 0x14009a4f0
lea rcx, [0x1402e3ac0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [0x140301f10], 0
jne 0x14009a536
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14009a539
mov dword [0x1402f45d8], eax
mov dword [0x140301f18], eax
lea rax, [0x140094580]
mov qword [0x140301f10], rax
mov byte [0x1402f4628], 1
jmp 0x14009a4de
lea rcx, [0x1402e3ac0]
call fcn.140092bb0
jmp 0x14009a4d5
int3
int3

Function at 0x14009acb0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rcx]
inc rax
cmp rax, 2
jae 0x14009add3
mov r14, qword [rdi]
mov qword [rdi], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14009acff
call fcn.140096510
cmp qword [rsi], r14
je 0x14009ad32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14009adba
cmp r15, 2
jb 0x14009ad2a
mov qword [rsi], r14
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rsi, rdi
je 0x14009ad5d
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
cmp byte [rsi + 0x1f], 0
movzx r8d, byte [rdi + 0x1f]
js 0x14009ad91
test r8b, r8b
js 0x14009adab
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], 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 + 0x88]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r8b, r8b
js 0x14009ad9c
and r8d, 0x7f
jmp 0x14009ada4
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
call fcn.1400fb142
jmp 0x14009ad5d
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.1400a4154
jmp 0x14009ad5d
call fcn.140096510
mov rcx, qword [rsi]
call fcn.140095cd0
mov qword [rsi], 0
jmp 0x14009ad1c
movaps xmm0, xmmword [0x14029bb90]
lea rbx, [rsp + 0x40]
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 + 0x20]
mov rcx, r14
mov r9d, 0x34
call fcn.14009b140
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14 + 8], rax
mov qword [r14], 0
call fcn.14004bc80
test al, al
jne 0x14009ae74
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14009ae5b
call fcn.140096510
mov rcx, qword [rsi]
call fcn.140095cd0
mov qword [rsi], 0
lea rcx, [rsp + 0x20]
call fcn.14004bc90
lea rcx, [rsp + 0x40]
call fcn.140059e90
jmp 0x14009ace6
lea rdx, str.File::Close
lea rcx, [rsp + 0x20]
mov r8, rsi
xor r9d, r9d
call fcn.1401e2070
jmp 0x14009ae3b
Function at 0x14009ae90
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14029bb90]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3a
call fcn.14009b140
xor r14d, r14d
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140059ca0
mov rcx, rsi
call fcn.14009b160
test al, al
je 0x14009b009
test ebx, ebx
jne 0x14009b038
mov ebp, 2
mov ebx, 4
xor r15d, r15d
mov rcx, rsi
call fcn.14009b130
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x14009af9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14009b0f9
mov rax, r14
inc rax
cmp rax, 2
jb 0x14009af90
mov qword [rsi + 0x40], r14
call fcn.140096510
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x14009b060
mov dword [rsp + 0x3c], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov rax, rcx
or rax, rdx
jne 0x14009b07f
mov rcx, rsi
call fcn.140083980
xor r14d, r14d
test rax, rax
jle 0x14009b009
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14009b060
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.140059e90
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14010fba0
mov eax, r14d
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
dec ebx
cmp ebx, 3
ja case.default.0x14009b051
lea rax, [0x1402aaca4]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
mov rcx, rsi
call fcn.14005a150
mov r14d, eax
jmp 0x14009b009
xor r14d, r14d
jmp 0x14009b009
mov r14, qword [rdi + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov ebx, 2
jmp 0x14009af32
xor eax, eax
lea r14, [rsp + 0x40]
mov qword [r14], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.14005a2e0
mov rcx, qword [rdi + 8]
movsxd rax, dword [r15]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [r14]
test r14, r14
js 0x14009b060
test r8b, r8b
jne 0x14009b060
test rdx, rdx
js 0x14009b060
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x14009afdd
mov ebp, 4
mov ebx, 2
jmp 0x14009af2f
call fcn.140096510
mov rcx, qword [rsi + 0x40]
call fcn.140095cd0
mov qword [rsi + 0x40], 0
jmp 0x14009af7b
mov ebp, 8
mov ebx, 1
jmp 0x14009af2f
mov ebx, 0xaaaaaaaa
xor ebp, ebp
jmp 0x14009af2f
Function at 0x1400a62e0
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 [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x28]
mov qword [rdx], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1402f3f00]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400a6336
jnp 0x1400a639c
ucomisd xmm0, xmm6
jne 0x1400a633e
jnp 0x1400a6398
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1402a8a90]
subpd xmm1, xmmword [0x1402a8aa0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1402a8ab0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010fba0
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 0x1400a6370
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 [0x1402f3f10]
mov ecx, dword [0x1402f0db0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a647e
mov eax, dword [0x1402f3f20]
mov ecx, dword [0x1402f0db0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a64b8
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 [0x1402f3f18]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402a8a80]
ucomisd xmm2, xmm1
ja 0x1400a6336
jmp 0x1400a6501
lea rcx, [0x1402f3f10]
call fcn.14010d4bc
cmp dword [0x1402f3f10], 0xffffffff
jne 0x1400a63e5
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402f3f08], rdx
lea rcx, [0x1402f3f10]
call fcn.14010d064
jmp 0x1400a63e5
lea rcx, [0x1402f3f20]
call fcn.14010d4bc
cmp dword [0x1402f3f20], 0xffffffff
jne 0x1400a640a
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1402f3f18], rax
lea rcx, [0x1402f3f20]
call fcn.14010d064
jmp 0x1400a640a
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1402f3f08]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x1402a8a90]
subpd xmm2, xmmword [0x1402a8aa0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x1402f3f00], xmm0
jmp 0x1400a6336
Function at 0x1400a7c90
Capabilities:
Get thread local storage value

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