joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053e20
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 0x140053e57
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.140061410
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140053f61
mov ebp, dword [rsp + 0x88]
lea rcx, [0x14019e250]
lea rdx, [0x140057910]
call fcn.14009c5d0
lea rax, [0x14019e258]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x140053f65
call fcn.140061710
test eax, eax
je 0x140053f61
test rbx, rbx
je 0x140053eaf
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.14005efd0
test eax, eax
je 0x140053f61
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 0x140053f43
test rbx, rbx
je 0x140053f7a
mov rax, qword [rdi]
cmp rax, rbx
je 0x140053efc
mov ecx, dword [rbx + 0x2c]
call fcn.14009bea0
test rax, rax
je 0x140053f61
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.14009bf00
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, rbx
mov rax, qword [rax + 0x10]
lea rcx, [0x14012af00]
cmp rax, rcx
jne 0x140053f6f
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 [0x1401742e0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1401742f0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x140053f54
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 0x140053f54
call fcn.140137cd0
jmp 0x140053e8e
mov rcx, rdi
call qword [0x14017da28]
jmp 0x140053f43
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.140137b50
jmp 0x140053f54
Function at 0x1400554f0
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 0x140055706
mov r10, qword [rdi + 0x140]
xor ecx, ecx
mov edx, r8d
mov r11d, edx
cmp qword [r10 + r11*8 - 8], 0
je 0x1400556c6
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 0x1400556db
lea rcx, [r8*8]
cmp rcx, r9
jb 0x140055701
mov rcx, rsi
cmp r9, 8
jb 0x140055618
mov rdx, qword [rax + r9 - 8]
add r9, 0xfffffffffffffff8
bswap rdx
mov qword [rcx], rdx
add rcx, 8
dec r8
cmp r9, 7
ja 0x1400555fc
test r9, r9
je 0x140055643
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 0x140055622
mov qword [rcx], r10
add rcx, 8
dec r8
shl r8, 3
test r8, r8
jne 0x14005571a
movsxd rcx, dword [rdi + 0x148]
mov eax, 0x14b
test rcx, rcx
je 0x1400556e0
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 0x14005566d
mov esi, 1
test edx, edx
jns 0x1400556e0
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 0x140055522
jmp 0x1400555d9
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.140137b50
jmp 0x1400556b6
call fcn.1400ca15c
test r8d, r8d
je 0x140055726
mov r10, qword [rdi + 0x140]
mov edx, r8d
jmp 0x140055531
xor edx, edx
call fcn.1400e7610
jmp 0x140055650
xor ecx, ecx
jmp 0x1400555d9
Function at 0x140055d50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140055eaa
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14015feb0]
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 [0x14017da28]
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 [0x14017da28]
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 [0x14017da28]
test r14, r14
je 0x140055e33
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140055e23
mov ecx, 1
call fcn.14009cd80
bt eax, 0x19
jae 0x140055eb5
not eax
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
test eax, 0x12000000
jne 0x140055eae
call fcn.1400032c0
lea rax, [0x140001d60]
lea rcx, [fcn.140001000]
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140055e9c
call fcn.1400b6ad0
int3
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor eax, eax
jmp 0x140055e85
call fcn.140002fd0
jmp 0x140055e5e
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 9
jae 0x140055edd
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [fcn.1400042a0]
jmp 0x140055e6c
call fcn.140113210
lea rax, [0x140113e50]
lea rcx, [0x1401130e0]
jmp 0x140055e6c
Function at 0x140055f10
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 [0x14018a040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x24], 1
test rdx, rdx
je 0x1400560df
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 [0x1401742e0]
movaps xmm8, xmmword [0x1401742f0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
cmp rax, rsi
je 0x140055fdb
mov ecx, dword [rsi + 0x2c]
call fcn.14009bea0
test rax, rax
je 0x14005613e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.14009bf00
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, rsi
mov rax, qword [rax + 0x10]
lea rcx, [0x14012af00]
cmp rax, rcx
jne 0x140056148
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 [0x14017da28]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x14017da28]
cmp rdi, r13
jb 0x14005608b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x14017da28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.14009bf40
add rbx, r13
inc r14d
sub rdi, r13
jne 0x140055f9d
jmp 0x1400560df
movaps xmm0, xmmword [0x14015feb0]
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 [0x14017da28]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.14009bf40
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400e6f70
mov rcx, qword [rsp + 0x38]
call fcn.14009bf00
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140056158
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14005610d
call fcn.1400b6ad0
int3
mov eax, dword [rsp + 0x24]
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
mov dword [rsp + 0x24], 0
jmp 0x1400560df
lea rcx, [rsp + 0x30]
call qword [0x14017da28]
jmp 0x140056017
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x14017da28]
jmp 0x1400560f3
Function at 0x1400574c0
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.14009cd80
mov ebp, eax
bt eax, 0x1d
jb 0x140057503
not ebp
test ebp, 0x128
jne 0x140057529
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.14009cd80
bt eax, 9
jae 0x1400574e3
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.14009cd80
mov ebp, eax
bt eax, 0x1c
jae 0x140057548
xor ecx, ecx
call fcn.14009cd80
bt eax, 0x1e
jb 0x140057572
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140057564
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 0x1400575e0
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.14009cd80
bt eax, 0x1d
jb 0x140057660
mov ecx, 1
call fcn.14009cd80
mov ebp, eax
bt eax, 0x1c
jae 0x140057636
xor ecx, ecx
call fcn.14009cd80
bt eax, 0x1e
jae 0x140057636
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 0x140057652
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.14009cd80
bt eax, 9
jae 0x140057601
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 0x140058430
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 4
lea r9, [rsp + 0x44]
mov dword [r9], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400584a1
mov ecx, dword [rsp + 0x44]
add ecx, 0xfffffffd
mov eax, 0x3f4
cmp ecx, 1
ja 0x1400584a1
cmp dword [rsp + 0x40], 4
jne 0x1400584a1
mov eax, dword [rsp + 0x3c]
mov dword [rsi], eax
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x1400584b8
call fcn.1400b6ad0
int3
add rsp, 0x50
pop rsi
ret

Function at 0x1400584c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400b6a70
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400e7610
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058554
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14005857b
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140036b40
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14005856e
call fcn.1400b6ad0
int3
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp eax, 2
jne 0x1400585c3
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e7610
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400585ca
lea rdx, [rsp + 0x40]
jmp 0x14005854a
mov eax, 0x3f4
jmp 0x140058554
mov eax, 0xea
jmp 0x140058554
Function at 0x14005a160
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005a170
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14005a191
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005a1b1
cmp byte [r14 + 0x50], 1
je 0x14005a23c
or edi, 0x20000000
test dil, 8
jne 0x14005a247
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005a1cf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005a1e0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005a26e
cmp byte [r14 + 0x18], 1
je 0x14005a27f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005a28f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14005a264
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14005a1b1
cmp byte [r14 + 0x68], 1
jne 0x14005a259
or edi, 0x40000000
jmp 0x14005a1bb
or edi, 0x10000000
jmp 0x14005a1bb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a227
lea rcx, [r14 + 0x20]
call fcn.1400387b0
mov r15, rax
jmp 0x14005a1eb
mov rcx, r14
call fcn.1400387b0
mov r9, rax
jmp 0x14005a1f9
cmp ebx, 4
jne 0x14005a29e
mov edx, 6
jmp 0x14005a206
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005a2b0
mov edx, 7
jmp 0x14005a206
cmp ebx, 1
jne 0x14005a2bf
mov edx, 4
jmp 0x14005a206
xor edx, edx
jmp 0x14005a206
Function at 0x14005a170
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005a170
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14005a191
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005a1b1
cmp byte [r14 + 0x50], 1
je 0x14005a23c
or edi, 0x20000000
test dil, 8
jne 0x14005a247
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005a1cf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005a1e0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005a26e
cmp byte [r14 + 0x18], 1
je 0x14005a27f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005a28f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14005a264
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14005a1b1
cmp byte [r14 + 0x68], 1
jne 0x14005a259
or edi, 0x40000000
jmp 0x14005a1bb
or edi, 0x10000000
jmp 0x14005a1bb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a227
lea rcx, [r14 + 0x20]
call fcn.1400387b0
mov r15, rax
jmp 0x14005a1eb
mov rcx, r14
call fcn.1400387b0
mov r9, rax
jmp 0x14005a1f9
cmp ebx, 4
jne 0x14005a29e
mov edx, 6
jmp 0x14005a206
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005a2b0
mov edx, 7
jmp 0x14005a206
cmp ebx, 1
jne 0x14005a2bf
mov edx, 4
jmp 0x14005a206
xor edx, edx
jmp 0x14005a206

Function at 0x14005a2d0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005a308
cmp byte [r15 + 0x50], 1
je 0x14005a39f
or edi, 0x20000000
test dil, 8
jne 0x14005a3aa
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14005a326
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14005a337
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x14005a3d1
cmp byte [r15 + 0x18], 1
je 0x14005a3e2
xor r9d, r9d
cmp ebx, 4
jne 0x14005a390
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14005a3c7
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005a3f2
mov edx, 7
jmp 0x14005a35a
or edi, 0x80000000
jmp 0x14005a308
cmp byte [r15 + 0x68], 1
jne 0x14005a3bc
or edi, 0x40000000
jmp 0x14005a312
or edi, 0x10000000
jmp 0x14005a312
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005a37b
lea rcx, [r15 + 0x20]
call fcn.1400387b0
mov r14, rax
jmp 0x14005a342
mov rcx, r15
call fcn.1400387b0
mov r9, rax
jmp 0x14005a350
mov edx, 1
test ebx, ebx
je 0x14005a35a
cmp ebx, 1
jne 0x14005a40e
mov edx, 4
jmp 0x14005a35a
xor edx, edx
jmp 0x14005a35a
Function at 0x14005ae80
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400b6a70
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015feb0]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.140089ea0
test rsi, rsi
je 0x14005af66
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e7610
cmp byte [rsp + 0x47], 0
jns 0x14005aeff
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 0x14005af2e
cmp eax, 0x7fff
jae 0x14005af8b
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.14003c980
cmp byte [rsp + 0x47], 0
jns 0x14005af3f
mov rcx, qword [rsp + 0x30]
call fcn.1400b57e4
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14005af59
call fcn.1400b6ad0
int3
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x47], 0
js 0x14005af74
lea rcx, [rsp + 0x30]
jmp 0x14005af79
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x14005af2e
int3

Function at 0x14005be20
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x14005be97
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x14018c6a0], rax
jne 0x14005be9a
mov rsi, rcx
call fcn.140064000
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.14005c990
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14005beb0
mov ecx, dword [0x14019eec4]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140198758]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x150], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x14005ed50
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x14015feb0]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140064130
test eax, eax
je 0x14005ee72
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx eax, byte [0x140177775]
cmp rsi, rax
jne 0x14005ede1
lea rbx, [0x140177768]
test al, al
je 0x14005edbf
lea rdx, [0x14017776c]
mov rcx, rdi
mov r8, rsi
call fcn.1400e6e70
test eax, eax
jne 0x14005ede1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14005edd6
call fcn.1400b6ad0
int3
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
movzx eax, byte [0x1401779ad]
cmp rsi, rax
jne 0x14005ee0e
lea rbx, [0x1401779a0]
test al, al
je 0x14005edbf
lea rdx, [0x1401779a4]
mov rcx, rdi
mov r8, rsi
call fcn.1400e6e70
test eax, eax
je 0x14005edbf
movzx eax, byte [0x14017788d]
cmp rsi, rax
jne 0x14005ee3b
lea rbx, [0x140177880]
test al, al
je 0x14005edbf
lea rdx, [0x140177884]
mov rcx, rdi
mov r8, rsi
call fcn.1400e6e70
test eax, eax
je 0x14005edbf
movzx eax, byte [0x140177a8d]
cmp rsi, rax
jne 0x14005ee79
lea rbx, [0x140177a80]
test al, al
je 0x14005edbf
lea rdx, [0x140177a84]
mov rcx, rdi
mov r8, rsi
call fcn.1400e6e70
test eax, eax
je 0x14005edbf
jmp 0x14005ee79
xor ebx, ebx
jmp 0x14005edbf
movzx eax, byte [0x140177b75]
cmp rsi, rax
jne 0x14005ee72
lea rbx, [0x140177b68]
test al, al
je 0x14005edbf
lea rdx, [0x140177b6c]
mov rcx, rdi
mov r8, rsi
call fcn.1400e6e70
test eax, eax
je 0x14005edbf
jmp 0x14005ee72
Function at 0x1400612a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140061270]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14019fbe0]
lea rdx, [0x1400610c0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400613a0
cmp dword [0x14019fbe8], 0
jne 0x1400613ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14019fbec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14006134c
mov ecx, 1
mov edx, 0x28
call fcn.140043fa0
test rax, rax
je 0x1400613ad
mov r14, rax
mov ecx, dword [0x14019fbec]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400613a5
lea r15, [0x14019fbf0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14019fc00]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov eax, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140061393
call fcn.1400b6ad0
int3
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ca15c
mov rcx, r14
call fcn.140043f10
mov rcx, rsi
mov rax, rdi
call qword [0x14017da28]
xor eax, eax
jmp 0x14006137c

Function at 0x140063f00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14019fc98], 0
jne 0x140063f3d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140063f30
mov dword [rdi], eax
mov dword [0x14019fca0], eax
mov qword [0x14019fc98], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3