joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004e330
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 [0x14018f028]
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 0x14004e4fb
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 [0x140175920]
movaps xmm8, xmmword [0x140175930]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x14004e3f2
mov ecx, dword [rsi + 0x2c]
call fcn.140092160
test rax, rax
je 0x14004e54e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.1400921c0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x140123f00]
cmp rax, rcx
jne 0x14004e552
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 [0x1401812f8]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1401812f8]
cmp rdi, r13
jb 0x14004e4a2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1401812f8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140092200
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14004e3ba
jmp 0x14004e4f6
movaps xmm0, xmmword [0x140164170]
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 [0x1401812f8]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140092200
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400b56c0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400921c0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14004e562
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b3c20
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 0x14004e4fb
lea rcx, [rsp + 0x30]
call qword [0x1401812f8]
jmp 0x14004e42e
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1401812f8]
jmp 0x14004e50f
Function at 0x14004f8d0
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.14008f7f0
mov ebp, eax
bt eax, 0x1d
jb 0x14004f913
not ebp
test ebp, 0x128
jne 0x14004f939
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010eb0
mov ecx, 1
call fcn.14008f7f0
bt eax, 9
jae 0x14004f8f3
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ef40
mov ecx, 1
call fcn.14008f7f0
mov ebp, eax
bt eax, 0x1c
jae 0x14004f958
xor ecx, ecx
call fcn.14008f7f0
bt eax, 0x1e
jb 0x14004f982
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14004f974
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000df00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f210
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400100b0

Function at 0x14004f9f0
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.14008f7f0
bt eax, 0x1d
jb 0x14004fa70
mov ecx, 1
call fcn.14008f7f0
mov ebp, eax
bt eax, 0x1c
jae 0x14004fa46
xor ecx, ecx
call fcn.14008f7f0
bt eax, 0x1e
jae 0x14004fa46
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014f40
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14004fa62
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a80
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014000
mov ecx, 1
call fcn.14008f7f0
bt eax, 9
jae 0x14004fa11
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013c40
Function at 0x14004fe70
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401a1840]
mov ecx, dword [0x14019d770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004fed0
lea rsi, [0x1401a1838]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b3c20
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401a1840]
call fcn.1400b28c0
cmp dword [0x1401a1840], 0xffffffff
jne 0x14004feac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400b5d70
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, 0x88
call fcn.1400b2768
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401a1888]
mov ecx, dword [0x14019d770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004ff90
lea r8, [0x1401a1858]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140050090
mov qword [0x1401a1838], rsi
lea rcx, [0x1401a1840]
call fcn.1400b2958
jmp 0x14004feac
lea rcx, [0x1401a1888]
call fcn.1400b28c0
cmp dword [0x1401a1888], 0xffffffff
jne 0x14004ff61
xorps xmm0, xmm0
movups xmmword [0x1401a1878], xmm0
movups xmmword [0x1401a1868], xmm0
movups xmmword [0x1401a1858], xmm0
lea rcx, [0x1401a1858]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a1888]
call fcn.1400b2958
jmp 0x14004ff61

Function at 0x14004ffe0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401a1888]
mov ecx, dword [0x14019d770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005001b
movzx eax, word [0x1401a1858]
cmp eax, 9
jne 0x140050063
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401a1888]
call fcn.1400b28c0
cmp dword [0x1401a1888], 0xffffffff
jne 0x140050005
xorps xmm0, xmm0
movups xmmword [0x1401a1878], xmm0
movups xmmword [0x1401a1868], xmm0
movups xmmword [0x1401a1858], xmm0
lea rcx, [0x1401a1858]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a1888]
call fcn.1400b2958
jmp 0x140050005
test eax, eax
je 0x140050016
cmp eax, 6
jne 0x140050073
mov eax, 2
jmp 0x140050016
cmp eax, 0xc
jne 0x14005007f
mov eax, 3
jmp 0x140050016
mov eax, 4
jmp 0x140050016
Function at 0x140050d10
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 0x140050e05
cmp qword [rsi], 0
jne 0x140050e05
cmp dword [rsi + 0x14], 0
jne 0x140050e05
cmp qword [rsi + 8], 0
jne 0x140050e05
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140050d84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140050dec
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140050d7c
mov qword [rsi], r14
call fcn.140089ca0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x140050dbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140050dd4
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140050db6
mov qword [rsi + 8], r14
call fcn.140089ca0
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.140089ca0
mov rcx, qword [rsi + 8]
call fcn.14007df20
mov qword [rsi + 8], 0
jmp 0x140050da3
call fcn.140089ca0
mov rcx, qword [rsi]
call fcn.14007df20
mov qword [rsi], 0
jmp 0x140050d6a
mov rcx, rsi
call fcn.140079a10
lea rcx, [rsi + 8]
call fcn.140079a10
mov qword [rsi + 0x10], 0
mov rax, qword [rsi]
jmp 0x140050d4a
Function at 0x140054ff0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x140164170]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x14005516c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1401a1e90]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400d210c
mov rcx, rbx
call fcn.1400d1cb8
sub r14, rax
lea rdx, [0x140167caa]
mov rcx, rbx
mov r8, r14
call fcn.1400d210c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400b5d70
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 0x1400550cc
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d2154
test eax, eax
je 0x140055190
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 0x140055107
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d2154
test eax, eax
je 0x140055190
xor eax, eax
mov byte [0x1401a1a81], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401788f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140055197
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1401812f8]
test eax, eax
je 0x140055197
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1401a2090], al
mov byte [0x1401a1a80], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b3c20
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140055109
xor eax, eax
jmp 0x14005515f
Function at 0x140055490
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 [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x1400554c4
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400555bb
bt ebx, 8
jae 0x1400554e0
mov eax, ebx
and eax, 0x200
jne 0x1400555bb
cmp edi, 2
lea rax, [0x1401a1a90]
lea rcx, [0x1401a1c90]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400555bb
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 0x1400555bb
bt ebx, 8
jb 0x1400555bb
shr ebx, 9
and ebx, 1
or bl, byte [0x1401a2090]
je 0x1400555bb
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x1400555da
mov r14, qword [rsi]
mov r13, 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 rbp, r13
sub rbp, r15
jb 0x1400555a4
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400cbbe4
test eax, eax
je 0x1400555df
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140055584
cmp dword [rsp + 0x2c], 0
jne 0x14005565a
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b3c20
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 0x140055567
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400555ed
test ecx, ecx
jne 0x1400555a4
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140055619
cmp dword [rsp + 0x2c], 2
jne 0x14005562a
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
jmp 0x14005562a
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140055643
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x140055630
jmp 0x140055646
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400555ab
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140055666
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.140102bc0
jmp 0x1400555bb
Function at 0x140056d70
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140056de7
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140191640], rax
jne 0x140056dea
mov rsi, rcx
call fcn.14005b970
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140049ae0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400988f0
mov ecx, dword [0x1401a209c]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x14019d770]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x158], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x14005bc10
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 [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14005bbe0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401a6468]
lea rdx, [0x14005ba30]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14005bd08
cmp dword [0x1401a6470], 0
jne 0x14005bd15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401a6474]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14005bcbc
mov ecx, 1
mov edx, 0x28
call fcn.14008d940
test rax, rax
je 0x14005bd15
mov r14, rax
mov ecx, dword [0x1401a6474]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005bd0d
lea r15, [0x1401a6478]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401a6480]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b3c20
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400c85d0
mov rcx, r14
call fcn.14008d8a0
mov rcx, rsi
mov rax, rdi
call qword [0x1401812f8]
xor esi, esi
jmp 0x14005bcec

Function at 0x14005d2c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005d2d0
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 0x14005d2f1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005d311
cmp byte [r14 + 0x50], 1
je 0x14005d39c
or edi, 0x20000000
test dil, 8
jne 0x14005d3a7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005d32f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005d340
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005d3ce
cmp byte [r14 + 0x18], 1
je 0x14005d3df
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005d3ef
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 0x14005d3c4
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 0x14005d311
cmp byte [r14 + 0x68], 1
jne 0x14005d3b9
or edi, 0x40000000
jmp 0x14005d31b
or edi, 0x10000000
jmp 0x14005d31b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005d387
lea rcx, [r14 + 0x20]
call fcn.1400389b0
mov r15, rax
jmp 0x14005d34b
mov rcx, r14
call fcn.1400389b0
mov r9, rax
jmp 0x14005d359
cmp ebx, 4
jne 0x14005d3fe
mov edx, 6
jmp 0x14005d366
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005d410
mov edx, 7
jmp 0x14005d366
cmp ebx, 1
jne 0x14005d41f
mov edx, 4
jmp 0x14005d366
xor edx, edx
jmp 0x14005d366
Function at 0x14005d2d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14005d2d0
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 0x14005d2f1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14005d311
cmp byte [r14 + 0x50], 1
je 0x14005d39c
or edi, 0x20000000
test dil, 8
jne 0x14005d3a7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005d32f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14005d340
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005d3ce
cmp byte [r14 + 0x18], 1
je 0x14005d3df
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005d3ef
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 0x14005d3c4
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 0x14005d311
cmp byte [r14 + 0x68], 1
jne 0x14005d3b9
or edi, 0x40000000
jmp 0x14005d31b
or edi, 0x10000000
jmp 0x14005d31b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005d387
lea rcx, [r14 + 0x20]
call fcn.1400389b0
mov r15, rax
jmp 0x14005d34b
mov rcx, r14
call fcn.1400389b0
mov r9, rax
jmp 0x14005d359
cmp ebx, 4
jne 0x14005d3fe
mov edx, 6
jmp 0x14005d366
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005d410
mov edx, 7
jmp 0x14005d366
cmp ebx, 1
jne 0x14005d41f
mov edx, 4
jmp 0x14005d366
xor edx, edx
jmp 0x14005d366

Function at 0x14005d430
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 0x14005d468
cmp byte [r15 + 0x50], 1
je 0x14005d4ff
or edi, 0x20000000
test dil, 8
jne 0x14005d50a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14005d486
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14005d497
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x14005d531
cmp byte [r15 + 0x18], 1
je 0x14005d542
xor r9d, r9d
cmp ebx, 4
jne 0x14005d4f0
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 0x14005d527
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 0x14005d552
mov edx, 7
jmp 0x14005d4ba
or edi, 0x80000000
jmp 0x14005d468
cmp byte [r15 + 0x68], 1
jne 0x14005d51c
or edi, 0x40000000
jmp 0x14005d472
or edi, 0x10000000
jmp 0x14005d472
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005d4db
lea rcx, [r15 + 0x20]
call fcn.1400389b0
mov r14, rax
jmp 0x14005d4a2
mov rcx, r15
call fcn.1400389b0
mov r9, rax
jmp 0x14005d4b0
mov edx, 1
test ebx, ebx
je 0x14005d4ba
cmp ebx, 1
jne 0x14005d56e
mov edx, 4
jmp 0x14005d4ba
xor edx, edx
jmp 0x14005d4ba
Function at 0x14005df00
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400b3bc0
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140164170]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.1400829e0
test rsi, rsi
je 0x14005dfd8
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400b5d70
cmp byte [rsp + 0x47], 0
jns 0x14005df7b
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 0x14005dfaa
cmp eax, 0x7fff
jae 0x14005dffd
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.14003ce30
cmp byte [rsp + 0x47], 0
jns 0x14005dfbb
mov rcx, qword [rsp + 0x30]
call fcn.1400b27a4
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
call fcn.1400b3c20
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x47], 0
js 0x14005dfe6
lea rcx, [rsp + 0x30]
jmp 0x14005dfeb
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x14005dfaa
int3

Function at 0x1400600c0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x140164170]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140061780
test eax, eax
je 0x1400601d8
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx eax, byte [0x14017b56d]
cmp rsi, rax
jne 0x140060147
lea rbx, [0x14017b560]
test al, al
je 0x14006012f
lea rdx, [0x14017b564]
mov rcx, rdi
mov r8, rsi
call fcn.1400b55c0
test eax, eax
jne 0x140060147
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b3c20
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
movzx eax, byte [0x14017b72d]
cmp rsi, rax
jne 0x140060174
lea rbx, [0x14017b720]
test al, al
je 0x14006012f
lea rdx, [0x14017b724]
mov rcx, rdi
mov r8, rsi
call fcn.1400b55c0
test eax, eax
je 0x14006012f
movzx eax, byte [0x14017b64d]
cmp rsi, rax
jne 0x1400601a1
lea rbx, [0x14017b640]
test al, al
je 0x14006012f
lea rdx, [0x14017b644]
mov rcx, rdi
mov r8, rsi
call fcn.1400b55c0
test eax, eax
je 0x14006012f
movzx eax, byte [0x14017b8f5]
cmp rsi, rax
jne 0x1400601df
lea rbx, [0x14017b8e8]
test al, al
je 0x14006012f
lea rdx, [0x14017b8ec]
mov rcx, rdi
mov r8, rsi
call fcn.1400b55c0
test eax, eax
je 0x14006012f
jmp 0x1400601df
xor ebx, ebx
jmp 0x14006012f
movzx eax, byte [0x14017b80d]
cmp rsi, rax
jne 0x1400601d8
lea rbx, [0x14017b800]
test al, al
je 0x14006012f
lea rdx, [0x14017b804]
mov rcx, rdi
mov r8, rsi
call fcn.1400b55c0
test eax, eax
je 0x14006012f
jmp 0x1400601d8
Function at 0x140060b60
Capabilities:
Allocate thread local storage

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