joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f4d0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x14010f25d]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x196
call fcn.140071770
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400717a0
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14008ea70
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14002f585
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.14006ca60
mov rcx, r14
call fcn.14005f480
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14008ea70
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14002f5bc
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.14006ca60
mov rcx, r14
call fcn.14005f480
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14002f5de
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14002f5ea
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14002f670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003da80
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14002f61d
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14002f626
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x14002f641
test eax, eax
je 0x14002f675
lea rcx, [rsp + 0x450]
call fcn.140071800
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x14002f641
cmp ebp, 0xfffffffc
jne 0x14002f681
call fcn.1400dec40
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14002f641

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1c9
call fcn.140071770
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400717a0
cmp byte [rdi + 0x17], 0
jns 0x14002f714
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140071800
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002f750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [rsi + 0x40], xmm0
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, 0x1f1
call fcn.140071770
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400717a0
cmp byte [rdi + 0x17], 0
jns 0x14002f7d4
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.140071800
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002f820
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14008ea70
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x14002f8c3
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400ab050
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400665e0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002c510
mov rcx, rsi
mov rdx, r14
call fcn.14002b800
mov rcx, r14
call fcn.140066760
mov rcx, rbx
call fcn.140066760
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002f8f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008ea70
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 0x14002f985
cmp word [rsp + 0x70], 0
je 0x14002f985
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400ab050
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400665e0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14008c940
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 [0x14010bbe0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400664b0
mov rcx, rdi
call fcn.14002f820
test al, al
je 0x14002f9c5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400665c0
jmp 0x14002f9e4
lea rax, [0x14010f286]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400665e0
lea rcx, [rsp + 0x40]
call fcn.140066760
jmp 0x14002f967
Function at 0x140030200
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14008ea70
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003e6f0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003e8f0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140030298
mov rax, qword [rsp + 0x38]
jmp 0x14003029b
and eax, 0x7f
test rax, rax
jne 0x1400302dd
lea rcx, [rsp + 0x30]
call fcn.140066760
lea rcx, [rsp + 0x298]
call fcn.14003e840
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14008c940
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.14008ea70
mov rcx, r15
mov rdx, r14
call fcn.14003e8b0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400303fe
mov rcx, r14
call fcn.14003e6c0
test al, al
jne 0x1400303ad
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003033b
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140030433
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140019c10
mov rcx, r15
mov rdx, r14
call fcn.14003e8f0
mov rcx, rdi
mov rdx, r14
call fcn.14002b800
mov rcx, r14
call fcn.140066760
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140030399
mov rax, qword [rsp + 0x38]
jmp 0x14003039c
and eax, 0x7f
mov r12d, ebp
test rax, rax
je 0x1400302a0
jmp 0x1400302f4
xor ebp, ebp
test bl, bl
je 0x14003035c
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140030200
test eax, eax
jne 0x140030450
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400303d8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14003035c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14003035c
test bl, bl
je 0x140030413
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x14003043a
mov rcx, qword [rsp + 0x30]
jmp 0x14003043f
lea rcx, [rsp + 0x48]
call fcn.14003e6c0
test al, al
je 0x14003044a
lea rcx, [rsp + 0x48]
call fcn.14003e6c0
test al, al
je 0x14003032c
xor ebp, ebp
jmp 0x14003035c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003031c
mov edx, dword [rsp + 0x48]
jmp 0x140030402
mov ebp, eax
jmp 0x14003035c
Function at 0x140031910
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140031a07
mov ebx, eax
mov edx, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [r14], xmm0
mov rcx, r14
xor r8d, r8d
call fcn.140022c90
cmp byte [r14 + 0x17], 0
jns 0x14003197d
mov r14, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400319f7
mov edx, eax
movzx eax, byte [rsp + 0x37]
test al, al
jns 0x1400319a2
mov rax, qword [rsp + 0x28]
jmp 0x1400319a5
and eax, 0x7f
cmp rax, rdx
jbe 0x1400319f7
lea rdi, [rsp + 0x20]
mov rcx, rdi
xor r8d, r8d
call fcn.140065aa0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
cmp byte [rsp + 0x37], 0
js 0x140031a17
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400319d6
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400319dd
mov rcx, qword [rsp + 0x20]
call fcn.14008b4e8
jmp 0x1400319dd
Function at 0x140031f80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rcx + 0x17], 0
mov rsi, rcx
jns 0x140031fa8
mov rsi, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140031fdb
test al, 0x10
jne 0x140032073
lea rcx, str._hs___ls_directory_conflicts_with_an_existing_file.___n
lea rdx, [0x14010f614]
mov r8, rsi
call fcn.140032160
xor edi, edi
jmp 0x14003208c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
movzx eax, byte [rdi + 0x17]
mov r9d, eax
and r9d, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
cmovs r9, qword [rdi + 8]
add r9, r9
test r9, r9
je 0x140032027
movzx ecx, word [rax + r9 - 2]
add r9, 0xfffffffffffffffe
cmp ecx, 0x5c
je 0x140032021
cmp ecx, 0x2f
jne 0x140032008
cmp r9, 0xfffffffffffffffe
jne 0x1400320a6
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140032060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
je 0x140032107
lea rcx, str.Failed_to_create_directory__ls__last_error_is__d_n
mov rdx, rsi
mov r8d, ebx
call fcn.140032160
xor edi, edi
cmp byte [rsp + 0x57], 0
jns 0x14003208c
mov rcx, qword [rsp + 0x40]
call fcn.14008b4e8
jmp 0x14003208c
lea rcx, str._hs___ls_directory_exists___n
lea rdx, [0x14010f614]
mov r8, rsi
call fcn.140032160
mov dil, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
sar r9, 1
lea rax, [rdi + 0x18]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x28]
mov rdx, rdi
xor r8d, r8d
call fcn.1400282d0
cmp byte [rsp + 0x57], 0
jns 0x1400320d3
mov rcx, qword [rsp + 0x40]
call fcn.14008b4e8
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rcx], xmm0
call fcn.140031f80
test al, al
jne 0x140032027
lea rcx, str.Failed_to_create_one_of_the_parent_directories
call fcn.140032160
jmp 0x14003205e
lea r14, [rsp + 0x28]
mov rcx, r14
mov rdx, rsi
call fcn.1400beb10
cmp byte [r14 + 0x17], 0
jns 0x140032123
mov r14, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
setne al
and ebp, 0x10
shr ebp, 4
and bpl, al
cmp byte [rsp + 0x3f], 0
jns 0x14003214e
mov rcx, qword [rsp + 0x28]
call fcn.14008b4e8
test bpl, bpl
je 0x14003204c
jmp 0x140032060
Function at 0x140032160
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
lea rdi, [rsp + 0x68]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r9
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
call fcn.140060230
mov rcx, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdi, [0x140139b60]
mov r8d, 0x400
mov rdx, rdi
mov r9, rsi
call fcn.14008fd30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008c940
nop
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140032df0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008ea70
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140032e85
mov eax, eax
inc rax
cmp rax, 1
je 0x140032e85
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140032e51
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140032e72
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a64f4
test eax, eax
je 0x140032f64
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140032ee6
mov eax, eax
inc rax
cmp rax, 1
je 0x140032ee6
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140032eb2
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140032ed3
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a64f4
test eax, eax
je 0x140032f72
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140032f43
mov eax, eax
inc rax
cmp rax, 1
je 0x140032f43
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140032f13
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140032f34
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a64f4
test eax, eax
je 0x140032f80
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140032f8e
mov rax, qword [rsi + 8]
jmp 0x140032f91
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140032faf
mov rax, qword [rsi + 8]
jmp 0x140032fb2
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140032fd3
mov rax, qword [rsi + 8]
jmp 0x140032fd6
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140032f45
mov rcx, rsi
mov rdx, r14
call fcn.1400cf920
cmp word [rax], 0x5c
jne 0x140032e85
jmp 0x140032f45
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140032f45
mov rcx, rsi
mov rdx, r14
call fcn.1400cf920
cmp word [rax], 0x5c
jne 0x140032ee6
jmp 0x140032f45
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140032f45
mov rcx, rsi
mov rdx, r14
call fcn.1400cf920
cmp word [rax], 0x5c
jne 0x140032f43
jmp 0x140032f45
Function at 0x1400336e0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [0x14013a360]
test rdx, rdx
jne 0x1400337f7
mov ecx, 0x18
call fcn.14008b4ac
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x14013a360], rax
mov ecx, 0x18
call fcn.14008b4ac
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x14013a368], rax
call fcn.140030f80
mov rax, qword [rax + 8]
mov r15, qword [rax + 0x10]
lea rdx, str.user_data_dir
lea r12, [rsp + 0x38]
mov rcx, r12
call fcn.1400beb10
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r13, [rsp + 0x20]
mov rcx, r13
mov rdx, rax
call fcn.1400beb10
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.140031490
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, r14
call fcn.140033140
mov ebx, eax
cmp byte [rbp + 0x17], 0
jns 0x1400337c6
mov rcx, qword [rsp + 0x50]
call fcn.14008b4e8
cmp byte [rsp + 0x37], 0
jns 0x1400337d7
mov rcx, qword [rsp + 0x20]
call fcn.14008b4e8
cmp byte [rsp + 0x4f], 0
jns 0x1400337e8
mov rcx, qword [rsp + 0x38]
call fcn.14008b4e8
test bl, bl
je 0x1400338de
mov rdx, qword [0x14013a360]
cmp rdx, rdi
je 0x140033822
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x1400338a0
test r8b, r8b
jns 0x140033880
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140028500
mov dil, 1
test rsi, rsi
je 0x140033858
mov rdx, qword [0x14013a368]
cmp rdx, rsi
je 0x140033858
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x1400338ae
test r8b, r8b
jns 0x140033890
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140028500
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
jmp 0x140033822
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
jmp 0x140033858
test r8b, r8b
jns 0x1400338bc
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
jmp 0x1400338c0
test r8b, r8b
jns 0x1400338cd
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
jmp 0x1400338d1
and r8d, 0x7f
mov rcx, rdi
call fcn.140028410
jmp 0x140033822
and r8d, 0x7f
mov rcx, rsi
call fcn.140028410
jmp 0x140033858
xor edi, edi
jmp 0x140033858
Function at 0x14003d4b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x14003d4ef
test r15, r15
je 0x14003d5dd
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14003d539
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.14008e3c0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14003d4cd
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14003d609
lea rcx, [r12*8]
call fcn.14008b4ac
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14003d5ad
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x14003d5dd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14003d595
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x14003d4cd
mov rcx, r14
call fcn.14008b4e8
mov r15, qword [rsi + 0x10]
jmp 0x14003d4cd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400bf450
call fcn.1400bec20
int3
Function at 0x14003d940
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x50], r12
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, [0x1401114c0]
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x93
call fcn.140071770
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400717a0
test esi, esi
js 0x14003da4f
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14007d4f0
test al, al
jne 0x14003da56
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.14007d580
lea rcx, [rsp + 0x50]
call fcn.140071800
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14008c940
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14003da22
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400e69b0
jmp 0x14003d9e7