joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009cb50
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 0x14009cb87
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.1400c4830
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14009cc91
mov ebp, dword [rsp + 0x88]
lea rcx, [0x140394970]
lea rdx, [0x1400a0290]
call fcn.1401447c0
lea rax, [0x140394978]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x14009cc95
call fcn.1400c4b30
test eax, eax
je 0x14009cc91
test rbx, rbx
je 0x14009cbdf
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.1400bda80
test eax, eax
je 0x14009cc91
xor eax, eax
test ebp, ebp
setne al
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx]
shl eax, 4
cmp qword [rcx + rax + 0x28], 0
je 0x14009cc73
test rbx, rbx
je 0x14009ccaa
mov rax, qword [rdi]
cmp rax, rbx
je 0x14009cc2c
mov ecx, dword [rbx + 0x2c]
call fcn.140137ff0
test rax, rax
je 0x14009cc91
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140138050
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, rbx
mov rax, qword [rax + 0x10]
lea rcx, [0x140256280]
cmp rax, rcx
jne 0x14009cc9f
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 [0x140323290]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1403232a0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x14009cc84
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
xor ebx, ebx
jmp 0x14009cc84
call fcn.140282340
jmp 0x14009cbbe
mov rcx, rdi
call qword [0x14036e598]
jmp 0x14009cc73
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.1402821d0
jmp 0x14009cc84
Function at 0x14009dfd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, r8
mov rsi, rdx
mov rdi, rcx
movsxd r8, dword [rcx + 0x148]
test r8, r8
jle 0x14009e1e6
mov r10, qword [rdi + 0x140]
xor ecx, ecx
mov edx, r8d
mov r11d, edx
cmp qword [r10 + r11*8 - 8], 0
je 0x14009e1a6
movsxd rcx, edx
shl edx, 6
mov r10, qword [r10 + rcx*8 - 8]
xor ecx, ecx
test r10, r10
setne cl
or ecx, edx
xor edx, edx
mov r11, r10
shr r11, 0x20
setne dl
cmove r11, r10
shl edx, 5
mov rbx, r11
shr rbx, 0x10
xor r10d, r10d
cmp r11, 0x10000
setae r10b
cmovb rbx, r11
shl r10d, 4
mov r14, rbx
shr r14, 8
xor r11d, r11d
cmp rbx, 0x100
setae r11b
cmovb r14, rbx
mov rbx, r14
shr rbx, 4
xor r15d, r15d
cmp r14, 0x10
setae r15b
cmovb rbx, r14
mov r14, rbx
shr r14, 2
xor r12d, r12d
cmp rbx, 4
setae r12b
cmovb r14, rbx
or edx, ecx
or edx, r10d
cmp r14, 2
lea ecx, [rdx + r11*8]
lea ecx, [rcx + r15*4]
lea ecx, [rcx + r12*2]
sbb ecx, 0xffffffff
add ecx, 0xffffffc7
shr ecx, 3
cmp rcx, r9
jne 0x14009e1bb
lea rcx, [r8*8]
cmp rcx, r9
jb 0x14009e1e1
mov rcx, rsi
cmp r9, 8
jb 0x14009e0f8
mov rdx, qword [rax + r9 - 8]
add r9, 0xfffffffffffffff8
bswap rdx
mov qword [rcx], rdx
add rcx, 8
dec r8
cmp r9, 7
ja 0x14009e0dc
test r9, r9
je 0x14009e123
xor edx, edx
xor r10d, r10d
mov r11, r10
shl r11, 8
movzx r10d, byte [rax + rdx]
or r10, r11
inc rdx
cmp r9, rdx
jne 0x14009e102
mov qword [rcx], r10
add rcx, 8
dec r8
shl r8, 3
test r8, r8
jne 0x14009e1fa
movsxd rcx, dword [rdi + 0x148]
mov eax, 0x14b
test rcx, rcx
je 0x14009e1c0
mov r8, qword [rdi + 0x140]
xor edx, edx
xor r9d, r9d
mov r10, qword [r8 + r9*8]
mov r11, qword [rsi + r9*8]
mov rdi, r11
xor rdi, r10
lea rbx, [rdi - 1]
mov r14, r11
sub r14, r10
xor r14, r11
or r14, rdi
not rdi
and rbx, rdi
sar rbx, 0x3f
xor r14, r11
sar r14, 0x3f
xor rdx, r14
and rdx, rbx
xor rdx, r14
inc r9
cmp rcx, r9
jne 0x14009e14d
mov esi, 1
test edx, edx
jns 0x14009e1c0
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r11d, [rdx - 1]
cmp edx, 1
mov edx, r11d
jg 0x14009e002
jmp 0x14009e0b9
mov eax, 0x144
mov dword [rsp + 0x20], eax
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleec_simple.c
xor esi, esi
mov ecx, 0xf
xor edx, edx
mov r8d, 0x80
call fcn.1402821d0
jmp 0x14009e196
call fcn.140184880
test r8d, r8d
je 0x14009e206
mov r10, qword [rdi + 0x140]
mov edx, r8d
jmp 0x14009e011
xor edx, edx
call fcn.1401a5660
jmp 0x14009e130
xor ecx, ecx
jmp 0x14009e0b9
Function at 0x14009e820
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14009e972
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1402faf80]
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 [0x14036e598]
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 [0x14036e598]
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 [0x14036e598]
test r14, r14
je 0x14009e903
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14009e8f3
mov ecx, 1
call fcn.1401448f0
bt eax, 0x19
jae 0x14009e97d
not eax
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
test eax, 0x12000000
jne 0x14009e976
call fcn.1400032c0
lea rax, [0x140001d60]
lea rcx, section..text
mov qword [rsi + 0xf8], 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.14016cc60
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14009e955
call fcn.140002fd0
jmp 0x14009e92e
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 9
jae 0x14009e9a5
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [0x1400042a0]
jmp 0x14009e93c
call fcn.140240830
lea rax, [0x140241460]
lea rcx, [0x140240710]
jmp 0x14009e93c
Function at 0x14009e9d0
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 [0x14037e040]
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 0x14009eba1
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 [0x140323290]
movaps xmm8, xmmword [0x1403232a0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
cmp rax, rsi
je 0x14009ea98
mov ecx, dword [rsi + 0x2c]
call fcn.140137ff0
test rax, rax
je 0x14009ebf4
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140138050
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, rsi
mov rax, qword [rax + 0x10]
lea rcx, [0x140256280]
cmp rax, rcx
jne 0x14009ebf8
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 [0x14036e598]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x14036e598]
cmp rdi, r13
jb 0x14009eb48
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x14036e598]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140138090
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14009ea5a
jmp 0x14009eb9c
movaps xmm0, xmmword [0x1402faf80]
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 [0x14036e598]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140138090
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1401a4fc0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140138050
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14009ec08
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14016cc60
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
xor esi, esi
jmp 0x14009eba1
lea rcx, [rsp + 0x30]
call qword [0x14036e598]
jmp 0x14009ead4
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x14036e598]
jmp 0x14009ebb5
Function at 0x14009ff70
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1401448f0
mov ebp, eax
bt eax, 0x1d
jb 0x14009ffb3
not ebp
test ebp, 0x128
jne 0x14009ffd9
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010e30
mov ecx, 1
call fcn.1401448f0
bt eax, 9
jae 0x14009ff93
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000eec0
mov ecx, 1
call fcn.1401448f0
mov ebp, eax
bt eax, 0x1c
jae 0x14009fff8
xor ecx, ecx
call fcn.1401448f0
bt eax, 0x1e
jb 0x1400a0022
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x1400a0014
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000de80
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f190
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010030

Function at 0x1400a0090
Capabilities:
Encode data using xor
Hash data using sha256 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1401448f0
bt eax, 0x1d
jb 0x1400a0110
mov ecx, 1
call fcn.1401448f0
mov ebp, eax
bt eax, 0x1c
jae 0x1400a00e6
xor ecx, ecx
call fcn.1401448f0
bt eax, 0x1e
jae 0x1400a00e6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014ec0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x1400a0102
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013f80
mov ecx, 1
call fcn.1401448f0
bt eax, 9
jae 0x1400a00b1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013bc0
Function at 0x1400a07a0
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 0x1400a088e
cmp qword [rsi], 0
jne 0x1400a088e
cmp dword [rsi + 0x14], 0
jne 0x1400a088e
cmp qword [rsi + 8], 0
jne 0x1400a088e
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400a0810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a0860
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a0808
mov qword [rsi], r14
call fcn.140125100
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400a084a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400a0876
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a0842
mov qword [rsi + 8], r14
call fcn.140125100
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.140125100
mov rcx, qword [rsi]
call fcn.140113440
mov qword [rsi], 0
jmp 0x1400a07f6
call fcn.140125100
mov rcx, qword [rsi + 8]
call fcn.140113440
mov qword [rsi + 8], 0
jmp 0x1400a082f
mov rcx, rsi
call fcn.14025b9a0
mov rax, qword [rsi]
jmp 0x1400a07da
Function at 0x1400ae4d0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x1402faf80]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400ae64c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x140395a70]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.14018ebac
mov rcx, rbx
call fcn.14018deb4
sub r14, rax
lea rdx, [0x140305304]
mov rcx, rbx
mov r8, r14
call fcn.14018ebac
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1401a5660
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 0x1400ae5ac
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14018ebf4
test eax, eax
je 0x1400ae670
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 0x1400ae5e7
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14018ebf4
test eax, eax
je 0x1400ae670
xor eax, eax
mov byte [0x140395669], al
mov dword [rsp + 0x30], 0
lea rcx, [0x140309b84]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1403273f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ae677
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x14036e598]
test eax, eax
je 0x1400ae677
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x140395c70], al
mov byte [0x140395668], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x1400ae5e9
xor eax, eax
jmp 0x1400ae63f
Function at 0x1400ae8a0
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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x1400ae8d4
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400ae9cf
bt ebx, 8
jae 0x1400ae8f0
mov eax, ebx
and eax, 0x200
jne 0x1400ae9cf
cmp edi, 2
lea rax, [0x140395670]
lea rcx, [0x140395870]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400ae9cf
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 0x1400ae9cf
bt ebx, 8
jb 0x1400ae9cf
shr ebx, 9
and ebx, 1
or bl, byte [0x140395c70]
je 0x1400ae9cf
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x1400ae9ee
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x1400ae9b8
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.140188b90
test eax, eax
je 0x1400ae9f3
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400ae998
cmp dword [rsp + 0x2c], 0
jne 0x1400aea6e
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14016cc60
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 0x1400ae977
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400aea01
test ecx, ecx
jne 0x1400ae9b8
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400aea2d
cmp dword [rsp + 0x2c], 2
jne 0x1400aea3e
lea rdx, str.WOW6432Node
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
jmp 0x1400aea3e
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r14
cmp cx, 0x5c
jne 0x1400aea57
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400aea44
jmp 0x1400aea5a
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400ae9bf
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400aea7a
mov rax, qword [rsi]
cmp qword [rsp + 0x30], 0
je 0x1400aeab0
mov rbx, qword [rsp + 0x38]
sub rbx, rax
sar rbx, 1
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14018deb4
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, rax
call fcn.140044a10
jmp 0x1400ae9cf
ud2
Function at 0x1400af4d0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x1400af505
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
test rax, rax
js 0x1400af5c0
sete al
test r8, r8
setne cl
or cl, al
je 0x1400af5c0
lea rsi, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14011b650
cmp byte [rsi + 0x17], 0
jns 0x1400af546
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.14011b650
cmp byte [rdi + 0x17], 0
jns 0x1400af56b
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 0x1400af58a
mov rcx, qword [rsp + 0x48]
call fcn.14016b728
cmp byte [rsp + 0x87], 0
jns 0x1400af59e
mov rcx, qword [rsp + 0x70]
call fcn.14016b728
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
ud2

Function at 0x1400af650
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.14016cc00
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.14011b650
test rsi, rsi
je 0x1400af728
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5660
cmp byte [rsp + 0x47], 0
jns 0x1400af6cb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x1400af6fa
cmp eax, 0x7fff
jae 0x1400af74d
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.14006cf30
cmp byte [rsp + 0x47], 0
jns 0x1400af70b
mov rcx, qword [rsp + 0x30]
call fcn.14016b728
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x47], 0
js 0x1400af736
lea rcx, [rsp + 0x30]
jmp 0x1400af73b
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x1400af6fa
int3
Function at 0x1400b4010
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400b4087
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140382a40], rax
jne 0x1400b408a
mov rsi, rcx
call fcn.1400c25e0
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400995d0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400b40a0
mov ecx, dword [0x140395db4]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x14038f0a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x180], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x1400bc510
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r14, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1400bc644
lea r12, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x1400bc65d
mov qword [rsp + 0x20], r12
lea rcx, [0x1402f0208]
lea r9, [0x14032adc0]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15, qword [r12]
test eax, eax
js 0x1400bc60b
mov rcx, qword [r14]
test rcx, rcx
jne 0x1400bc677
mov rax, qword [r15]
mov rax, qword [rax + 0x90]
mov rcx, r15
mov rdx, r14
call qword [0x14036e598]
test eax, eax
js 0x1400bc624
cmp rdi, rbx
je 0x1400bc5c2
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rbx + 0x17]
js 0x1400bc5f2
test r8b, r8b
js 0x1400bc5e1
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
add rdi, 0x18
mov rcx, rdi
mov rdx, rsi
call fcn.140125f10
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov rcx, rdi
call fcn.140044f20
jmp 0x1400bc5c2
test r8b, r8b
jns 0x1400bc5fe
mov r8, qword [rbx + 8]
mov rbx, qword [rbx]
mov rcx, rdi
mov rdx, rbx
call fcn.140044dc0
jmp 0x1400bc5c2
test r15, r15
je 0x1400bc640
mov qword [r12], 0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rcx, r15
jmp 0x1400bc63a
mov rcx, qword [r14]
test rcx, rcx
je 0x1400bc640
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14036e598]
xor eax, eax
jmp 0x1400bc5d3
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14036e598]
jmp 0x1400bc537
mov qword [r12], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14036e598]
jmp 0x1400bc548
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14036e598]
jmp 0x1400bc581
Function at 0x1400bdb80
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x1402faf80]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.1400dbaa0
test eax, eax
je 0x1400bdc98
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
cmp rsi, rax
jne 0x1400bdc07
lea rbx, [0x140357f80]
test al, al
je 0x1400bdbef
lea rdx, [0x140357f84]
mov rcx, rdi
mov r8, rsi
call fcn.1401a4ec0
test eax, eax
jne 0x1400bdc07
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14016cc60
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
movzx eax, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rsi, rax
jne 0x1400bdc34
lea rbx, [0x14032b220]
test al, al
je 0x1400bdbef
lea rdx, [0x14032b224]
mov rcx, rdi
mov r8, rsi
call fcn.1401a4ec0
test eax, eax
je 0x1400bdbef
movzx eax, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rsi, rax
jne 0x1400bdc61
lea rbx, [0x140358060]
test al, al
je 0x1400bdbef
lea rdx, [0x140358064]
mov rcx, rdi
mov r8, rsi
call fcn.1401a4ec0
test eax, eax
je 0x1400bdbef
movzx eax, byte [0x140358235]
cmp rsi, rax
jne 0x1400bdc9f
lea rbx, [0x140358228]
test al, al
je 0x1400bdbef
lea rdx, [0x14035822c]
mov rcx, rdi
mov r8, rsi
call fcn.1401a4ec0
test eax, eax
je 0x1400bdbef
jmp 0x1400bdc9f
xor ebx, ebx
jmp 0x1400bdbef
movzx eax, byte [0x14035814d]
cmp rsi, rax
jne 0x1400bdc98
lea rbx, [0x140358140]
test al, al
je 0x1400bdbef
lea rdx, [0x140358144]
mov rcx, rdi
mov r8, rsi
call fcn.1401a4ec0
test eax, eax
je 0x1400bdbef
jmp 0x1400bdc98