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

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140385a70]
mov ecx, dword [0x14037df2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aeb90
lea rsi, [0x140385a68]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140385a70]
call fcn.14018e120
cmp dword [0x140385a70], 0xffffffff
jne 0x1400aeb6c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140191990
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.14018dfc4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140385ab8]
mov ecx, dword [0x14037df2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aec50
lea r8, [0x140385a88]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400aed50
mov qword [0x140385a68], rsi
lea rcx, [0x140385a70]
call fcn.14018e1b8
jmp 0x1400aeb6c
lea rcx, [0x140385ab8]
call fcn.14018e120
cmp dword [0x140385ab8], 0xffffffff
jne 0x1400aec21
xorps xmm0, xmm0
movups xmmword [0x140385aa8], xmm0
movups xmmword [0x140385a98], xmm0
movups xmmword [0x140385a88], xmm0
lea rcx, [0x140385a88]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140385ab8]
call fcn.14018e1b8
jmp 0x1400aec21

Function at 0x1400aeca0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140385ab8]
mov ecx, dword [0x14037df2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aecdb
movzx eax, word [0x140385a88]
cmp eax, 9
jne 0x1400aed23
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140385ab8]
call fcn.14018e120
cmp dword [0x140385ab8], 0xffffffff
jne 0x1400aecc5
xorps xmm0, xmm0
movups xmmword [0x140385aa8], xmm0
movups xmmword [0x140385a98], xmm0
movups xmmword [0x140385a88], xmm0
lea rcx, [0x140385a88]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140385ab8]
call fcn.14018e1b8
jmp 0x1400aecc5
test eax, eax
je 0x1400aecd6
cmp eax, 6
jne 0x1400aed33
mov eax, 2
jmp 0x1400aecd6
cmp eax, 0xc
jne 0x1400aed3f
mov eax, 3
jmp 0x1400aecd6
mov eax, 4
jmp 0x1400aecd6
Function at 0x1400af750
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r13
push r12
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402e2168]
lea r9, [0x1403116d0]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400af8f1
xor r12d, r12d
lea r13, [rsp + 0x60]
mov qword [r13], r12
mov r15, qword [rsp + 0x68]
movzx eax, byte [r14 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r14]
cmovns rax, r14
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
cmovs rcx, qword [r14 + 8]
mov qword [rdx + 8], rcx
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.1400da180
mov rdx, qword [r14]
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x28], 0
mov rcx, r15
xor r8d, r8d
xor r9d, r9d
call qword [0x1403a9008]
mov ebp, eax
mov rcx, r14
call fcn.1400da1d0
test ebp, ebp
js 0x1400af8d9
test bl, bl
je 0x1400af872
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 0x1400af8e5
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x1400af8fd
mov byte [rsi], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1400af90f
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400af8b8
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403a9008]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsi], 1
mov dword [rsi + 4], 1
jmp 0x1400af88e
mov byte [rsi], 1
mov dword [rsi + 4], 2
jmp 0x1400af88e
mov byte [rsi], 1
mov dword [rsi + 4], 0
jmp 0x1400af898
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403a9008]
jmp 0x1400af88b
mov qword [rsp + 0x60], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403a9008]
jmp 0x1400af898
Function at 0x1400b1620
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov ebx, r9d
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
jne 0x1400b16fa
or ebx, 8
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400b17b5
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400b16f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400b17aa
call fcn.14013d7b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400b16b2
test rbx, rbx
je 0x1400b16d5
call fcn.14013d7b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400b16cd
mov qword [rsi + 8], rbx
call fcn.14013d7b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400b1697
xor edi, edi
jmp 0x1400b173e
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400b17b5
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400b16f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x1400b17b1
call fcn.14013d7b0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x38]
mov qword [r14], rax
or ebx, 8
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 2
xor r15d, r15d
mov rcx, rdi
mov edx, ebx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov rbx, qword [r14]
cmovne r15, rbx
mov qword [rsp + 0x30], r15
test r15, r15
je 0x1400b17bd
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400b1678
call fcn.14013d7b0
mov rcx, rdi
call fcn.14012a160
jmp 0x1400b166e
xor ebx, ebx
jmp 0x1400b168f
xor edi, edi
jmp 0x1400b1736
mov byte [rsi], 0
jmp 0x1400b16d5
mov byte [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400b16d5
call fcn.14013d7b0
mov rcx, rdi
call fcn.14012a160
jmp 0x1400b16d5
Function at 0x1400b6760
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 r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x1400b67d0
mov ecx, dword [r13 + 0x2c]
call fcn.140153df0
test rax, rax
je 0x1400b68b1
mov r12, rax
xor ecx, ecx
call fcn.140153e50
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x1400baac0]
cmp rax, rcx
jne 0x1400b68a1
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x1403149b0]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x1403149c0]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x1403a9008]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x1403a9008]
mov rax, qword [r14]
test rsi, rsi
je 0x1400b685a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.140153e90
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140153e50
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400b68b5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14018f840
mov eax, r14d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call qword [0x1403a9008]
jmp 0x1400b681f
xor ecx, ecx
jmp 0x1400b6872
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x1403a9008]
jmp 0x1400b6881

Function at 0x1400b6a70
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 0x1400b6aa2
mov ecx, dword [rdi + 0x2c]
call fcn.140153df0
test rax, rax
je 0x1400b6b01
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140153e50
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x1400baac0]
cmp rax, rcx
jne 0x1400b6af6
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 [0x1403149b0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1403149c0]
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 [0x1403a9008]
jmp 0x1400b6ae9
xor eax, eax
jmp 0x1400b6aee
Function at 0x1400b6ba0
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 0x1400b6bd7
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.1400ddc60
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400b6cea
mov ebp, dword [rsp + 0x88]
lea rcx, [0x140385d18]
lea rdx, [0x1400bab00]
call fcn.140162da0
lea rax, [0x140385d20]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x1400b6cee
call fcn.1400ddf80
test eax, eax
je 0x1400b6cea
test rbx, rbx
je 0x1400b6c2f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.1400d38b0
test eax, eax
je 0x1400b6cea
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x1400b6cf8
add rax, 0x38
cmp qword [rax], 0
je 0x1400b6cc1
test rbx, rbx
je 0x1400b6d01
cmp qword [rdi], rbx
je 0x1400b6c7a
mov ecx, dword [rbx + 0x2c]
call fcn.140153df0
test rax, rax
je 0x1400b6cea
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140153e50
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400baac0]
cmp rax, rcx
jne 0x1400b6cdf
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 [0x1403149b0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1403149c0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x1400b6cd2
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 [0x1403a9008]
jmp 0x1400b6cc1
xor ebx, ebx
jmp 0x1400b6cd2
call fcn.1402847e0
jmp 0x1400b6c0e
add rax, 0x28
jmp 0x1400b6c42
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.140284670
jmp 0x1400b6cd2
Function at 0x1400b93e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400b952d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1402fa4a0]
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 [0x1403a9008]
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 [0x1403a9008]
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 [0x1403a9008]
test r14, r14
je 0x1400b94c3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400b94b3
lea r14, [rsi + 0xf8]
mov eax, dword [0x140385c74]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400b9531
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400b94fe
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.14018f840
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400b9510
bt eax, 9
jae 0x1400b9551
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400b94fe
lea rcx, [0x140004520]
jmp 0x1400b94fb
call fcn.140246050
lea rax, [0x140246850]
test r14, r14
je 0x1400b94fe
lea rcx, [0x140245f10]
jmp 0x1400b94fb
Function at 0x1400b9580
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 [0x14036c038]
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 0x1400b974b
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 [0x1403149b0]
movaps xmm8, xmmword [0x1403149c0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x1400b9642
mov ecx, dword [rsi + 0x2c]
call fcn.140153df0
test rax, rax
je 0x1400b97ae
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140153e50
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x1400baac0]
cmp rax, rcx
jne 0x1400b979e
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 [0x1403a9008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1403a9008]
cmp rdi, r13
jb 0x1400b96f2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1403a9008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140153e90
add rbx, r13
inc r14d
sub rdi, r13
jne 0x1400b960a
jmp 0x1400b9746
movaps xmm0, xmmword [0x1402fa4a0]
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 [0x1403a9008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140153e90
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1401912e0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140153e50
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400b97b2
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14018f840
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 [0x1403a9008]
jmp 0x1400b967e
xor esi, esi
jmp 0x1400b974b
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1403a9008]
jmp 0x1400b975f
Function at 0x1400c7ba0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x1402fa4a0]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400c7d1c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x140389960]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1401b4744
mov rcx, rbx
call fcn.1401b3d34
sub r14, rax
lea rdx, [0x1402fb790]
mov rcx, rbx
mov r8, r14
call fcn.1401b4744
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.140191990
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 0x1400c7c7c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401b478c
test eax, eax
je 0x1400c7d44
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 0x1400c7cb7
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401b478c
test eax, eax
je 0x1400c7d44
xor eax, eax
mov byte [0x140389559], al
mov dword [rsp + 0x30], 0
lea rcx, [0x140300efc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140318e20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c7d40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1403a9008]
test eax, eax
je 0x1400c7d40
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x140389b60], al
mov byte [0x140389558], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x1400c7d0f
mov al, 1
jmp 0x1400c7cb9
Function at 0x1400c7ff0
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400c8023
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400c8117
bt ebx, 8
jae 0x1400c803f
mov eax, ebx
and eax, 0x200
jne 0x1400c8117
cmp edi, 2
lea rax, [0x140389560]
lea rcx, [0x140389760]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400c8117
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 0x1400c8117
cmp byte [0x140389b60], 0
setne al
bt ebx, 8
jb 0x1400c8117
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400c8117
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x1400c8136
mov r14, qword [rsi]
mov rbp, 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 r13, rbp
sub r13, r15
jb 0x1400c8104
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1401ac6e0
test eax, eax
je 0x1400c8161
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400c80e4
cmp dword [rsp + 0x2c], 0
jne 0x1400c813b
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14018f840
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 0x1400c80c7
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400c8147
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.1401f2a20
jmp 0x1400c8117
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400c816f
test ecx, ecx
jne 0x1400c8104
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400c819e
cmp dword [rsp + 0x2c], 2
jne 0x1400c81af
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400c81af
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400c81c8
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400c81b5
jmp 0x1400c81cb
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x1400c810b
Function at 0x1400c8bf0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r8]
cmovns rax, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
cmovs rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140133c30
cmp byte [rsi + 0x17], 0
jns 0x1400c8c50
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140133c30
cmp byte [rdi + 0x17], 0
jns 0x1400c8c75
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1400c8c94
mov rcx, qword [rsp + 0x48]
call fcn.14018e000
cmp byte [rsp + 0x87], 0
jns 0x1400c8ca8
mov rcx, qword [rsp + 0x70]
call fcn.14018e000
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400c8d50
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140133c30
cmp byte [rdi + 0x17], 0
jns 0x1400c8d91
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x1400c8db2
mov rcx, qword [rsp + 0x58]
call fcn.14018e000
test rsi, rsi
je 0x1400c8e59
test edi, edi
je 0x1400c8e59
mov ecx, edi
add rcx, rcx
call fcn.14018e03c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140133c30
cmp byte [r14 + 0x17], 0
jns 0x1400c8df5
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x1400c8e15
mov rcx, qword [rsp + 0x58]
call fcn.14018e000
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400c8e81
mov rcx, rbx
call fcn.1401b3d34
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1401340e0
cmp byte [rsi + 0x17], 0
js 0x1400c8e77
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14018e044
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14018e000
jmp 0x1400c8e40
int3