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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14017f960]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x21a
call fcn.14009ae60
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140091430
cmp byte [rdi + 0x17], 0
jns 0x14003df82
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003e015
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14003dff8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14003e041
call fcn.14009ae80
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003e015
call fcn.14009ae80
mov rcx, r14
call fcn.14008e270
lea rcx, [rsp + 0x60]
call fcn.1400914b0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003dff0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14017f960]
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, 0x239
call fcn.14009ae60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140091430
cmp byte [rdi + 0x17], 0
jns 0x14003e0c2
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.1400914b0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c2d30
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003e110
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400fa470
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003e1af
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400e0844
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14009b750
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400497c0
mov rcx, rsi
mov rdx, r14
call fcn.140047d70
mov rcx, r14
call fcn.14009b8a0
mov rcx, rbx
call fcn.14009b8a0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14003e1e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400fa470
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14003e275
cmp word [rsp + 0x70], 0
je 0x14003e275
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400e0844
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14009b750
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400c2d30
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14017f960]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14009b6f0
mov rcx, rdi
call fcn.14003e110
test al, al
jne 0x14003e2c7
lea rax, [0x1401935b0]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14009b750
jmp 0x14003e2d4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140047cf0
lea rcx, [rsp + 0x40]
call fcn.14009b8a0
jmp 0x14003e257
Function at 0x14003e730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401ca7a4], 0
jne 0x14003e9d1
mov rsi, rcx
movaps xmm6, xmmword [0x14017f960]
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.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2bf
call fcn.14009ae60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140091430
test rsi, rsi
je 0x14003e9d5
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14009b6f0
mov ecx, 0x65
mov rdx, rdi
call fcn.14003fba0
test al, al
je 0x14003e89f
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.140049630
mov rcx, rdi
mov rdx, rbx
call fcn.140047d70
mov rcx, rbx
call fcn.14009b8a0
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x211
call fcn.14009ae60
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140091430
cmp byte [rsp + 0x47], 0
jns 0x14003e883
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400914b0
cmp edi, 0xffffffff
jne 0x14003e966
lea rcx, [rsp + 0x30]
call fcn.14009b8a0
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14009b6f0
mov ecx, 0x67
mov rdx, rdi
call fcn.14003fba0
test al, al
je 0x14003e958
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x211
call fcn.14009ae60
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140091430
cmp byte [rsp + 0x47], 0
jns 0x14003e927
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400914b0
cmp edi, 0xffffffff
je 0x14003e958
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003df00
test al, al
jne 0x14003e983
lea rcx, [rsp + 0x30]
call fcn.14009b8a0
xor esi, esi
jmp 0x14003e99e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003df00
test al, al
je 0x14003e89f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140047d10
mov rcx, rdi
call fcn.14009b8a0
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400914b0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400c2d30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x14003e9a8
int3
Function at 0x14003f610
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, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400fa470
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140058f80
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14017f960]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400591c0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14003f6aa
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14003f77e
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400fa470
mov rcx, r15
mov rdx, r14
call fcn.140059170
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14003f7bb
mov rcx, r14
call fcn.140058f70
test al, al
jne 0x14003f810
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x14003f718
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14003f809
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.1400248b0
mov rcx, r15
mov rdx, r14
call fcn.1400591c0
mov rcx, rdi
mov rdx, r14
call fcn.140047d70
mov rcx, r14
call fcn.14009b8a0
movsx rax, byte [rsp + 0x57]
test rax, rax
jns 0x14003f772
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x14003f6d1
lea rcx, [rsp + 0x40]
call fcn.14009b8a0
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.140059100
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x14003f7e3
cmp byte [rsp + 0x57], 0
js 0x14003f7d0
lea rcx, [rsp + 0x40]
jmp 0x14003f7d5
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003f6f9
lea rcx, [rsp + 0x58]
call fcn.140058f70
test al, al
jne 0x14003f7f7
mov edx, dword [rsp + 0x58]
jmp 0x14003f7c2
lea rcx, [rsp + 0x58]
call fcn.140058f70
test al, al
je 0x14003f709
xor ebp, ebp
jmp 0x14003f735
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x14003f735
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14003f610
mov ebp, eax
test eax, eax
jne 0x14003f735
cmp byte [rsp + 0x57], 0
jns 0x14003f84d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14003f735
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14003f735
Function at 0x140040b50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140040d00
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400dde8c
movaps xmm6, xmmword [0x14017f960]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x4f
call fcn.14009ae60
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140091430
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.1400d4884
mov ecx, eax
call fcn.1400d508c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140040d04
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x1401a61b0]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400ddb14
test rax, rax
je 0x140040ca3
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x140040d0f
add r15, r12
mov rcx, rbx
call fcn.1400dd300
test eax, eax
je 0x140040d13
mov r12, r15
mov rcx, rbx
call fcn.1400dd32c
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x1401a61b0]
lea rcx, [rsp + 0x80]
call fcn.1400914b0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140040cd5
mov r14d, 0xffff
jmp 0x140040c41
xor ebx, ebx
jmp 0x140040cb3
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x1401a61b0]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140040c66
Function at 0x140045d20
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140045ee0
mov eax, dword [rsi]
mov dword [0x1401b65e0], eax
mov bl, 1
test al, 1
jne 0x140045d67
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401ca8b8]
test rcx, rcx
je 0x140045d95
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401ca8b8], 0
cmp qword [0x1401ca8c0], 0
jne 0x140045d95
and byte [0x1401b65e0], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140045dbe
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140045dac
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140045e37
mov qword [0x1401ca8b8], rax
jmp 0x140045d4e
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140045dcc
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140045e86
lea rdi, [rsi + 8]
mov rcx, qword [0x1401ca8c0]
test rcx, rcx
jne 0x140045e07
mov ecx, 0x18
call fcn.1400c227c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401ca8c0], rax
mov rdx, rdi
call fcn.140089dc0
cmp dword [rsi + 0x24], 0
jne 0x140045e2b
mov rcx, qword [0x1401ca8c0]
cmp byte [rcx + 0x17], 0
jns 0x140045e25
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1401187a0
mov ebx, eax
jmp 0x140045d4e
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x231
call fcn.14009ae60
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.14011abf0
mov rcx, r14
call fcn.14011aeb0
mov rax, qword [rsi + 0x28]
jmp 0x140045db5
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x237
call fcn.14009ae60
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.14011abf0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.140118770
mov rcx, rbx
call fcn.14011aeb0
jmp 0x140045dd5
Function at 0x14004a2c0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400c2cd0
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14017f960]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.140092b60
test rsi, rsi
je 0x14004a398
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400fa470
cmp byte [rsp + 0x47], 0
jns 0x14004a33b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x14004a36a
cmp eax, 0x7fff
jae 0x14004a3bd
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.140042f80
cmp byte [rsp + 0x47], 0
jns 0x14004a37b
mov rcx, qword [rsp + 0x30]
call fcn.1400c22b8
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x47], 0
js 0x14004a3a6
lea rcx, [rsp + 0x30]
jmp 0x14004a3ab
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x14004a36a
int3

Function at 0x14004aa40
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401ca9a8]
test rdi, rdi
jne 0x14004aaf3
mov ecx, 0x50
call fcn.1400c227c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400c227c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14004ab15
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1401ca9a8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14004ab28
mov rcx, rax
call fcn.1400e0844
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14004ab40
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c2d30
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140183d1d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400fc0a0
lea rcx, [0x140183d1d]
lea rdx, str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400fc0a0
int3
Function at 0x14004f2f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14004f30a
test r8d, r8d
jne 0x14004f303
call fcn.140063ee0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400a1040

Function at 0x140056240
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401cab08]
mov ecx, dword [0x1401c31d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400562a0
lea rsi, [0x1401cab00]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c2d30
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401cab08]
call fcn.1400c22fc
cmp dword [0x1401cab08], 0xffffffff
jne 0x14005627c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400fa470
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.1400c227c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401cab50]
mov ecx, dword [0x1401c31d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056360
lea r8, [0x1401cab20]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140056460
mov qword [0x1401cab00], rsi
lea rcx, [0x1401cab08]
call fcn.1400c23b0
jmp 0x14005627c
lea rcx, [0x1401cab50]
call fcn.1400c22fc
cmp dword [0x1401cab50], 0xffffffff
jne 0x140056331
xorps xmm0, xmm0
movups xmmword [0x1401cab40], xmm0
movups xmmword [0x1401cab30], xmm0
movups xmmword [0x1401cab20], xmm0
lea rcx, [0x1401cab20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cab50]
call fcn.1400c23b0
jmp 0x140056331

Function at 0x1400563b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401cab50]
mov ecx, dword [0x1401c31d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400563eb
movzx eax, word [0x1401cab20]
cmp eax, 9
jne 0x140056433
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401cab50]
call fcn.1400c22fc
cmp dword [0x1401cab50], 0xffffffff
jne 0x1400563d5
xorps xmm0, xmm0
movups xmmword [0x1401cab40], xmm0
movups xmmword [0x1401cab30], xmm0
movups xmmword [0x1401cab20], xmm0
lea rcx, [0x1401cab20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cab50]
call fcn.1400c23b0
jmp 0x1400563d5
test eax, eax
je 0x1400563e6
cmp eax, 6
jne 0x140056443
mov eax, 2
jmp 0x1400563e6
cmp eax, 0xc
jne 0x14005644f
mov eax, 3
jmp 0x1400563e6
mov eax, 4
jmp 0x1400563e6
Function at 0x140057700
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140057849
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14017f960]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [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 + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1401a61b0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1401a61b0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1401a61b0]
test r14, r14
je 0x1400577e3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400577d3
mov ecx, 1
call fcn.1400a4550
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14005784d
call fcn.140002fe0
lea rax, [0x140001d60]
lea rcx, section..text
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c2d30
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14005782c
bt eax, 9
jae 0x140057868
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [0x1400042a0]
jmp 0x140057813
call fcn.14011fd20
lea rax, [0x140120520]
lea rcx, [0x14011fc00]
jmp 0x140057813

Function at 0x140057890
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.1400a4550
mov ebp, eax
bt eax, 0x1d
jb 0x1400578d3
not ebp
test ebp, 0x128
jne 0x1400578f9
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.1400a4550
bt eax, 9
jae 0x1400578b3
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.1400a4550
mov ebp, eax
bt eax, 0x1c
jae 0x140057918
xor ecx, ecx
call fcn.1400a4550
bt eax, 0x1e
jb 0x140057942
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140057934
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