joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b0120
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rdi, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f2168]
lea r9, [0x14031d720]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400b02d5
mov qword [rsp + 0x60], 0
movzx eax, byte [r14 + 0x17]
test al, al
js 0x1400b0192
and eax, 0x7f
jmp 0x1400b0199
mov rax, qword [r14 + 8]
mov r14, qword [r14]
mov r15, qword [rsp + 0x68]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rax
test rax, rax
js 0x1400b030b
test r14, r14
jne 0x1400b01bf
test rax, rax
jne 0x1400b0337
lea r14, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400dad60
mov rdx, qword [r14]
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, r15
xor r8d, r8d
xor r9d, r9d
call qword [0x1403b5008]
mov ebp, eax
mov rcx, r14
call fcn.1400dadb0
test ebp, ebp
js 0x1400b02c3
test bl, bl
je 0x1400b025b
mov rcx, qword [rsp + 0x60]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400b02cb
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x1400b02e1
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1400b02f0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b02a6
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403b5008]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [rsi], 1
jmp 0x1400b02d1
mov dword [rsi], 2
mov al, 1
jmp 0x1400b0279
mov dword [rsi], 0
mov byte [rsi + 4], 1
jmp 0x1400b0286
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403b5008]
jmp 0x1400b0274
mov qword [rsp + 0x60], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403b5008]
jmp 0x1400b0286
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.1401df1c0
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.1401df1c0
int3
Function at 0x1400b6cb0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r15d, r15d
test r13, r13
je 0x1400b6d20
mov ecx, dword [r13 + 0x2c]
call fcn.140159820
test rax, rax
je 0x1400b6e04
mov r12, rax
xor ecx, ecx
call fcn.1401598f0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r15, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x14026d5b0]
cmp rax, rcx
jne 0x1400b6dee
xorps xmm0, xmm0
movups xmmword [r15 + 0x5c], xmm0
movups xmmword [r15 + 0x50], xmm0
movups xmmword [r15 + 0x40], xmm0
movups xmmword [r15 + 0x30], xmm0
movups xmmword [r15 + 0x20], xmm0
movaps xmm0, xmmword [0x140320be0]
movups xmmword [r15], xmm0
movaps xmm0, xmmword [0x140320bf0]
movups xmmword [r15 + 0x10], xmm0
mov dword [r15 + 0x6c], 0x20
mov rax, qword [r13 + 0x18]
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call qword [0x1403b5008]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, rdi
call qword [0x1403b5008]
mov rax, qword [r15]
test rsi, rsi
je 0x1400b6da7
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.140159930
mov r15d, 1
mov rcx, qword [rsp + 0x28]
call fcn.1401598f0
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400b6e08
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140198b70
mov eax, r15d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x20]
mov rcx, r15
call qword [0x1403b5008]
mov r13, qword [r15]
jmp 0x1400b6d6f
xor ecx, ecx
jmp 0x1400b6dbf
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x1403b5008]
jmp 0x1400b6dce

Function at 0x1400b6e70
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x1400b6ea2
mov ecx, dword [rdi + 0x2c]
call fcn.140159820
test rax, rax
je 0x1400b6f01
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.1401598f0
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x14026d5b0]
cmp rax, rcx
jne 0x1400b6ef6
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140320be0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140320bf0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x1403b5008]
jmp 0x1400b6ee9
xor eax, eax
jmp 0x1400b6eee
Function at 0x1400b6fa0
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x1400b6fd7
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.1400dc790
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400b70ea
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1403973b8]
lea rdx, [0x1400b9ff0]
call fcn.140168a20
lea rax, [0x1403973c0]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x1400b70ee
call fcn.1400dca90
test eax, eax
je 0x1400b70ea
test rbx, rbx
je 0x1400b702f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.1400d3fd0
test eax, eax
je 0x1400b70ea
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x1400b70f8
add rax, 0x38
cmp qword [rax], 0
je 0x1400b70c1
test rbx, rbx
je 0x1400b7101
cmp qword [rdi], rbx
je 0x1400b707a
mov ecx, dword [rbx + 0x2c]
call fcn.140159820
test rax, rax
je 0x1400b70ea
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.1401598f0
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x14026d5b0]
cmp rax, rcx
jne 0x1400b70df
mov rax, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140320be0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140320bf0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x1400b70d2
mov rax, qword [rdi + 0x10]
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call qword [0x1403b5008]
jmp 0x1400b70c1
xor ebx, ebx
jmp 0x1400b70d2
call fcn.140293bf0
jmp 0x1400b700e
add rax, 0x28
jmp 0x1400b7042
mov dword [rsp + 0x20], 0x6d
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestsigndigestsign.c
xor ebx, ebx
mov ecx, 6
xor edx, edx
mov r8d, 0x77
call fcn.140293a80
jmp 0x1400b70d2
Function at 0x1400b88b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400b8a01
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x140307280]
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 [0x1403b5008]
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 [0x1403b5008]
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 [0x1403b5008]
test r14, r14
je 0x1400b8993
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400b8983
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.140152ab0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400b8a05
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400b89d2
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.140198b70
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400b89e4
bt eax, 9
jae 0x1400b8a25
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400b89d2
lea rcx, [0x140004520]
jmp 0x1400b89cf
call fcn.140258c80
lea rax, [0x140259480]
test r14, r14
je 0x1400b89d2
lea rcx, [0x140258b60]
jmp 0x1400b89cf
Function at 0x1400b8a50
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x28], r9
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov esi, 1
test rdx, rdx
je 0x1400b8c1b
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x150]
mov r13d, dword [rsi + 4]
xor r14d, r14d
movaps xmm7, xmmword [0x140320be0]
movaps xmm8, xmmword [0x140320bf0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x1400b8b12
mov ecx, dword [rsi + 0x2c]
call fcn.140159820
test rax, rax
je 0x1400b8c7e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.1401598f0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x14026d5b0]
cmp rax, rcx
jne 0x1400b8c6e
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x5c], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax], xmm7
movups xmmword [rax + 0x10], xmm8
mov dword [rax + 0x6c], 0x20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, r15
mov r8, qword [rsp + 0x28]
call qword [0x1403b5008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1403b5008]
cmp rdi, r13
jb 0x1400b8bc2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1403b5008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140159930
add rbx, r13
inc r14d
sub rdi, r13
jne 0x1400b8ada
jmp 0x1400b8c16
movaps xmm0, xmmword [0x140307280]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, r14
call qword [0x1403b5008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140159930
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.14019a610
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.1401598f0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400b8c82
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
call qword [0x1403b5008]
jmp 0x1400b8b4e
xor esi, esi
jmp 0x1400b8c1b
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1403b5008]
jmp 0x1400b8c2f
Function at 0x1400ba4e0
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 0x1400ba5d5
cmp qword [rsi], 0
jne 0x1400ba5d5
cmp dword [rsi + 0x14], 0
jne 0x1400ba5d5
cmp qword [rsi + 8], 0
jne 0x1400ba5d5
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400ba554
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ba5bc
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400ba54c
mov qword [rsi], r14
call fcn.140147ce0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400ba58e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400ba5a4
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400ba586
mov qword [rsi + 8], r14
call fcn.140147ce0
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.140147ce0
mov rcx, qword [rsi + 8]
call fcn.1401331f0
mov qword [rsi + 8], 0
jmp 0x1400ba573
call fcn.140147ce0
mov rcx, qword [rsi]
call fcn.1401331f0
mov qword [rsi], 0
jmp 0x1400ba53a
mov rcx, rsi
call fcn.140272ca0
mov rax, qword [rsi]
jmp 0x1400ba51a
Function at 0x1400c6d90
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x140307280]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400c6f0c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1403984d0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1401bb65c
mov rcx, rbx
call fcn.1401ba964
sub r14, rax
lea rdx, [0x140308520]
mov rcx, rbx
mov r8, r14
call fcn.1401bb65c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.14019acc0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400c6e6c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401bb6a4
test eax, eax
je 0x1400c6f30
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400c6ea7
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401bb6a4
test eax, eax
je 0x1400c6f30
xor eax, eax
mov byte [0x1403980c1], al
mov dword [rsp + 0x30], 0
lea rcx, [0x14030e04c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140325230]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c6f37
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1403b5008]
test eax, eax
je 0x1400c6f37
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1403986d0], al
mov byte [0x1403980c0], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x1400c6ea9
xor eax, eax
jmp 0x1400c6eff
Function at 0x1400c72b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400c72e3
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400c73dc
bt ebx, 8
jae 0x1400c72ff
mov eax, ebx
and eax, 0x200
jne 0x1400c73dc
cmp edi, 2
lea rax, [0x1403980d0]
lea rcx, [0x1403982d0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400c73dc
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x1400c73dc
cmp byte [0x1403986d0], 0
setne al
bt ebx, 8
jb 0x1400c73dc
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400c73dc
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x1400c73fb
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x1400c73c9
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1401b58d0
test eax, eax
je 0x1400c7426
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400c73a9
cmp dword [rsp + 0x2c], 0
jne 0x1400c7400
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140198b70
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x1400c738c
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400c740c
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.140206300
jmp 0x1400c73dc
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400c7434
test ecx, ecx
jne 0x1400c73c9
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400c7463
cmp dword [rsp + 0x2c], 2
jne 0x1400c7474
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400c7474
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400c748d
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400c747a
jmp 0x1400c7490
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400c73d0
Function at 0x1400c7fd0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rax, qword [0x14037a038]
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 0x1400c8002
and eax, 0x7f
jmp 0x1400c8009
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], rax
test rax, rax
js 0x1400c80ca
test r8, r8
jne 0x1400c802a
test rax, rax
jne 0x1400c80f6
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14013e310
cmp byte [rsi + 0x17], 0
jns 0x1400c804d
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.14013e310
cmp byte [rdi + 0x17], 0
jns 0x1400c8072
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 0x1400c8091
mov rcx, qword [rsp + 0x58]
call fcn.1401973c4
cmp byte [rsp + 0x97], 0
jns 0x1400c80a8
mov rcx, qword [rsp + 0x80]
call fcn.1401973c4
test esi, esi
setne bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140198b70
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.1401df1c0
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.1401df1c0
int3
Function at 0x1400c81b0
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 [0x14037a038]
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.14013e310
cmp byte [rdi + 0x17], 0
jns 0x1400c81f7
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 0x1400c8218
mov rcx, qword [rsp + 0x68]
call fcn.1401973c4
test rsi, rsi
je 0x1400c82bf
test edi, edi
je 0x1400c82bf
mov ecx, edi
add rcx, rcx
call fcn.1401973fc
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.14013e310
cmp byte [r14 + 0x17], 0
jns 0x1400c825b
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 0x1400c827b
mov rcx, qword [rsp + 0x68]
call fcn.1401973c4
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400c82ed
mov rcx, rbx
call fcn.1401ba964
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.14013e770
cmp byte [rsi + 0x17], 0
js 0x1400c82e3
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140197404
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.1401973c4
jmp 0x1400c82a6
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.1401df1c0
int3