joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d110
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401420a8]
mov ecx, dword [0x14013bda0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002d170
lea rsi, [0x1401420a0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140090cc0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401420a8]
call fcn.14008f820
cmp dword [0x1401420a8], 0xffffffff
jne 0x14002d14c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140092e10
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.14008f6c4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401420f0]
mov ecx, dword [0x14013bda0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002d230
lea r8, [0x1401420c0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002d330
mov qword [0x1401420a0], rsi
lea rcx, [0x1401420a8]
call fcn.14008f8b8
jmp 0x14002d14c
lea rcx, [0x1401420f0]
call fcn.14008f820
cmp dword [0x1401420f0], 0xffffffff
jne 0x14002d201
xorps xmm0, xmm0
movups xmmword [0x1401420e0], xmm0
movups xmmword [0x1401420d0], xmm0
movups xmmword [0x1401420c0], xmm0
lea rcx, [0x1401420c0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401420f0]
call fcn.14008f8b8
jmp 0x14002d201

Function at 0x14002d280
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401420f0]
mov ecx, dword [0x14013bda0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002d2bb
movzx eax, word [0x1401420c0]
cmp eax, 9
jne 0x14002d303
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401420f0]
call fcn.14008f820
cmp dword [0x1401420f0], 0xffffffff
jne 0x14002d2a5
xorps xmm0, xmm0
movups xmmword [0x1401420e0], xmm0
movups xmmword [0x1401420d0], xmm0
movups xmmword [0x1401420c0], xmm0
lea rcx, [0x1401420c0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401420f0]
call fcn.14008f8b8
jmp 0x14002d2a5
test eax, eax
je 0x14002d2b6
cmp eax, 6
jne 0x14002d313
mov eax, 2
jmp 0x14002d2b6
cmp eax, 0xc
jne 0x14002d31f
mov eax, 3
jmp 0x14002d2b6
mov eax, 4
jmp 0x14002d2b6
Function at 0x14002dc70
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14012d038]
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 0x14002dcf8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14002dce2
cmp dword [rsp + 0x38], 4
jne 0x14002dce2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140090cc0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14002dce2

Function at 0x14002dd00
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140090c60
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140092e10
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 0x14002ddb3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002ddb7
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.14002ca80
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140090cc0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002dd94
cmp eax, 2
jne 0x14002ddff
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140092e10
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 0x14002de06
lea rdx, [rsp + 0x40]
jmp 0x14002dd8a
mov edi, 0x3f4
jmp 0x14002dd94
mov edi, 0xea
jmp 0x14002dd94

Function at 0x14002e010
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14002e057
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002e071
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002e04f
mov qword [rsi], rdi
call fcn.14006dbd0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x14002e087
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14006dbd0
mov rcx, qword [rsi]
call fcn.140062e70
mov qword [rsi], 0
jmp 0x14002e03d
int3
Function at 0x14002e360
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14002e3c1
test r12, r12
je 0x14002e4d8
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140090cc0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14002e426
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 0x14002e40f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140092760
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14002e38e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x14002e504
lea rcx, [r15*8]
call fcn.14008f6c4
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x14002e4a3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14002e4d8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14002e48b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.14005a3d0
mov r12, qword [rsi + 0x10]
jmp 0x14002e38e
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.1400c4790
call fcn.1400c3d40
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14010c370]
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, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.14006dbb0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400662f0
cmp byte [rdi + 0x17], 0
jns 0x14002e7d2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140066370
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140090cc0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002e810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14010c370]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.14006dbb0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400662f0
cmp byte [rdi + 0x17], 0
jns 0x14002e882
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.140066370
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140090cc0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e8d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140092e10
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002e96f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400ad388
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14006de00
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140034f50
mov rcx, rsi
mov rdx, r14
call fcn.140034020
mov rcx, r14
call fcn.14006df50
mov rcx, rbx
call fcn.14006df50
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140090cc0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002e9a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140092e10
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 0x14002ea35
cmp word [rsp + 0x70], 0
je 0x14002ea35
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400ad388
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14006de00
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140090cc0
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 [0x14010c370]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14006dd80
mov rcx, rdi
call fcn.14002e8d0
test al, al
jne 0x14002ea87
lea rax, [0x1401129c6]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14006de00
jmp 0x14002ea94
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006dde0
lea rcx, [rsp + 0x40]
call fcn.14006df50
jmp 0x14002ea17
Function at 0x14002fe30
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 [0x14012d038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002ffe0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400aa674
movaps xmm6, xmmword [0x14010c370]
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.14006dbb0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400662f0
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.1400a28dc
mov ecx, eax
call fcn.1400a307c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002ffe4
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 [0x14015a008]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400aa2fc
test rax, rax
je 0x14002ff83
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002ffef
add r15, r12
mov rcx, rbx
call fcn.1400a9b64
test eax, eax
je 0x14002fff3
mov r12, r15
mov rcx, rbx
call fcn.1400a9b90
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 [0x14015a008]
lea rcx, [rsp + 0x80]
call fcn.140066370
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140090cc0
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 0x14002ffb5
mov r14d, 0xffff
jmp 0x14002ff21
xor ebx, ebx
jmp 0x14002ff93
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 [0x14015a008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002ff46
Function at 0x140035580
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
js 0x1400355b2
and eax, 0x7f
jmp 0x1400355b9
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14003567a
test r8, r8
jne 0x1400355da
test rax, rax
jne 0x1400356a6
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140068da0
cmp byte [rsi + 0x17], 0
jns 0x1400355fd
mov rsi, qword [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140068da0
cmp byte [rdi + 0x17], 0
jns 0x140035622
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x6f], 0
jns 0x140035641
mov rcx, qword [rsp + 0x58]
call fcn.14008f700
cmp byte [rsp + 0x97], 0
jns 0x140035658
mov rcx, qword [rsp + 0x80]
call fcn.14008f700
test esi, esi
setne bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140090cc0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
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.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1400c4790
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
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.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1400c4790
int3
Function at 0x140035760
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 [0x14012d038]
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.140068da0
cmp byte [rdi + 0x17], 0
jns 0x1400357a7
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 0x1400357c8
mov rcx, qword [rsp + 0x68]
call fcn.14008f700
test rsi, rsi
je 0x14003586f
test edi, edi
je 0x14003586f
mov ecx, edi
add rcx, rcx
call fcn.14008f73c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.140068da0
cmp byte [r14 + 0x17], 0
jns 0x14003580b
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 0x14003582b
mov rcx, qword [rsp + 0x68]
call fcn.14008f700
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14003589d
mov rcx, rbx
call fcn.1400ad388
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.140068dd0
cmp byte [rsi + 0x17], 0
js 0x140035893
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14008f744
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140090cc0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14008f700
jmp 0x140035856
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.1400c4790
int3
Function at 0x140035e50
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14012d038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401421b0]
test rdi, rdi
jne 0x140035f03
mov ecx, 0x50
call fcn.14008f6c4
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14008f6c4
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140035f25
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 [0x1401421b0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140035f51
mov rcx, rax
call fcn.1400ad388
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140035f80
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140090cc0
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.1400c4790
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.1400c4790
int3
Function at 0x140035f80
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 [0x14012d038]
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.14002dfa0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140036110
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140112f58]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400361a9
lea rdx, [0x140112fa8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003618d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14015a008]
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 0x14003619f
test r12d, r12d
js 0x140036195
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14008f6c4
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 0x140036135
mov rdx, qword [r14 + r15]
call fcn.1400c5460
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x140036082
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140035b80
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400360d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140036110
cmp r15, rbx
je 0x140036108
add r15, 0xffffffffffffffe8
jmp 0x1400360fa
mov rcx, qword [r15]
call fcn.14008f700
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140036108
test r15, r15
je 0x140036161
cmp byte [r15 + 0x17], 0
jns 0x1400360ee
jmp 0x1400360e6
mov rcx, rbx
call fcn.14008f700
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140090cc0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
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.1400c4790
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.1400c4790
xor r14d, r14d
jmp 0x140036034
lea rcx, [rsp + 0x30]
call fcn.1400c4700
xor r15d, r15d
xor ebx, ebx
jmp 0x1400360af
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140036031