joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044310
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400dba50
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400443af
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400f7504
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400b8860
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14004ebb0
mov rcx, rsi
mov rdx, r14
call fcn.1400b8a30
mov rcx, r14
call fcn.1400b89b0
mov rcx, rbx
call fcn.1400b89b0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400443e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400dba50
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 0x14004448e
cmp word [rsp + 0x70], 0
je 0x14004448e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400f7504
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400b8860
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b8840
lea rcx, [rsp + 0x40]
call fcn.1400b89b0
jmp 0x140044457
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401869f0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400b8720
mov rcx, rdi
call fcn.140044310
test al, al
jne 0x140044475
lea rax, [0x140193f00]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400b8860
jmp 0x140044482
Function at 0x140044990
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401cf13c], 0
jne 0x140044c31
mov rsi, rcx
movaps xmm6, xmmword [0x1401869f0]
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, 0x2b9
call fcn.1400b7e30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ae1b0
test rsi, rsi
je 0x140044c35
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b8720
mov ecx, 0x65
mov rdx, rdi
call fcn.140045ec0
test al, al
je 0x140044aff
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.14004eab0
mov rcx, rdi
mov rdx, rbx
call fcn.1400b8a30
mov rcx, rbx
call fcn.1400b89b0
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, 0x20b
call fcn.1400b7e30
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ae1b0
cmp byte [rsp + 0x47], 0
jns 0x140044ae3
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ae3f0
cmp edi, 0xffffffff
jne 0x140044bc6
lea rcx, [rsp + 0x30]
call fcn.1400b89b0
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b8720
mov ecx, 0x67
mov rdx, rdi
call fcn.140045ec0
test al, al
je 0x140044bb8
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, 0x20b
call fcn.1400b7e30
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ae1b0
cmp byte [rsp + 0x47], 0
jns 0x140044b87
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ae3f0
cmp edi, 0xffffffff
je 0x140044bb8
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140044100
test al, al
jne 0x140044be3
lea rcx, [rsp + 0x30]
call fcn.1400b89b0
xor esi, esi
jmp 0x140044bfe
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140044100
test al, al
je 0x140044aff
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400b89c0
mov rcx, rdi
call fcn.1400b89b0
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400d9910
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 0x140044c08
int3
Function at 0x1400458e0
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 [0x1401b3028]
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.1400dba50
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14005d1c0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401869f0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14005d3d0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140045978
and eax, 0x7f
jmp 0x14004597d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140045a54
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.1400dba50
mov rcx, r15
mov rdx, r14
call fcn.14005d380
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x140045a98
mov rcx, r14
call fcn.14005d1b0
test al, al
jne 0x140045ae8
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400459eb
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x140045a91
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.140024cf0
mov rcx, r15
mov rdx, r14
call fcn.14005d3d0
mov rcx, rdi
mov rdx, r14
call fcn.1400b8a30
mov rcx, r14
call fcn.1400b89b0
movzx eax, byte [rsp + 0x57]
test al, al
js 0x140045a43
and eax, 0x7f
jmp 0x140045a48
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x1400459a4
lea rcx, [rsp + 0x40]
call fcn.1400b89b0
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14005d310
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140045a08
cmp byte [rsp + 0x37], 0
je 0x140045ac0
cmp byte [rsp + 0x57], 0
js 0x140045aad
lea rcx, [rsp + 0x40]
jmp 0x140045ab2
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400459cc
lea rcx, [rsp + 0x58]
call fcn.14005d1b0
test al, al
jne 0x140045ad4
mov edx, dword [rsp + 0x58]
jmp 0x140045a9f
lea rcx, [rsp + 0x58]
call fcn.14005d1b0
test al, al
je 0x1400459dc
jmp 0x140045a91
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140045a08
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.1400458e0
mov ebp, eax
test eax, eax
jne 0x140045a08
cmp byte [rsp + 0x57], 0
jns 0x140045b25
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 0x140045a08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140045a08
Function at 0x140046d10
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140046ec0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400f4b4c
movaps xmm6, xmmword [0x1401869f0]
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, 0x48
call fcn.1400b7e30
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ae1b0
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.1400eb544
mov ecx, eax
call fcn.1400ebd4c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140046ec4
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 [0x1401df008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400f47d4
test rax, rax
je 0x140046e63
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x140046ecf
add r15, r12
mov rcx, rbx
call fcn.1400f3fc0
test eax, eax
je 0x140046ed3
mov r12, r15
mov rcx, rbx
call fcn.1400f3fec
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 [0x1401df008]
lea rcx, [rsp + 0x80]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400d9910
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 0x140046e95
mov r14d, 0xffff
jmp 0x140046e01
xor ebx, ebx
jmp 0x140046e73
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 [0x1401df008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140046e26
Function at 0x14004b700
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14004b7c0
mov eax, dword [rsi]
mov dword [0x1401c2720], eax
test al, 1
jne 0x14004b721
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401cf278]
test rcx, rcx
jne 0x14004b73b
mov rcx, qword [0x1401cf250]
test rcx, rcx
je 0x14004b75f
jmp 0x14004b781
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401cf278], 0
mov rcx, qword [0x1401cf250]
test rcx, rcx
jne 0x14004b781
and byte [0x1401c2720], 0xfe
mov ecx, 0x18
call fcn.1400d83e8
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401cf250], rax
mov rdx, qword [rsi + 8]
call fcn.14004c710
cmp dword [rsi + 0x14], 0
jne 0x14004b7a6
mov rcx, qword [0x1401cf250]
cmp byte [rcx + 0x17], 0
jns 0x14004b7a0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401381e0
Function at 0x14004f6b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
call fcn.1400afb50
cmp byte [rdi + 0x17], 0
jns 0x14004f6f7
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
jns 0x14004f718
mov rcx, qword [rsp + 0x68]
call fcn.1400d8424
test rsi, rsi
je 0x14004f7bf
test edi, edi
je 0x14004f7bf
mov ecx, edi
add rcx, rcx
call fcn.1400d845c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.1400afb50
cmp byte [r14 + 0x17], 0
jns 0x14004f75b
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x14004f77b
mov rcx, qword [rsp + 0x68]
call fcn.1400d8424
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14004f7ed
mov rcx, rbx
call fcn.1400f7504
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.1400affb0
cmp byte [rsi + 0x17], 0
js 0x14004f7e3
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400d8464
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.1400d8424
jmp 0x14004f7a6
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.14011b890
int3
Function at 0x14004feb0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401cf330]
test rdi, rdi
jne 0x14004ff63
mov ecx, 0x50
call fcn.1400d83e8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400d83e8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14004ff85
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 [0x1401cf330], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14004ffb1
mov rcx, rax
call fcn.1400f7504
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14004ffe0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14011b890
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.14011b890
int3
Function at 0x14004ffe0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140042d30
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140050174
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140194748]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400501ab
lea rdx, [0x140194798]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050199
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401df008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x1400501a1
test r12d, r12d
js 0x140050216
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400d83e8
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x1400501be
mov rdx, qword [r14 + r15]
call fcn.1401102b0
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x1400500e2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004fae0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140050136
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140050174
cmp r15, rbx
je 0x14005016c
add r15, 0xffffffffffffffe8
jmp 0x14005015a
mov rcx, qword [r15]
call fcn.1400d8424
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14005016c
test r15, r15
je 0x1400501ea
cmp byte [r15 + 0x17], 0
jns 0x14005014e
jmp 0x140050146
mov rcx, rbx
call fcn.1400d8424
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d9910
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140050094
xor r15d, r15d
xor ebx, ebx
jmp 0x14005010f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140050091
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14011b890
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.14011b890
lea rcx, [rsp + 0x30]
call fcn.140110020
int3

Function at 0x1400541b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x1400541ca
test r8d, r8d
jne 0x1400541c3
call fcn.1400669b0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400be1a0
Function at 0x14005b090
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14005b1e1
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401869f0]
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 [0x1401df008]
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 [0x1401df008]
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 [0x1401df008]
test r14, r14
je 0x14005b173
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14005b163
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.1400c01a0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14005b1e5
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x14005b1b2
lea rcx, section..text
mov qword [r14], 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.1400d9910
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14005b1c4
bt eax, 9
jae 0x14005b205
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x14005b1b2
lea rcx, [0x140004520]
jmp 0x14005b1af
call fcn.14013f2d0
lea rax, [0x14013fad0]
test r14, r14
je 0x14005b1b2
lea rcx, [0x14013f1b0]
jmp 0x14005b1af

Function at 0x14005b230
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401cf4e8]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b26b
movzx eax, word [0x1401cf4b8]
cmp eax, 9
jne 0x14005b2b3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401cf4e8]
call fcn.1400d8540
cmp dword [0x1401cf4e8], 0xffffffff
jne 0x14005b255
xorps xmm0, xmm0
movups xmmword [0x1401cf4d8], xmm0
movups xmmword [0x1401cf4c8], xmm0
movups xmmword [0x1401cf4b8], xmm0
lea rcx, [0x1401cf4b8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cf4e8]
call fcn.1400d85d8
jmp 0x14005b255
test eax, eax
je 0x14005b266
cmp eax, 6
jne 0x14005b2c3
mov eax, 2
jmp 0x14005b266
cmp eax, 0xc
jne 0x14005b2cf
mov eax, 3
jmp 0x14005b266
mov eax, 4
jmp 0x14005b266
Function at 0x14005bc60
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x1401869f0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.1400b7e30
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ae1b0
mov rcx, rsi
call fcn.1400ab250
test al, al
je 0x14005bdcf
mov rcx, rsi
call fcn.1400430f0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x14005bd4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14005bdf8
mov rax, rdi
inc rax
cmp rax, 2
jb 0x14005bd41
mov qword [rsi + 0x40], rdi
call fcn.1400b7e50
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005be13
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
movabs rbx, 0xfffffffc00000000
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1401b3dc8]
je 0x14005be17
and rbx, rdi
cmp rbx, qword [0x1401b3dc8]
je 0x14005be21
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x14005be13
lea rax, fcn.140140970
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdi
call fcn.14006beb0
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d9910
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b7e50
mov rcx, qword [rsi + 0x40]
call fcn.1400aa7b0
mov qword [rsi + 0x40], 0
jmp 0x14005bd2c
xor edi, edi
jmp 0x14005bdcf
call fcn.140098980
jmp 0x14005bd98
mov rcx, rdi
call fcn.140098840
jmp 0x14005bda4