joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061a10
Capabilities:
Write 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 [0x140186028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140157be0]
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.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x9d
call fcn.140043b60
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140049860
test esi, esi
js 0x140061b16
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14004be20
test al, al
jne 0x140061b1d
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.14004beb0
lea rcx, [rsp + 0x50]
call fcn.1400498c0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009c2d0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140061aeb
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140122700
jmp 0x140061ab0

Function at 0x140061b40
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x140157be0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb2
call fcn.140043b60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140049860
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.14004be20
test al, al
jne 0x140061c1c
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.14004beb0
lea rcx, [rsp + 0x50]
call fcn.1400498c0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009c2d0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.140122700
jmp 0x140061bc9
Function at 0x140062050
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp 0x140061d50

Function at 0x140062060
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 [0x140186028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x140157be0]
lea rdi, [rsp + 0x50]
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, 0x2bc
call fcn.140043b60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140049860
call fcn.1400793a0
test al, al
jne 0x140062121
cmp byte [rsi + 0x17], 0
jns 0x1400620e3
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.1400498c0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009c2d0
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 0x14006213c
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140122950
test eax, eax
jmp 0x1400620ef

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140157be0]
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.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2eb
call fcn.140043b60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140049860
cmp byte [rdi + 0x17], 0
jns 0x1400621c2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.1400498c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009c2d0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140062210
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14009e420
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400622af
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400b8054
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140043d90
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140065a50
mov rcx, rsi
mov rdx, r14
call fcn.140044070
mov rcx, r14
call fcn.140043ef0
mov rcx, rbx
call fcn.140043ef0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009c2d0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400622e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm6, xmmword [0x140157be0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x3ac
call fcn.140043b60
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140049860
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140062365
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400623b1
mov bl, 1
test al, 0x10
je 0x140062468
lea rcx, [rsp + 0x40]
call fcn.1400498c0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14009c2d0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.140044d90
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x1400623e3
and r8d, 0x7f
mov rdx, rdi
jmp 0x1400623ea
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, [rsp + 0x98]
call fcn.1400ef6cc
movzx r8d, byte [rsp + 0x37]
test r8b, r8b
js 0x140062408
and r8d, 0x7f
jmp 0x140062412
mov r8, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
lea r15, [rsp + 0x88]
mov rcx, r15
mov rdx, r14
call fcn.1400ef6cc
mov rax, qword [r15 + 8]
cmp rax, qword [rsp + 0xa0]
je 0x140062485
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400622e0
test al, al
je 0x1400624e7
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x1400624c2
lea rcx, [rsp + 0x20]
call fcn.140043ef0
jmp 0x14006237d
test rsi, rsi
je 0x140062473
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006237d
test rax, rax
je 0x1400624b1
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
movzx r9d, word [rcx + r8*2]
cmp r9w, word [rdx + r8*2]
jne 0x140062433
inc r8
cmp rax, r8
jne 0x14006249d
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
jne 0x1400624dd
jmp 0x1400624df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
je 0x1400624ee
test rsi, rsi
je 0x1400624df
mov ecx, ebp
call fcn.140061c40
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140062459
mov rcx, rdi
call fcn.140062150
test al, al
jne 0x140062459
jmp 0x1400624d1
Function at 0x140062500
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140157be0]
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, [0x1401607d3]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x509
call fcn.140043b60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140049860
cmp byte [rdi + 0x17], 0
jns 0x140062572
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1400498c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009c2d0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400625b0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14009e420
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.140062950
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140157be0]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.140096f30
movzx eax, byte [rbx + 0x17]
test al, al
js 0x140062646
and eax, 0x7f
jmp 0x14006264b
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006268d
lea rcx, [rsp + 0x30]
call fcn.140043ef0
lea rcx, [rsp + 0x298]
call fcn.140062aa0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14009c2d0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.14009e420
mov rcx, r15
mov rdx, r14
call fcn.140062b10
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x1400626fa
test sil, 1
jne 0x1400626e2
mov rcx, r14
call fcn.14009a900
test al, al
jne 0x14006279d
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x1400626f1
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.14009a900
test al, al
jne 0x140062740
test sil, 2
jne 0x1400627b1
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x14006271f
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
jne 0x14006274c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x14006274c
xor ebp, ebp
test sil, 1
jne 0x1400627db
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140075c20
mov rcx, r15
mov rdx, r14
call fcn.140096f30
mov rcx, rbx
mov rdx, r14
call fcn.140044070
mov rcx, r14
call fcn.140043ef0
movzx eax, byte [rsp + 0x47]
test al, al
js 0x140062787
and eax, 0x7f
jmp 0x14006278c
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140062650
jmp 0x1400626a4
mov rcx, r14
call fcn.14009a900
xor ebp, ebp
test al, al
je 0x140062706
jmp 0x14006274c
call fcn.14004b450
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rbx
call fcn.1401070a0
xor ebp, ebp
test al, al
je 0x140062728
jmp 0x14006274c
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.1400625b0
mov ebp, eax
test eax, eax
jne 0x14006274c
cmp byte [rsp + 0x47], 0
js 0x140062801
lea rcx, [rsp + 0x30]
jmp 0x140062806
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14006274c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14006274c
Function at 0x1400643f0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400644b0
mov eax, dword [rsi]
mov dword [0x1401940a8], eax
test al, 1
jne 0x140064411
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x14019e6f8]
test rcx, rcx
jne 0x14006442b
mov rcx, qword [0x14019e6d0]
test rcx, rcx
je 0x14006444f
jmp 0x140064471
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019e6f8], 0
mov rcx, qword [0x14019e6d0]
test rcx, rcx
jne 0x140064471
and byte [0x1401940a8], 0xfe
mov ecx, 0x18
call fcn.14009ae10
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14019e6d0], rax
mov rdx, qword [rsi + 8]
call fcn.140064e20
cmp dword [rsi + 0x14], 0
jne 0x140064496
mov rcx, qword [0x14019e6d0]
cmp byte [rcx + 0x17], 0
jns 0x140064490
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400d4c30
Function at 0x140066750
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14006ad20
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140066855
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140066875
lea rdx, [0x140160c92]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140066871
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401af008]
mov rbx, rax
movsxd r9, dword [rsp + 0x3c]
lea r8, [rbx + r9*8]
xorps xmm6, xmm6
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
mov rcx, r14
mov rdx, rbx
call fcn.140068860
mov rcx, rsi
mov rdx, r14
call fcn.140066240
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140066848
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x50]
mov qword [rcx], r14
call fcn.140046530
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009c2d0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x1400667fb
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400667f8

Function at 0x140069843
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14009e420
xor ebx, ebx
lea r14, str.PROGRAMFILES
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r14]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call r15
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400698be
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.1400697d1
test al, al
jne 0x1400698eb
add rbx, 8
cmp rbx, 0x18
jne 0x14006988b
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14009c2d0
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x1400698ca
Function at 0x140069c9c
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14009e420
mov word [rsi], 0
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140157be0]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1400b8054
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14003eed2
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14003f0d4
cmp byte [rax + 0x17], 0
jns 0x140069d31
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x140069d4d
mov rcx, qword [rsp + 0x20]
call fcn.14009ae4c
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14009c2d0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret

Function at 0x14006b660
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14006b6c5
xor r11d, r11d
mov rbx, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rdi, rsi
xor rdi, rbx
mov r14d, eax
lea rax, [rdi - 1]
mov r15, rsi
sub r15, rbx
xor r15, rsi
or r15, rdi
not rdi
and rax, rdi
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
or r15, 1
and r14d, eax
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x14006b67b
cmp rdx, r9
jb 0x14006b6d4
ja 0x14006b6f8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14006b6d6
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14006b6cc
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14006b6fb
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14006b6cc
Function at 0x14006d360
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x14006d45b
mov rsi, rcx
mov rcx, qword [rdx]
xor r8d, r8d
xor r9d, r9d
or r9, qword [rcx + r8*8]
inc r8
cmp rax, r8
jne 0x14006d37f
test r9, r9
je 0x14006d45b
test eax, eax
jle 0x14006d490
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x14006d490
cmp dword [rdx + 0x10], 0
jne 0x14006d4b0
cmp eax, 0x401
jae 0x14006d4f0
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.14006b170
test rax, rax
je 0x14006d4d0
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x14006d480
mov rdx, qword [rdi]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x14006d3d8
mov dword [rsi + 0x20], ecx
mov rax, qword [rdi]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14006d411
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14007ccb0
jmp 0x14006d452
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x14006d3f4
jmp 0x14006d531
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14006d479
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14006d479
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14006d479
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x14006d4f9
test r8, r8
je 0x14006d3bd
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x14006d479
mov dword [rsi + 0x28], 0
jmp 0x14006d3f4
Function at 0x14006e5a0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movups xmmword [rdi + 0x5c], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movaps xmm0, xmmword [0x140163730]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x140163740]
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x6c], 0x20
mov rcx, rdi
call fcn.1400721e0
mov edx, dword [rdi + 0x6c]
mov rcx, rsi
mov r8, rdi
call fcn.140048b40
mov edx, 0x70
mov rcx, rdi
call fcn.14004e1f0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009c2d0
mov rax, rsi
add rsp, 0x98
pop rdi
pop rsi
ret

Function at 0x14006ed70
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret

Function at 0x1400705e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9, 0x30
ja 0x140070694
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
test r9, r9
jne 0x140070698
xor eax, eax
lea rcx, [0x140163da0]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x14007062a
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.14006dcd0
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009c2d0
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14007067e
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
je 0x140070621
jmp 0x14007069a