joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067880
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x140165510]
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, 0x3cd
call fcn.140042db0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400477a0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140067903
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006794d
mov bl, 1
test al, 0x10
je 0x1400679fa
lea rcx, [rsp + 0x40]
call fcn.140047820
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009a1f0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.14006ee20
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x140067983
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x140067a6f
je 0x140067997
test rcx, rcx
je 0x140067a82
movsx rdx, byte [rsp + 0x37]
test rdx, rdx
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x140067a6f
je 0x1400679c0
test r14, r14
je 0x140067a82
cmp rdx, rax
je 0x140067a17
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140067880
test al, al
je 0x140067a68
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x140067a43
lea rcx, [rsp + 0x20]
call fcn.140043120
jmp 0x14006791b
test rsi, rsi
je 0x140067a05
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006791b
test rax, rax
je 0x140067a32
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x1400679c5
inc rdx
cmp rax, rdx
jne 0x140067a1e
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
jne 0x140067a5e
jmp 0x140067a60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
je 0x140067a95
test rsi, rsi
je 0x140067a60
mov ecx, ebp
call fcn.1400671e0
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400679eb
lea rcx, [0x140168205]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400e0394
lea rcx, [0x140168205]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400e0394
mov rcx, rdi
call fcn.1400676f0
test al, al
jne 0x1400679eb
jmp 0x140067a52
Function at 0x140067c40
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140165510]
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, [0x14017851f]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x52d
call fcn.140042db0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400477a0
cmp byte [rdi + 0x17], 0
jns 0x140067cb2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140047820
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009a1f0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140067cf0
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 [0x140199040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400cf760
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.140067fc0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140165510]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.1400962e0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x140067d88
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140067dca
lea rcx, [rsp + 0x30]
call fcn.140043120
lea rcx, [rsp + 0x298]
call fcn.140068110
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14009a1f0
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.1400cf760
mov rcx, r15
mov rdx, r14
call fcn.140068180
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x140067e43
test sil, 1
jne 0x140067e2b
mov rcx, r14
call fcn.140098910
test al, al
je 0x140067e27
mov rcx, r14
call fcn.140098910
xor ebp, ebp
test al, al
je 0x140067e4f
jmp 0x140067e91
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140067e3a
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.140098910
test al, al
jne 0x140067e89
test sil, 2
jne 0x140067edf
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140067e68
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
jne 0x140067e91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x140067e91
xor ebp, ebp
test sil, 1
jne 0x140067f06
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140059720
mov rcx, r15
mov rdx, r14
call fcn.1400962e0
mov rcx, rbx
mov rdx, r14
call fcn.140043190
mov rcx, r14
call fcn.140043120
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x140067ece
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140067d8d
jmp 0x140067de1
call fcn.14003a130
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rbx
call fcn.14010c3f0
xor ebp, ebp
test al, al
je 0x140067e71
jmp 0x140067e91
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.140067cf0
mov ebp, eax
test eax, eax
jne 0x140067e91
cmp byte [rsp + 0x47], 0
js 0x140067f2c
lea rcx, [rsp + 0x30]
jmp 0x140067f31
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140067e91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140067e91
Function at 0x14006c200
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.14006c3c0
mov eax, dword [rsi]
mov dword [0x14019b4cc], eax
mov bl, 1
test al, 1
jne 0x14006c247
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009a1f0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401ab018]
test rcx, rcx
je 0x14006c275
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401ab018], 0
cmp qword [0x1401ab020], 0
jne 0x14006c275
and byte [0x14019b4cc], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x14006c29e
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x14006c28c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x14006c317
mov qword [0x1401ab018], rax
jmp 0x14006c22e
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x14006c2ac
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14006c366
lea rdi, [rsi + 8]
mov rcx, qword [0x1401ab020]
test rcx, rcx
jne 0x14006c2e7
mov ecx, 0x18
call fcn.140098cd0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401ab020], rax
mov rdx, rdi
call fcn.1400346dc
cmp dword [rsi + 0x24], 0
jne 0x14006c30b
mov rcx, qword [0x1401ab020]
cmp byte [rcx + 0x17], 0
jns 0x14006c305
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400d3db0
mov ebx, eax
jmp 0x14006c22e
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x23e
call fcn.140042db0
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1401103c0
mov rcx, r14
call fcn.1401105d0
mov rax, qword [rsi + 0x28]
jmp 0x14006c295
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x244
call fcn.140042db0
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1401103c0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.14010ec70
mov rcx, rbx
call fcn.1401105d0
jmp 0x14006c2b5
Function at 0x140070140
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 [0x140199040]
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.140066150
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140070257
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 0x14007027a
lea rdx, [0x140178d86]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140070273
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x14018a6e8]
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.140071c00
mov rcx, rsi
mov rdx, r14
call fcn.1400d4b80
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140070238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140070257
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.140028350
mov rcx, qword [rsi]
call fcn.140098d0c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009a1f0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x1400701eb
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400701e8
Function at 0x140072bc1
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400cf760
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 0x140072c3c
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.140072b3e
test al, al
jne 0x140072c69
add rbx, 8
cmp rbx, 0x18
jne 0x140072c09
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14009a1f0
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x140072c48

Function at 0x140072f6a
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400cf760
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 [0x140165510]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1400b6604
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.140038f7e
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14003915e
cmp byte [rax + 0x17], 0
jns 0x140072fff
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x14007301b
mov rcx, qword [rsp + 0x20]
call fcn.140098d0c
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14009a1f0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400763c0
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 0x14007641f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x1400763db
cmp rdx, r9
jb 0x14007642e
ja 0x140076452
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 0x140076430
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140076426
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140076455
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140076426
Function at 0x140078190
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x140078293
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 0x1400781af
test r9, r9
je 0x140078293
test eax, eax
jle 0x1400782d3
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x1400782d3
cmp dword [rdx + 0x10], 0
jne 0x140078331
cmp eax, 0x401
jae 0x1400782f3
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.140075ed0
test rax, rax
je 0x140078354
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x1400782cb
mov rcx, qword [rdi]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x140078229
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x140078210
jmp 0x1400782b8
mov dword [rsi + 0x20], eax
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 0x140078249
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.140137e10
jmp 0x14007828a
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14007822c
jne 0x14007822c
jmp 0x1400782bf
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 0x1400782b1
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x1400782fc
test r8, r8
je 0x1400781ed
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 0x1400782b1
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 0x1400782b1
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 0x1400782b1
Function at 0x140079440
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 [0x140199040]
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 [0x14017d5f0]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x14017d600]
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x6c], 0x20
mov rcx, rdi
call fcn.14007d1f0
mov edx, dword [rdi + 0x6c]
mov rcx, rsi
mov r8, rdi
call fcn.140047dd0
mov edx, 0x70
mov rcx, rdi
call fcn.14004a6b0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009a1f0
mov rax, rsi
add rsp, 0x98
pop rdi
pop rsi
ret

Function at 0x140079bb0
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 0x14007b410
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9, 0x30
ja 0x14007b4c4
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 0x14007b4c8
xor eax, eax
lea rcx, [0x14017dc60]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x14007b45a
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.140078b00
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.14009a1f0
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14007b4ae
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
je 0x14007b451
jmp 0x14007b4ca
Function at 0x14007b4e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x14007b619
mov rbx, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x140165510]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r13, [rsp + 0x40]
lea r12, [rcx + 0xf8]
lea r14, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x30]
mov rcx, r14
mov r8, rsi
call qword [0x14018a6e8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r14
mov rdx, r13
mov r8, rsi
call qword [0x14018a6e8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call qword [0x14018a6e8]
test rbx, rbx
je 0x14007b5cc
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rbx, rax
jne 0x14007b5bc
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.140078b00
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r14], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009a1f0
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14007b5fa
Function at 0x14007d0e0
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.140047a10
mov ebp, eax
bt eax, 0x1d
jb 0x14007d123
not ebp
test ebp, 0x128
jne 0x14007d149
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010eb0
mov ecx, 1
call fcn.140047a10
bt eax, 9
jae 0x14007d103
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ef40
mov ecx, 1
call fcn.140047a10
mov ebp, eax
bt eax, 0x1c
jae 0x14007d168
xor ecx, ecx
call fcn.140047a10
bt eax, 0x1e
jb 0x14007d192
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14007d184
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000df00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f210
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400100b0

Function at 0x14007d330
Capabilities:
Encode data using xor
Hash data using sha256 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.140047a10
bt eax, 0x1d
jb 0x14007d3b0
mov ecx, 1
call fcn.140047a10
mov ebp, eax
bt eax, 0x1c
jae 0x14007d386
xor ecx, ecx
call fcn.140047a10
bt eax, 0x1e
jae 0x14007d386
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014f40
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14007d3a2
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a80
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014000
mov ecx, 1
call fcn.140047a10
bt eax, 9
jae 0x14007d351
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013c40
Function at 0x14007f080
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
jne 0x14007f133
test dil, 8
jne 0x14007f154
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14007f0c9
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14007f0da
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14007f17b
cmp byte [r15 + 0x18], 0
jne 0x14007f18c
xor r9d, r9d
cmp ebx, 4
jne 0x14007f145
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14007f171
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r15 + 0x50], 0
jne 0x14007f19c
or edi, 0x20000000
jmp 0x14007f0ab
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14007f1a7
mov edx, 7
jmp 0x14007f0fd
cmp byte [r15 + 0x68], 0
je 0x14007f166
or edi, 0x40000000
jmp 0x14007f0b5
or edi, 0x10000000
jmp 0x14007f0b5
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007f11e
lea rcx, [r15 + 0x20]
call fcn.140064c40
mov r14, rax
jmp 0x14007f0e5
mov rcx, r15
call fcn.140064c40
mov r9, rax
jmp 0x14007f0f3
or edi, 0x80000000
jmp 0x14007f0ab
mov edx, 1
test ebx, ebx
je 0x14007f0fd
cmp ebx, 1
jne 0x14007f1c3
mov edx, 4
jmp 0x14007f0fd
xor edx, edx
jmp 0x14007f0fd