joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061660
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 [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x14015c510]
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, 0x3c9
call fcn.140041f00
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140045840
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x1400616e3
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006172d
mov bl, 1
test al, 0x10
je 0x1400617dd
lea rcx, [rsp + 0x40]
call fcn.1400458c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008ffc0
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.14008b170
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x140061763
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x1400617db
sete dl
test rcx, rcx
setne r8b
or r8b, dl
je 0x1400617db
movsx rdx, byte [rsp + 0x37]
test rdx, rdx
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x1400617db
sete r8b
test r14, r14
setne r9b
or r9b, r8b
je 0x1400617db
cmp rdx, rax
je 0x1400617fa
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140061660
test al, al
je 0x14006184b
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x140061826
lea rcx, [rsp + 0x20]
call fcn.140042270
jmp 0x1400616fb
ud2
test rsi, rsi
je 0x1400617e8
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400616fb
test rax, rax
je 0x140061815
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x1400617a6
inc rdx
cmp rax, rdx
jne 0x140061801
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
jne 0x140061841
jmp 0x140061843
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
je 0x140061852
test rsi, rsi
je 0x140061843
mov ecx, ebp
call fcn.140060fb0
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400617cc
mov rcx, rdi
call fcn.1400614d0
test al, al
jne 0x1400617cc
jmp 0x140061835
Function at 0x140061a00
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14015c510]
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, [0x14016cbc7]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x537
call fcn.140041f00
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140045840
cmp byte [rdi + 0x17], 0
jns 0x140061a72
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1400458c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008ffc0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140061ab0
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 [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400c5530
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.140061d80
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14015c510]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.14008c1e0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x140061b48
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140061b8a
lea rcx, [rsp + 0x30]
call fcn.140042270
lea rcx, [rsp + 0x298]
call fcn.140061ed0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14008ffc0
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.1400c5530
mov rcx, r15
mov rdx, r14
call fcn.140061f40
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x140061c03
test sil, 1
jne 0x140061beb
mov rcx, r14
call fcn.14008e700
test al, al
je 0x140061be7
mov rcx, r14
call fcn.14008e700
xor ebp, ebp
test al, al
je 0x140061c0f
jmp 0x140061c51
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140061bfa
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.14008e700
test al, al
jne 0x140061c49
test sil, 2
jne 0x140061c9f
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140061c28
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
jne 0x140061c51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x140061c51
xor ebp, ebp
test sil, 1
jne 0x140061cc6
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400566e0
mov rcx, r15
mov rdx, r14
call fcn.14008c1e0
mov rcx, rbx
mov rdx, r14
call fcn.1400422e0
mov rcx, r14
call fcn.140042270
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x140061c8e
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140061b4d
jmp 0x140061ba1
call fcn.140039780
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rbx
call fcn.14010c680
xor ebp, ebp
test al, al
je 0x140061c31
jmp 0x140061c51
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.140061ab0
mov ebp, eax
test eax, eax
jne 0x140061c51
cmp byte [rsp + 0x47], 0
js 0x140061cec
lea rcx, [rsp + 0x30]
jmp 0x140061cf1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140061c51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140061c51
Function at 0x1400643c0
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140064580
mov eax, dword [rsi]
mov dword [0x14018e4cc], eax
mov bl, 1
test al, 1
jne 0x140064407
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008ffc0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14019e008]
test rcx, rcx
je 0x140064435
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019e008], 0
cmp qword [0x14019e010], 0
jne 0x140064435
and byte [0x14018e4cc], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x14006445e
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x14006444c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1400644d7
mov qword [0x14019e008], rax
jmp 0x1400643ee
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x14006446c
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140064526
lea rdi, [rsi + 8]
mov rcx, qword [0x14019e010]
test rcx, rcx
jne 0x1400644a7
mov ecx, 0x18
call fcn.14008eaa0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14019e010], rax
mov rdx, rdi
call fcn.140035c82
cmp dword [rsi + 0x24], 0
jne 0x1400644cb
mov rcx, qword [0x14019e010]
cmp byte [rcx + 0x17], 0
jns 0x1400644c5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400d24a0
mov ebx, eax
jmp 0x1400643ee
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x23e
call fcn.140041f00
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.14010fa10
mov rcx, r14
call fcn.14010fc20
mov rax, qword [rsi + 0x28]
jmp 0x140064455
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x244
call fcn.140041f00
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.14010fa10
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.14010ea50
mov rcx, rbx
call fcn.14010fc20
jmp 0x140064475

Function at 0x140067cd9
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c5530
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 0x140067d54
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.140067c68
test al, al
jne 0x140067d81
add rbx, 8
cmp rbx, 0x18
jne 0x140067d21
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14008ffc0
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x140067d60
Function at 0x140068070
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400c5530
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 [0x14015c510]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1400ac3d4
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.140109f66
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14010a022
cmp byte [rax + 0x17], 0
jns 0x140068105
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x140068121
mov rcx, qword [rsp + 0x20]
call fcn.14008eadc
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14008ffc0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret

Function at 0x14006a9d0
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 0x14006aa2f
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 0x14006a9eb
cmp rdx, r9
jb 0x14006aa3e
ja 0x14006aa62
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 0x14006aa40
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14006aa36
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14006aa65
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14006aa36
Function at 0x14006c7a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x14006c8a3
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 0x14006c7bf
test r9, r9
je 0x14006c8a3
test eax, eax
jle 0x14006c8e3
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x14006c8e3
cmp dword [rdx + 0x10], 0
jne 0x14006c941
cmp eax, 0x401
jae 0x14006c903
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.14006a4b0
test rax, rax
je 0x14006c964
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x14006c8db
mov rcx, qword [rdi]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x14006c839
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x14006c820
jmp 0x14006c8c8
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 0x14006c859
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.140130b40
jmp 0x14006c89a
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14006c83c
jne 0x14006c83c
jmp 0x14006c8cf
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 0x14006c8c1
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x14006c90c
test r8, r8
je 0x14006c7fd
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 0x14006c8c1
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 0x14006c8c1
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 0x14006c8c1
Function at 0x14006e380
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 0x14006fef0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9, 0x30
ja 0x14006ffa4
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 0x14006ffa8
xor eax, eax
lea rcx, [0x140172120]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x14006ff3a
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.14006d360
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.14008ffc0
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14006ff8e
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
je 0x14006ff31
jmp 0x14006ffaa
Function at 0x14006ffc0
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 [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x1400700f9
mov rbx, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14015c510]
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 [0x14017eac8]
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 [0x14017eac8]
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 [0x14017eac8]
test rbx, rbx
je 0x1400700ac
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rbx, rax
jne 0x14007009c
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.14006d360
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.14008ffc0
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 0x1400700da
Function at 0x140071ec0
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.140046220
bt eax, 0x1d
jb 0x140071f40
mov ecx, 1
call fcn.140046220
mov ebp, eax
bt eax, 0x1c
jae 0x140071f16
xor ecx, ecx
call fcn.140046220
bt eax, 0x1e
jae 0x140071f16
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014ec0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140071f32
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013f80
mov ecx, 1
call fcn.140046220
bt eax, 9
jae 0x140071ee1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013bc0
Function at 0x140074400
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 0x1400744b3
test dil, 8
jne 0x1400744d4
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x140074449
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14007445a
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x1400744fb
cmp byte [r15 + 0x18], 1
je 0x14007450c
xor r9d, r9d
cmp ebx, 4
jne 0x1400744c5
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 0x1400744f1
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], 1
je 0x14007451c
or edi, 0x20000000
jmp 0x14007442b
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140074527
mov edx, 7
jmp 0x14007447d
cmp byte [r15 + 0x68], 1
jne 0x1400744e6
or edi, 0x40000000
jmp 0x140074435
or edi, 0x10000000
jmp 0x140074435
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007449e
lea rcx, [r15 + 0x20]
call fcn.14005f3b0
mov r14, rax
jmp 0x140074465
mov rcx, r15
call fcn.14005f3b0
mov r9, rax
jmp 0x140074473
or edi, 0x80000000
jmp 0x14007442b
mov edx, 1
test ebx, ebx
je 0x14007447d
cmp ebx, 1
jne 0x140074543
mov edx, 4
jmp 0x14007447d
xor edx, edx
jmp 0x14007447d
Function at 0x1400780ba
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x14015c510]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x140078236
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x14019f480]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400adee8
mov rcx, rbx
call fcn.1400ac3d4
sub r14, rax
lea rdx, [0x140161a40]
mov rcx, rbx
mov r8, r14
call fcn.1400adee8
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400c5530
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140078196
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400adf30
test eax, eax
je 0x14007825a
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400781d1
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400adf30
test eax, eax
je 0x14007825a
xor eax, eax
mov byte [0x14019f079], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14017184a]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140078261
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x14017eac8]
test eax, eax
je 0x140078261
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x14019f680], al
mov byte [0x14019f078], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14008ffc0
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x1400781d3
xor eax, eax
jmp 0x140078229
Function at 0x14007b590
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14018c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14007b560]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401a2460]
lea rdx, [0x14007b4f0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14007b688
cmp dword [0x1401a2468], 0
jne 0x14007b695
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401a246c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14007b63c
mov ecx, 1
mov edx, 0x28
call fcn.1400442e0
test rax, rax
je 0x14007b695
mov r14, rax
mov ecx, dword [0x1401a246c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14007b68d
lea r15, [0x1401a2470]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401a2478]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008ffc0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a4420
mov rcx, r14
call fcn.140044240
mov rcx, rsi
mov rax, rdi
call qword [0x14017eac8]
xor esi, esi
jmp 0x14007b66c