joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e840
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 0x14001e886
mov r14, r12
test r14, r14
je 0x14001e988
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14001e8e8
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 r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14001e8d4
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14006cc40
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14001e862
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14001e9ae
lea rcx, [r13*8]
call fcn.140069be0
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14001e94e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14001e988
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14001e936
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14001e96e
add r12, 0xfffffffffffffff8
jne 0x14001e961
jmp 0x14001e99b
test r15, r15
je 0x14001e862
mov rcx, r15
call fcn.140069c1c
mov r14, qword [rsi + 0x10]
jmp 0x14001e862
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14009ca00
call fcn.14009c160
int3

Function at 0x14001e9c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14001ea1c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x14001e9fa
call fcn.1400538b0
mov rcx, qword [rdi]
call fcn.14004d780
mov qword [rdi], 0
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14001ea15
mov qword [rdi], rsi
call fcn.1400538b0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
adc dword [rsp + rcx*8 - 0x5f448059], edi
wait
invalid
imul r14, qword [rdx - 0xfd459f3], 0xffffffffffffffe8
int 0x12
wait
pop rbx
sbb byte [rbp + 7], bh
scasb al, byte [rdi]
push rsi
jno 0x1401d27d0
mov ecx, 0x57d6eca1
xor dword [rcx + 0x35], 0xffffffc7
cmp dword [rbp + 0x47], eax
invalid
Function at 0x140020680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400206dd
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1400e8320]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.14004ae40
lea rdx, [0x140104ae0]
mov rcx, rbx
call fcn.14004ba60
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x140104908]
cmp rcx, rax
je 0x140020729
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140020729
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400e8320]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1400d2b10]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1400e8320]
movzx eax, byte [rbx + 0x17]
mov rdx, rax
test al, al
jns 0x14002076c
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400207dc
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x1400207be
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1400e8320]
cmp eax, 0xffffffff
jne 0x14002079a
xor edi, edi
movzx eax, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, rbx
mov r8, rax
test al, al
jns 0x1400207b3
mov r8, qword [rbp - 0x18]
mov rdx, rcx
add rdx, r8
inc r14
cmp r14, rdx
je 0x1400207dc
test rdi, rdi
je 0x140020798
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140020780
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x14002079a
mov qword [rsi], rdi
test al, al
jns 0x1400206cd
call fcn.140069c1c
jmp 0x1400206cd

Function at 0x140026ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026f48
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140026f32
cmp dword [rsp + 0x38], 4
jne 0x140026f32
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14006b1b0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140026f32
Function at 0x140026f50
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14006b150
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14006d2f0
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 0x140027003
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140027007
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.1400268b0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14006b1b0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140026fe4
cmp eax, 2
jne 0x14002704f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14006d2f0
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 0x140027056
lea rdx, [rsp + 0x40]
jmp 0x140026fda
mov edi, 0x3f4
jmp 0x140026fe4
mov edi, 0xea
jmp 0x140026fe4

Function at 0x140027060
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006b1b0
mov eax, esi
add rsp, 0x40
pop rsi
ret
xor r8d, r8d
test edx, edx
cmovg r8d, edx
lea rdx, str.PWALauncherResult
jmp 0x140027060
Function at 0x140028480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400d2b10]
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.PathExists
lea r8, [0x1400e0bd4]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140053890
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140057f90
cmp byte [rdi + 0x17], 0
jns 0x1400284f2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140058010
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400d2b10]
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, [0x1400e0bd4]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.140053890
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140057f90
cmp byte [rdi + 0x17], 0
jns 0x1400285a2
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.140058010
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006b1b0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400285f0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14006d2f0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002868f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400864b8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140053a40
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002bf20
mov rcx, rsi
mov rdx, r14
call fcn.140053be0
mov rcx, r14
call fcn.140053b70
mov rcx, rbx
call fcn.140053b70
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400286c0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14006d2f0
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 0x140028755
cmp word [rsp + 0x70], 0
je 0x140028755
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400864b8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140053a40
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14006b1b0
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 [0x1400d2b10]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140053a00
mov rcx, rdi
call fcn.1400285f0
test al, al
jne 0x1400287a7
lea rax, [0x1400e0c26]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140053a40
jmp 0x1400287b4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140053a20
lea rcx, [rsp + 0x40]
call fcn.140053b70
jmp 0x140028737
Function at 0x140029630
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 [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x1400297e0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.140083a34
movaps xmm6, xmmword [0x1400d2b10]
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.140053890
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140057f90
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.14007cc68
mov ecx, eax
call fcn.14007ccbc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400297e4
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 [0x1400e8320]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400836bc
test rax, rax
je 0x140029783
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400297ef
add r15, r12
mov rcx, rbx
call fcn.140082f24
test eax, eax
je 0x1400297f3
mov r12, r15
mov rcx, rbx
call fcn.140082f50
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 [0x1400e8320]
lea rcx, [rsp + 0x80]
call fcn.140058010
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14006b1b0
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 0x1400297b5
mov r14d, 0xffff
jmp 0x140029721
xor ebx, ebx
jmp 0x140029793
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 [0x1400e8320]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140029746
Function at 0x14002a740
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14002a810
mov eax, dword [rsi]
mov dword [0x1400f6528], eax
test al, 1
jne 0x14002a761
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401057e8]
test rcx, rcx
jne 0x14002a77b
mov rcx, qword [0x1401057c0]
test rcx, rcx
je 0x14002a79f
jmp 0x14002a7c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401057e8], 0
mov rcx, qword [0x1401057c0]
test rcx, rcx
jne 0x14002a7c1
and byte [0x1400f6528], 0xfe
mov ecx, 0x18
call fcn.140069be0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401057c0], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14002a7f6
call fcn.1400268b0
cmp dword [rsi + 0x14], 0
jne 0x14002a7eb
mov rcx, qword [0x1401057c0]
cmp byte [rcx + 0x17], 0
jns 0x14002a7e5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400b5730
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.14009ca00
int3
Function at 0x14002ca90
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401058b0]
test rdi, rdi
jne 0x14002cb43
mov ecx, 0x50
call fcn.140069be0
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140069be0
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002cb65
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 [0x1401058b0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002cb78
mov rcx, rax
call fcn.1400864b8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002cb90
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14009ca00
int3
Function at 0x14002cb90
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.140027430
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002cd1c
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1400e0fa8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002cd73
lea rdx, [0x1400e0ff8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002cd62
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1400e8320]
mov rbx, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14002ccb2
test r12d, r12d
js 0x14002cd69
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140069be0
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
test r14, r14
je 0x14002cd3c
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.14009d250
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x14002cc8b
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14002c800
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002ccd9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x14002cd1c
mov rdi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x14002cd14
add rdi, 0xffffffffffffffe8
jmp 0x14002cd07
mov rcx, qword [rdi]
call fcn.140069c1c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14002cd14
test rdi, rdi
je 0x14002cd4f
cmp byte [rdi + 0x17], 0
js 0x14002ccf3
jmp 0x14002ccfb
mov rcx, rsi
call fcn.140069c1c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006b1b0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14009ca00
xor ebx, ebx
jmp 0x14002cc3f
lea rcx, [rsp + 0x20]
call fcn.14009c970
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002cc3c
Function at 0x14002f810
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14006d2f0
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 0x14002f89b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002f9fa
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f888
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f993
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 0x14002f8f2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002fa08
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f8df
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f9c3
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 0x14002f945
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002fa16
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f936
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f966
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f975
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
test al, al
jns 0x14002f989
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x14002f945
jmp 0x14002f947
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f9a2
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
mov rcx, rsi
test al, al
jns 0x14002f9b5
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002f89b
jmp 0x14002f947
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f9d2
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
mov rcx, rsi
test al, al
jns 0x14002f9e9
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002f8f2
jmp 0x14002f947
dec r14
jne 0x14002f86f
jmp 0x14002f89b
dec r14
jne 0x14002f8c6
jmp 0x14002f8f2
dec r14
jne 0x14002f91d
jmp 0x14002f945
lea rcx, [0x1400d55e3]
lea rdx, str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.14009ca00
int3