joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c1880
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400c0450
mov rax, qword [rsi]
test rax, rax
je 0x1400c18f7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400c18fe
lea rcx, [rsp + 0x28]
call fcn.1400c0fb0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401a2850
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400c18d0
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400c1916
add rbx, 0x70
cmp rbx, r15
je 0x1400c18d0
jmp 0x1400c1905
cmp byte [rbx + 0x27], 0
js 0x1400c1922
lea rcx, [rbx + 0x10]
jmp 0x1400c1926
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400c190b
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
je 0x1400c194c
mov rcx, r14
mov rdx, rbx
call fcn.1400c2770
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400c190b
mov rcx, rdi
mov rdx, rbx
call fcn.1400c25a0
jmp 0x1400c190b

Function at 0x1400c1960
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400c0450
mov rax, qword [rsi]
test rax, rax
je 0x1400c19d7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400c19de
lea rcx, [rsp + 0x28]
call fcn.1400c0fb0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401a2850
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400c19b0
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400c1a1f
cmp byte [rbx + 0x27], 0
js 0x1400c19f7
lea rcx, [rbx + 0x10]
jmp 0x1400c19fb
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400c1a1f
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
je 0x1400c1a2a
mov rcx, r14
mov rdx, rbx
call fcn.1400c2770
add r14, 0x68
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r15
je 0x1400c19b0
jmp 0x1400c19e5
mov rcx, rdi
mov rdx, rbx
call fcn.1400c25a0
jmp 0x1400c1a1f
Function at 0x1400c2fd0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403b36f0]
mov ecx, dword [0x1403adeec]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c3030
lea rsi, [0x1403b36e8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401a2850
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403b36f0]
call fcn.1401a11c0
cmp dword [0x1403b36f0], 0xffffffff
jne 0x1400c300c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401a49a0
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.1401a1068
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403b3738]
mov ecx, dword [0x1403adeec]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c30f0
lea r8, [0x1403b3708]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400c31f0
mov qword [0x1403b36e8], rsi
lea rcx, [0x1403b36f0]
call fcn.1401a1258
jmp 0x1400c300c
lea rcx, [0x1403b3738]
call fcn.1401a11c0
cmp dword [0x1403b3738], 0xffffffff
jne 0x1400c30c1
xorps xmm0, xmm0
movups xmmword [0x1403b3728], xmm0
movups xmmword [0x1403b3718], xmm0
movups xmmword [0x1403b3708], xmm0
lea rcx, [0x1403b3708]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403b3738]
call fcn.1401a1258
jmp 0x1400c30c1

Function at 0x1400c3140
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403b3738]
mov ecx, dword [0x1403adeec]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c317b
movzx eax, word [0x1403b3708]
cmp eax, 9
jne 0x1400c31c3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1403b3738]
call fcn.1401a11c0
cmp dword [0x1403b3738], 0xffffffff
jne 0x1400c3165
xorps xmm0, xmm0
movups xmmword [0x1403b3728], xmm0
movups xmmword [0x1403b3718], xmm0
movups xmmword [0x1403b3708], xmm0
lea rcx, [0x1403b3708]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403b3738]
call fcn.1401a1258
jmp 0x1400c3165
test eax, eax
je 0x1400c3176
cmp eax, 6
jne 0x1400c31d3
mov eax, 2
jmp 0x1400c3176
cmp eax, 0xc
jne 0x1400c31df
mov eax, 3
jmp 0x1400c3176
mov eax, 4
jmp 0x1400c3176
Function at 0x1400c3bf0
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 [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f8168]
lea r9, [0x140372e50]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400c3d83
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.1400f3ec0
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 [0x1403d6008]
mov ebp, eax
mov rcx, r14
call fcn.1400f3f10
test ebp, ebp
js 0x1400c3d77
test bl, bl
je 0x1400c3d12
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 0x1400c3d8f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x1400c3d9b
mov byte [rsi], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1400c3daa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400c3d58
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403d6008]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a2850
nop
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 0x1400c3d2e
mov byte [rsi], 1
mov dword [rsi + 4], 0
jmp 0x1400c3d38
mov byte [rsi], 1
mov dword [rsi + 4], 2
jmp 0x1400c3d2e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403d6008]
jmp 0x1400c3d2b
mov qword [rsp + 0x60], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403d6008]
jmp 0x1400c3d38
Function at 0x1400c5ed0
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 [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
jne 0x1400c5faa
or ebx, 8
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c6065
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400c5fa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400c605a
call fcn.140151db0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400c5f62
test rbx, rbx
je 0x1400c5f85
call fcn.140151db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400c5f7d
mov qword [rsi + 8], rbx
call fcn.140151db0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401a2850
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400c5f47
xor edi, edi
jmp 0x1400c5fee
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c6065
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400c5fa6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x1400c6061
call fcn.140151db0
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 0x1400c606d
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400c5f28
call fcn.140151db0
mov rcx, rdi
call fcn.14013ea60
jmp 0x1400c5f1e
xor ebx, ebx
jmp 0x1400c5f3f
xor edi, edi
jmp 0x1400c5fe6
mov byte [rsi], 0
jmp 0x1400c5f85
mov byte [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400c5f85
call fcn.140151db0
mov rcx, rdi
call fcn.14013ea60
jmp 0x1400c5f85
Function at 0x1400caf50
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 [0x14039c038]
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 0x1400cafc0
mov ecx, dword [r13 + 0x2c]
call fcn.140167c10
test rax, rax
je 0x1400cb0a1
mov r12, rax
xor ecx, ecx
call fcn.140167c70
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x1400cf2c0]
cmp rax, rcx
jne 0x1400cb091
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 [0x140376110]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x140376120]
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 [0x1403d6008]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x1403d6008]
mov rax, qword [r14]
test rsi, rsi
je 0x1400cb04a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.140167cb0
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140167c70
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400cb0a5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401a2850
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 [0x1403d6008]
jmp 0x1400cb00f
xor ecx, ecx
jmp 0x1400cb062
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x1403d6008]
jmp 0x1400cb071

Function at 0x1400cb260
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 0x1400cb292
mov ecx, dword [rdi + 0x2c]
call fcn.140167c10
test rax, rax
je 0x1400cb2f1
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140167c70
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x1400cf2c0]
cmp rax, rcx
jne 0x1400cb2e6
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 [0x140376110]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140376120]
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 [0x1403d6008]
jmp 0x1400cb2d9
xor eax, eax
jmp 0x1400cb2de
Function at 0x1400cb390
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 0x1400cb3c7
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.1400f7780
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400cb4da
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1403b3998]
lea rdx, [0x1400cf300]
call fcn.140178b70
lea rax, [0x1403b39a0]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x1400cb4de
call fcn.1400f7aa0
test eax, eax
je 0x1400cb4da
test rbx, rbx
je 0x1400cb41f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.1400e6b40
test eax, eax
je 0x1400cb4da
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x1400cb4e8
add rax, 0x38
cmp qword [rax], 0
je 0x1400cb4b1
test rbx, rbx
je 0x1400cb4f1
cmp qword [rdi], rbx
je 0x1400cb46a
mov ecx, dword [rbx + 0x2c]
call fcn.140167c10
test rax, rax
je 0x1400cb4da
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140167c70
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400cf2c0]
cmp rax, rcx
jne 0x1400cb4cf
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 [0x140376110]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140376120]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x1400cb4c2
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 [0x1403d6008]
jmp 0x1400cb4b1
xor ebx, ebx
jmp 0x1400cb4c2
call fcn.1402a2b70
jmp 0x1400cb3fe
add rax, 0x28
jmp 0x1400cb432
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.1402a2a00
jmp 0x1400cb4c2
Function at 0x1400cdbd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400cdd1d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14032ae20]
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 [0x1403d6008]
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 [0x1403d6008]
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 [0x1403d6008]
test r14, r14
je 0x1400cdcb3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400cdca3
lea r14, [rsi + 0xf8]
mov eax, dword [0x1403b38f4]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400cdd21
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400cdcee
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.1401a2850
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400cdd00
bt eax, 9
jae 0x1400cdd41
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400cdcee
lea rcx, [0x140004520]
jmp 0x1400cdceb
call fcn.14025e510
lea rax, [0x14025ed10]
test r14, r14
je 0x1400cdcee
lea rcx, [0x14025e3d0]
jmp 0x1400cdceb
Function at 0x1400cdd70
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 [0x14039c038]
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 0x1400cdf3b
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 [0x140376110]
movaps xmm8, xmmword [0x140376120]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x1400cde32
mov ecx, dword [rsi + 0x2c]
call fcn.140167c10
test rax, rax
je 0x1400cdf9e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140167c70
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x1400cf2c0]
cmp rax, rcx
jne 0x1400cdf8e
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 [0x1403d6008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1403d6008]
cmp rdi, r13
jb 0x1400cdee2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1403d6008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140167cb0
add rbx, r13
inc r14d
sub rdi, r13
jne 0x1400cddfa
jmp 0x1400cdf36
movaps xmm0, xmmword [0x14032ae20]
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 [0x1403d6008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140167cb0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1401a42f0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140167c70
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400cdfa2
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401a2850
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 [0x1403d6008]
jmp 0x1400cde6e
xor esi, esi
jmp 0x1400cdf3b
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1403d6008]
jmp 0x1400cdf4f
Function at 0x1400dcdb0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x14032ae20]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400dcf2c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1403b8f80]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1401cbfa0
mov rcx, rbx
call fcn.1401ca774
sub r14, rax
lea rdx, [0x14032c110]
mov rcx, rbx
mov r8, r14
call fcn.1401cbfa0
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1401a49a0
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 0x1400dce8c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401cbfe8
test eax, eax
je 0x1400dcf54
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 0x1400dcec7
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401cbfe8
test eax, eax
je 0x1400dcf54
xor eax, eax
mov byte [0x1403b8b79], al
mov dword [rsp + 0x30], 0
lea rcx, [0x140330bfc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14037a5ce]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400dcf50
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1403d6008]
test eax, eax
je 0x1400dcf50
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1403b9180], al
mov byte [0x1403b8b78], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x1400dcf1f
mov al, 1
jmp 0x1400dcec9
Function at 0x1400dd200
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 [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400dd233
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400dd327
bt ebx, 8
jae 0x1400dd24f
mov eax, ebx
and eax, 0x200
jne 0x1400dd327
cmp edi, 2
lea rax, [0x1403b8b80]
lea rcx, [0x1403b8d80]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400dd327
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 0x1400dd327
cmp byte [0x1403b9180], 0
setne al
bt ebx, 8
jb 0x1400dd327
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400dd327
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x1400dd346
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 0x1400dd314
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1401bf710
test eax, eax
je 0x1400dd371
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400dd2f4
cmp dword [rsp + 0x2c], 0
jne 0x1400dd34b
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a2850
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 0x1400dd2d7
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400dd357
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.140209980
jmp 0x1400dd327
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400dd37f
test ecx, ecx
jne 0x1400dd314
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400dd3ae
cmp dword [rsp + 0x2c], 2
jne 0x1400dd3bf
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400dd3bf
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400dd3d8
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400dd3c5
jmp 0x1400dd3db
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x1400dd31b