joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007a58
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov sil, dl
mov rbx, rcx
mov rax, rcx
jb 0x140007a7f
mov rax, qword [rcx]
cmp byte [rax], 0x2d
je 0x140007a8b
xor al, al
jmp 0x140007b62
mov ebp, 0x16
cmp qword [rcx + 0x10], rbp
mov edi, ebp
cmovb rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140007aa5
mov rcx, qword [rcx]
cmp rdi, rbp
lea rdx, str._Dsun.plugin2.jvm.args
mov r8, rdi
cmova r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007ae5
cmp rdi, rbp
jne 0x140007ae5
test eax, eax
jne 0x140007ae5
lea rcx, str.Invalid_argument_1_n
call fcn.140001bd4
call fcn.140001ba4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007af2
mov rcx, qword [rbx]
mov dl, sil
call fcn.140008988
test al, al
jne 0x140007b0f
lea rcx, str.Invalid_argument_2_n
call fcn.140001bd4
jmp 0x140007a84
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007b1c
mov rcx, qword [rbx]
call fcn.1400080b0
test al, al
je 0x140007b60
cmp qword [rbx + 0x18], 0x10
jb 0x140007b2f
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.140008040
mov rcx, rax
call fcn.140007644
test al, al
jne 0x140007b60
lea rcx, str.Invalid_argument_3_n
call fcn.140001bd4
call fcn.140001ba4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140007b80
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x5a0
mov rax, qword [0x1400224e8]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov r13d, 0x104
lea rcx, [rbp + 0x50]
mov r8d, r13d
xor edx, edx
xor r15d, r15d
xor sil, sil
call sub.VCRUNTIME140.dll_memset
mov r8d, r13d
lea rcx, [rbp + 0x160]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, r13d
lea rcx, [rbp + 0x270]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
xor r14b, r14b
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007df5
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
invalid
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013200
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014540
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014560
xor al, al
jmp 0x1400145e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014573
xor al, al
jmp 0x1400145e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001459d
xor al, al
jmp 0x1400145e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145b1
xor al, al
jmp 0x1400145e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145c3
xor al, al
jmp 0x1400145e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145df
xor al, al
jmp 0x1400145e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14000a0e0
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14011bb10]
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.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xac
call fcn.14007ef40
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.140061780
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov rcx, qword [rbx]
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rbx]
mov rcx, rsi
call fcn.140061320
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a1ff0
mov rax, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14000d580
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14014c990]
mov ecx, dword [0x140149910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d5e0
lea rsi, [0x14014c988]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a1ff0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14014c990]
call fcn.14009fe10
cmp dword [0x14014c990], 0xffffffff
jne 0x14000d5bc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400a4130
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, 0x80
call fcn.14009fd48
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14014c9d8]
mov ecx, dword [0x140149910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d6a0
lea r8, [0x14014c9a8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140014500
mov qword [0x14014c988], rsi
lea rcx, [0x14014c990]
call fcn.14009ff10
jmp 0x14000d5bc
lea rcx, [0x14014c9d8]
call fcn.14009fe10
cmp dword [0x14014c9d8], 0xffffffff
jne 0x14000d671
xorps xmm0, xmm0
movups xmmword [0x14014c9c8], xmm0
movups xmmword [0x14014c9b8], xmm0
movups xmmword [0x14014c9a8], xmm0
lea rcx, [0x14014c9a8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14014c9d8]
call fcn.14009ff10
jmp 0x14000d671
Function at 0x14000edf0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14000ee35
mov r15, r12
test r15, r15
je 0x14000ee32
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14000ee97
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r15, rbx
sub r15, rax
mov r14, r12
sub r14, rbx
je 0x14000ee83
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1400a3a80
mov r12, qword [rsi + 8]
add r15, r14
mov qword [rsi + 0x10], r15
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14000ee12
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14000ef48
lea rcx, [r13*8]
call fcn.14009fd48
mov rcx, r13
and rcx, 0xfffffffffffffffc
mov rdx, r12
sub rdx, rbx
mov r8, r12
lea rcx, [rax + rcx*2]
mov r15, rcx
sub r8, rbx
je 0x14000ef0b
sar rdx, 3
lea r15, [r8 + rcx]
shl rdx, 3
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14000ef4b
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14000eef3
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14000ef2b
add r12, 0xfffffffffffffff8
jne 0x14000ef1e
jmp 0x14000ef45
test r14, r14
je 0x14000ee12
mov rcx, r14
call fcn.14009fde8
mov r15, qword [rsi + 0x10]
jmp 0x14000ee12
int3
int3
int3
Function at 0x14000f620
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.14009fd48
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x14013d508]
jne 0x14000f68d
mov rcx, r15
call fcn.14005a1e0
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140004fc0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000f785
test r14, r14
je 0x14000f6fa
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f6d4
mov eax, dword [0x14014c9f8]
mov ecx, dword [0x140149910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000f7d4
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400553b0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14000f749
and r8d, 0x7f
jmp 0x14000f753
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14009e770
mov rcx, qword [0x14014c9f0]
mov rdx, r14
call fcn.140001e40
cmp byte [rsp + 0x4f], 0
jns 0x14000f7aa
mov rcx, qword [rsp + 0x38]
call fcn.14009fde8
jmp 0x14000f7aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14000f7a2
mov ebp, eax
cmp eax, 0x5af
je 0x14000f7a2
cmp ebp, 0xe
jne 0x14000f705
mov rcx, rbx
call fcn.1400f24f0
test rsi, rsi
je 0x14000f6d4
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14013d508]
jne 0x14000f7c7
call fcn.14005a320
mov rcx, rsi
call fcn.14009fde8
jmp 0x14000f6d4
lea rcx, [0x14014c9f8]
call fcn.14009fe10
cmp dword [0x14014c9f8], 0xffffffff
jne 0x14000f72a
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140002d90
mov qword [0x14014c9f0], rax
lea rcx, [0x14014c9f8]
call fcn.14009ff10
jmp 0x14000f72a
Function at 0x140014cd0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400a1f90
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400a4130
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014d83
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140014d87
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140014de0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140014d64
cmp eax, 2
jne 0x140014dcf
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a4130
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140014dd6
lea rdx, [rsp + 0x40]
jmp 0x140014d5a
mov edi, 0x3f4
jmp 0x140014d64
mov edi, 0xea
jmp 0x140014d64

Function at 0x14001ade0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14001aece
cmp qword [rsi], 0
jne 0x14001aece
cmp dword [rsi + 0x14], 0
jne 0x14001aece
cmp qword [rsi + 8], 0
jne 0x14001aece
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14001ae50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001aea0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001ae48
mov qword [rsi], r14
call fcn.140069530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14001ae8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14001aeb6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001ae82
mov qword [rsi + 8], r14
call fcn.140069530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140069530
mov rcx, qword [rsi]
call fcn.140094d10
mov qword [rsi], 0
jmp 0x14001ae36
call fcn.140069530
mov rcx, qword [rsi + 8]
call fcn.140094d10
mov qword [rsi + 8], 0
jmp 0x14001ae6f
mov rcx, rsi
call fcn.140101c50
mov rax, qword [rsi]
jmp 0x14001ae1a
Function at 0x14001c590
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14001c669
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x14001c66d
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x14001c638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c653
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001c630
mov qword [rsi], r14
call fcn.140069530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140069530
mov rcx, qword [rsi]
call fcn.140094d10
mov qword [rsi], 0
jmp 0x14001c61e
mov bl, 1
jmp 0x14001c638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001c630
Function at 0x14001e330
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, rdi
call fcn.14007f6d0
cmp byte [rdi + 0x17], 0
jns 0x14001e37b
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x14001e39c
mov rcx, qword [rsp + 0x40]
call fcn.14009fde8
test rsi, rsi
je 0x14001e44d
test edi, edi
je 0x14001e44d
mov ecx, edi
add rcx, rcx
call fcn.14009ff70
mov rbx, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov r8, r14
call fcn.14007f6d0
cmp byte [r14 + 0x17], 0
jns 0x14001e3e9
mov r14, qword [rsp + 0x40]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x57], 0
jns 0x14001e409
mov rcx, qword [rsp + 0x40]
call fcn.14009fde8
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14001e475
mov rcx, rbx
call fcn.1400a0510
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x40]
call fcn.1400863f0
cmp byte [rsi + 0x17], 0
js 0x14001e46b
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14009ff78
test edi, edi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14009fde8
jmp 0x14001e434
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.1400d6560
int3
Function at 0x140020ca0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140020cc6
call fcn.140069530
cmp qword [rsi], rbx
je 0x140020cf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140020d02
cmp r14, 2
jb 0x140020ced
mov qword [rsi], rbx
call fcn.140069530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140069530
mov rcx, qword [rsi]
call fcn.140094d10
mov qword [rsi], 0
jmp 0x140020cdf

Function at 0x140021bf0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x140021d78
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x140021c77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140021d55
mov rax, r14
inc rax
cmp rax, 2
jb 0x140021c6b
mov qword [rsi], r14
call fcn.140069530
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x140021d7f
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.1400a4130
test ebp, ebp
jne 0x140021d40
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov eax, r15d
mov dword [rsp + 0x2c], ecx
mov r15d, ecx
test rbx, rbx
je 0x140021cd1
or eax, 0x100
mov qword [rsp + 0xa0], rbx
or eax, 0x2000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x140021d6e
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x140021d6e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x140021da6
mov ecx, 0xd8
mov r15d, 8
jmp 0x140021cad
call fcn.140069530
mov rcx, qword [rsi]
call fcn.140094d10
mov qword [rsi], 0
jmp 0x140021c57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140021d1e
mov esi, 0x4df
jmp 0x140021d1e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a1ff0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xc8
cmp ebp, 2
je 0x140021cb5
mov eax, 0
cmp ebp, 3
je 0x140021cbf
jmp 0x140021cda
Function at 0x140024560
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x14013b028]
xor rdx, rsp
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x38]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140024632
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140024632
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14002462e
call fcn.140069530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140024611
cmp rbx, 0xffffffffffffffff
je 0x140024639
call fcn.140069530
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.140069530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a1ff0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x1400245d7
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140024611
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140024609
Function at 0x14002a0d0
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov al, byte [rcx + 8]
cmp al, byte [rdx + 8]
je 0x14002a0fb
test al, al
jne 0x14002a10f
test rsi, rsi
je 0x14002a10c
mov rcx, rsi
call fcn.140020ca0
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x14002a0f5
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14002a120
int3
mov rcx, rsi
call fcn.140024010
mov byte [rsi + 8], 0
jmp 0x14002a0f5

Function at 0x14002a120
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14002a145
call fcn.140069530
cmp qword [rsi], rbx
je 0x14002a174
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002a181
cmp r14, 2
jb 0x14002a16c
mov qword [rsi], rbx
call fcn.140069530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140069530
mov rcx, qword [rsi]
call fcn.140094d10
mov qword [rsi], 0
jmp 0x14002a15e
Function at 0x14002ee10
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a4130
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002eecd
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400a0510
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140094bd0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14002ef00
cmp byte [rsi + 0x17], 0
jns 0x14002ee9f
mov rcx, qword [rsi]
call fcn.14009fde8
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14002eecd
mov rcx, qword [rsp + 0x30]
call fcn.14009fde8
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a1ff0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002f300
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14013b028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a4130
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 0x14002f395
cmp word [rsp + 0x70], 0
je 0x14002f395
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a0510
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140094bd0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400a1ff0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.14002ee10
test al, al
jne 0x14002f3e3
lea rax, [0x14012867a]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140094bd0
cmp byte [rsp + 0x57], 0
jns 0x14002f377
mov rcx, qword [rsp + 0x40]
call fcn.14009fde8
jmp 0x14002f377
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x14002f377