joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140152090
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x1401521d6
mov rsi, rcx
mov rax, qword [rdi]
cmp rdx, 2
mov ecx, 1
cmovae rcx, rdx
xor r8d, r8d
xor r9d, r9d
or r9, qword [rax + r8*8]
inc r8
cmp rcx, r8
jne 0x1401520c0
test r9, r9
je 0x1401521d6
test edx, edx
jle 0x1401521fb
mov rax, qword [rdi]
test byte [rax], 1
je 0x1401521fb
cmp dword [rdi + 0x10], 0
jne 0x140152252
cmp edx, 0x401
jae 0x140152272
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140152143
mov rcx, rbx
call fcn.14014fc80
test eax, eax
je 0x14015221b
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1401522b2
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.14024de40
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x14015221b
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x14015223b
mov rdx, qword [rbx]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x14015214f
inc ecx
mov dword [rsi + 0x20], ecx
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14015218b
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xa4
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14035cb50
jmp 0x1401521cc
mov dword [rsp + 0x20], 0xa8
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1401521f4
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1401521f4
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x14015216e
mov dword [rsi + 0x28], 0
jmp 0x14015216e
mov dword [rsp + 0x20], 0xac
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1401521f4
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14015227a
test rcx, rcx
je 0x1401520ff
mov dword [rsp + 0x20], 0xb0
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1401521f4
xor eax, eax
jmp 0x140152137
Function at 0x1401526b0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r12, qword [rsp + 0xb0]
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
test r12, r12
je 0x1401527ee
mov ecx, dword [r12 + 0x2c]
call fcn.140218e70
test rax, rax
je 0x140152806
mov r15, rax
xor ecx, ecx
call fcn.140218eb0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r12
mov rax, qword [r12 + 0x10]
lea rcx, [0x140331990]
cmp rax, rcx
jne 0x1401527f6
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 [0x1403d7d50]
movups xmmword [r15], xmm0
movaps xmm0, xmmword [0x1403d7d60]
movups xmmword [r15 + 0x10], xmm0
mov dword [r15 + 0x6c], 0x20
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call qword [case.0x1402ceac0.0]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, rdi
call qword [case.0x1402ceac0.0]
mov rax, qword [r15]
test rsi, rsi
je 0x1401527a8
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x38]
call fcn.140218ef0
mov esi, 1
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140218eb0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14015282d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14024c3c0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r15d, r15d
jmp 0x14015271d
lea rcx, [rsp + 0x30]
call qword [case.0x1402ceac0.0]
jmp 0x14015276d
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
xor edi, edi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.14035cb50
xor esi, esi
jmp 0x1401527bf
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [case.0x1402ceac0.0]
jmp 0x1401527d1
Function at 0x140152890
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x1401528c2
mov ecx, dword [rdi + 0x2c]
call fcn.140218e70
test rax, rax
je 0x140152923
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140218eb0
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x140331990]
cmp rax, rcx
jne 0x140152918
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 [0x1403d7d50]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1403d7d60]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [case.0x1402ceac0.0]
jmp 0x140152909
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.14035cb50
jmp 0x14015290e
Function at 0x1401529e0
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 0x140152a17
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.14017c2e0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140152b2a
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1404500f8]
lea rdx, [0x1401569a0]
call fcn.140233e30
lea rax, [0x140450100]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x140152b2e
call fcn.14017c610
test eax, eax
je 0x140152b2a
test rbx, rbx
je 0x140152a6f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140163120
test eax, eax
je 0x140152b2a
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x140152b38
add rax, 0x38
cmp qword [rax], 0
je 0x140152b01
test rbx, rbx
je 0x140152b41
cmp qword [rdi], rbx
je 0x140152aba
mov ecx, dword [rbx + 0x2c]
call fcn.140218e70
test rax, rax
je 0x140152b61
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140218eb0
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x140331990]
cmp rax, rcx
jne 0x140152b1f
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 [0x1403d7d50]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1403d7d60]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x140152b12
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 [case.0x1402ceac0.0]
jmp 0x140152b01
xor ebx, ebx
jmp 0x140152b12
call fcn.14035d3c0
jmp 0x140152a4e
add rax, 0x28
jmp 0x140152a82
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
jmp 0x140152b7f
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
xor ebx, ebx
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.14035cb50
jmp 0x140152b12
Function at 0x140155340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14015548d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1403be790]
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 [case.0x1402ceac0.0]
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 [case.0x1402ceac0.0]
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 [case.0x1402ceac0.0]
test r14, r14
je 0x140155423
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140155413
lea r14, [rsi + 0xf8]
mov eax, dword [0x140450054]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140155491
call fcn.140075160
lea rax, [0x140073c60]
test r14, r14
je 0x14015545e
lea rcx, [0x140072f00]
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.14024c3c0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140155470
bt eax, 9
jae 0x1401554b1
call fcn.140076350
lea rax, [0x140076820]
test r14, r14
je 0x14015545e
lea rcx, [0x140076520]
jmp 0x14015545b
call fcn.14031d0a0
lea rax, [0x14031d8a0]
test r14, r14
je 0x14015545e
lea rcx, [0x14031cf60]
jmp 0x14015545b
Function at 0x1401554e0
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 [0x14042f038]
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 0x1401556ab
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 [0x1403d7d50]
movaps xmm8, xmmword [0x1403d7d60]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x1401555a2
mov ecx, dword [rsi + 0x2c]
call fcn.140218e70
test rax, rax
je 0x14015570e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140218eb0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x140331990]
cmp rax, rcx
jne 0x1401556fe
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 [case.0x1402ceac0.0]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [case.0x1402ceac0.0]
cmp rdi, r13
jb 0x140155652
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [case.0x1402ceac0.0]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140218ef0
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14015556a
jmp 0x1401556a6
movaps xmm0, xmmword [0x1403be790]
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 [case.0x1402ceac0.0]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140218ef0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.14024de40
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140218eb0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140155736
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14024c3c0
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 [case.0x1402ceac0.0]
jmp 0x1401555de
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.14035cb50
jmp 0x1401556ab
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [case.0x1402ceac0.0]
jmp 0x1401556bf
Function at 0x140158380
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 [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1401583b3
mov rax, qword [rsi + 8]
test rax, rax
je 0x1401584ab
mov eax, ebx
not eax
test eax, 0x300
je 0x1401584ab
cmp edi, 2
lea rax, [0x140450730]
lea rcx, [0x140450930]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1401584ab
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 0x1401584ab
cmp byte [0x140450720], 0
setne al
bt ebx, 8
jb 0x1401584ab
shr ebx, 9
and ebx, 1
or bl, al
je 0x1401584ab
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x140158507
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 0x140158498
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.140268e14
test eax, eax
je 0x1401584ca
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140158478
cmp dword [rsp + 0x2c], 0
jne 0x14015850f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14024c3c0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1401584d8
test ecx, ecx
jne 0x140158498
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140158538
cmp dword [rsp + 0x2c], 2
jne 0x140158549
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x140158549
mov r14, rsi
jmp 0x14015845b
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14015851b
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.1402be9e0
jmp 0x1401584ab
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140158562
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14015854f
jmp 0x140158565
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x14015849f
Function at 0x140158fa0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14042f038]
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.1400f8f40
cmp byte [rsi + 0x17], 0
jns 0x140159000
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.1400f8f40
cmp byte [rdi + 0x17], 0
jns 0x140159025
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 0x140159044
mov rcx, qword [rsp + 0x48]
call fcn.14024ac18
cmp byte [rsp + 0x87], 0
jns 0x140159058
mov rcx, qword [rsp + 0x70]
call fcn.14024ac18
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140159100
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 [0x14042f038]
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.1400f8f40
cmp byte [rdi + 0x17], 0
jns 0x140159141
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 0x140159162
mov rcx, qword [rsp + 0x58]
call fcn.14024ac18
test rsi, rsi
je 0x140159209
test edi, edi
je 0x140159209
mov ecx, edi
add rcx, rcx
call fcn.14024ac4c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.1400f8f40
cmp byte [r14 + 0x17], 0
jns 0x1401591a5
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 0x1401591c5
mov rcx, qword [rsp + 0x58]
call fcn.14024ac18
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x140159227
mov rcx, rbx
call fcn.140272ba4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1401fa740
cmp byte [rsi + 0x17], 0
js 0x14015922a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14024ac54
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
mov rcx, qword [rsi]
call fcn.14024ac18
jmp 0x1401591f0
Function at 0x14015f4e0
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 0x14015f5e1
lea r12, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x14015f5fa
mov qword [rsp + 0x20], r12
lea rcx, [0x1403a4878]
lea r9, [0x1403dfc40]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15, qword [r12]
test eax, eax
js 0x14015f614
mov rcx, qword [r14]
test rcx, rcx
jne 0x14015f62d
mov rax, qword [r15]
mov rax, qword [rax + 0x90]
mov rcx, r15
mov rdx, r14
call qword [case.0x1402ceac0.0]
test eax, eax
js 0x14015f646
cmp rdi, rbx
je 0x14015f593
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rbx + 0x17]
js 0x14015f5c2
test r8b, r8b
jns 0x14015f5b2
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov rcx, rdi
call fcn.1400d4290
add rdi, 0x18
mov rcx, rdi
mov rdx, rsi
call fcn.1400eb1a0
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
jmp 0x14015f593
test r8b, r8b
jns 0x14015f5d0
mov r8, qword [rbx + 8]
mov rbx, qword [rbx]
jmp 0x14015f5d4
and r8d, 0x7f
mov rcx, rdi
mov rdx, rbx
call fcn.1400d41a0
jmp 0x14015f593
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceac0.0]
jmp 0x14015f507
mov qword [r12], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceac0.0]
jmp 0x14015f518
test r15, r15
je 0x14015f662
mov qword [r12], 0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rcx, r15
jmp 0x14015f65c
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceac0.0]
jmp 0x14015f551
mov rcx, qword [r14]
test rcx, rcx
je 0x14015f662
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceac0.0]
xor eax, eax
jmp 0x14015f5a4
Function at 0x140165240
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14016532c
lea rdi, [rsp + 0x6c]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.14024e4f0
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x60]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x140165333
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.140165390
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140165333
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14016533c
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140167a50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140167ab0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140167ab9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140167a99
int3
mov rcx, qword [rcx + 8]
jmp 0x140167a50

Function at 0x140167ac0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x140167b63
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140167b52
cmp eax, 0xffffffff
je 0x140167b77
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r12
cmp eax, 3
je 0x140167b01
mov eax, dword [rsp + 0x2c]
jmp 0x140167b32
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140167b34
int3