joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400426e0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140188040]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e67b0
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14004276b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400428d0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140042758
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
int3
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400427c2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400428de
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400427af
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
int3
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140042815
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400428ec
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140042806
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
int3
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b5c70
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
dec r14
jne 0x14004273f
jmp 0x14004276b
dec r14
jne 0x140042796
jmp 0x1400427c2
dec r14
jne 0x1400427ed
jmp 0x140042815
Function at 0x140049650
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140188040]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x14015deb0]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400497cc
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x14019a0b0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400d17cc
mov rcx, rbx
call fcn.1400d1378
sub r14, rax
lea rdx, [0x14016279e]
mov rcx, rbx
mov r8, r14
call fcn.1400d17cc
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400e67b0
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 0x14004972c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d1814
test eax, eax
je 0x1400497f0
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 0x140049767
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d1814
test eax, eax
je 0x1400497f0
xor eax, eax
mov byte [0x140199ca1], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14016f844]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400497f7
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x14017b968]
test eax, eax
je 0x1400497f7
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x14019a2b0], al
mov byte [0x140199ca0], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b5c70
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140049769
xor eax, eax
jmp 0x1400497bf
Function at 0x140049a20
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 [0x140188040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x140049a54
mov rax, qword [rsi + 8]
test rax, rax
je 0x140049b4f
bt ebx, 8
jae 0x140049a70
mov eax, ebx
and eax, 0x200
jne 0x140049b4f
cmp edi, 2
lea rax, [0x140199cb0]
lea rcx, [0x140199eb0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x140049b4f
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 0x140049b4f
bt ebx, 8
jb 0x140049b4f
shr ebx, 9
and ebx, 1
or bl, byte [0x14019a2b0]
je 0x140049b4f
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x140049b6e
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 0x140049b38
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
int3
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140049b18
cmp dword [rsp + 0x2c], 0
jne 0x140049bee
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b5c70
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 0x140049af7
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140049bfa
mov rax, qword [rsi]
cmp qword [rsp + 0x30], 0
je 0x140049c30
mov rbx, qword [rsp + 0x38]
sub rbx, rax
sar rbx, 1
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1400d1378
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, rax
call fcn.1400355e0
jmp 0x140049b4f
ud2
Function at 0x140052ca0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x140188040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x140052d10
mov ecx, dword [r13 + 0x2c]
int3
mov rax, qword [r13 + 0x10]
lea rcx, [0x140129410]
cmp rax, rcx
jne 0x140052de5
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x1401721d0]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x1401721e0]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x14017b968]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x14017b968]
mov rax, qword [r14]
test rsi, rsi
je 0x140052d9a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.14009b2a0
mov r14d, 1
mov rcx, qword [rsp + 0x28]
int3
lea rcx, [rsp + 0x20]
call qword [0x14017b968]
jmp 0x140052d5f

Function at 0x140052e60
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [rcx]
cmp rax, rdx
je 0x140052e98
mov rdi, rdx
mov ecx, dword [rdx + 0x2c]
int3
mov rax, qword [rax + 0x10]
lea rcx, [0x140129410]
cmp rax, rcx
jne 0x140052ef0
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 [0x1401721d0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1401721e0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x14017b968]
jmp 0x140052edf
Function at 0x140054ea0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140188040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140054ff2
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14015deb0]
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 [0x14017b968]
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 [0x14017b968]
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 [0x14017b968]
test r14, r14
je 0x140054f83
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140054f73
mov ecx, 1
int3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b5c70
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140054fd5
Function at 0x140055050
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 [0x140188040]
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 0x140055221
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 [0x1401721d0]
movaps xmm8, xmmword [0x1401721e0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
cmp rax, rsi
je 0x140055118
mov ecx, dword [rsi + 0x2c]
int3
mov rax, qword [rax + 0x10]
lea rcx, [0x140129410]
cmp rax, rcx
jne 0x140055278
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 [0x14017b968]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x14017b968]
cmp rdi, r13
jb 0x1400551c8
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x14017b968]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.14009b2a0
add rbx, r13
inc r14d
sub rdi, r13
jne 0x1400550da
jmp 0x14005521c
movaps xmm0, xmmword [0x14015deb0]
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 [0x14017b968]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.14009b2a0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400e6110
mov esi, 1
mov rcx, qword [rsp + 0x38]
int3
lea rcx, [rsp + 0x30]
call qword [0x14017b968]
jmp 0x140055154
Function at 0x140058fc0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x140058fc0
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 0x140058fe1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140059001
cmp byte [r14 + 0x50], 1
je 0x14005908c
or edi, 0x20000000
test dil, 8
jne 0x140059097
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005901f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x140059030
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x1400590be
cmp byte [r14 + 0x18], 1
je 0x1400590cf
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400590df
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 0x1400590b4
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 0x140059001
cmp byte [r14 + 0x68], 1
jne 0x1400590a9
or edi, 0x40000000
jmp 0x14005900b
or edi, 0x10000000
jmp 0x14005900b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140059077
lea rcx, [r14 + 0x20]
call fcn.1400373f0
mov r15, rax
jmp 0x14005903b
mov rcx, r14
call fcn.1400373f0
mov r9, rax
jmp 0x140059049
cmp ebx, 4
jne 0x1400590ee
mov edx, 6
jmp 0x140059056
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140059100
mov edx, 7
jmp 0x140059056
cmp ebx, 1
jne 0x14005910f
mov edx, 4
jmp 0x140059056
xor edx, edx
jmp 0x140059056
Function at 0x140080230
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14008032e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140162400]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1400802a0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140162420]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1400803be
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140080394
pmovzxdq xmm1, qword [0x140162420]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140162410], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140086c20
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140086cba
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140086ca4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140086c81
mov qword [rsi], rdi
call fcn.14008b550
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140086cbe
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008b550
mov rcx, qword [rsi]
call fcn.140086bf0
mov qword [rsi], 0
jmp 0x140086c6f
mov byte [rsi + 8], 0
int3

Function at 0x140086ef0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140086f38
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140086f41
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140086f28
mov qword [rdi], rsi
call fcn.14008b550
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008b550
mov rcx, qword [rdi]
call fcn.140086bf0
mov qword [rdi], 0
jmp 0x140086f16

Function at 0x14008cc10
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140087e10
mov qword [rsi], 0
test rax, rax
je 0x14008cc63
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14008cc97
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14008cc5b
mov qword [rsi], rbx
call fcn.14008b550
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14008b580
lea rcx, [rsi + 0x20]
int3
call fcn.14008b550
mov rcx, qword [rsi]
call fcn.140086bf0
mov qword [rsi], 0
jmp 0x14008cc49
Function at 0x140093f80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x140094083
mov rsi, rcx
mov rcx, qword [rdx]
xor r8d, r8d
xor r9d, r9d
or r9, qword [rcx + r8*8]
inc r8
cmp rax, r8
jne 0x140093f9f
test r9, r9
je 0x140094083
test eax, eax
jle 0x1400940c3
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x1400940c3
cmp dword [rdx + 0x10], 0
jne 0x140094121
cmp eax, 0x401
jae 0x1400940e3
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.140050330
test rax, rax
je 0x140094144
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x1400940bb
mov rcx, qword [rdi]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x140094019
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x140094000
jmp 0x1400940a8
mov dword [rsi + 0x20], eax
mov rax, qword [rdi]
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
and rdi, r9
xor r11, r9
shr r11, 1
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x140094039
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
int3
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14009401c
jne 0x14009401c
jmp 0x1400940af
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400940a1
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x1400940ec
test r8, r8
je 0x140093fdd
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, 0x66
jmp 0x1400940a1
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400940a1
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400940a1
Function at 0x140094f40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x1400950d4
test dl, dl
jne 0x1400950d4
mov rdi, r9
lea r13, [rsi + 0x50]
mov rbp, qword [rsi + 0x150]
mov r14, qword [rsi + 0x158]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x140094fc4
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x14017b968]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
jne 0x1400950e9
test byte [rsi + 0x168], 1
je 0x14009500d
test r15, r15
je 0x14009500d
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r15
mov r9, r12
call fcn.14000d940
add rbx, rax
add rdi, rax
sub r15, rax
mov qword [rsp + 0x48], r14
mov rax, qword [rsp + 0xc8]
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r15, 0xc00
mov qword [rsp + 0x40], r13
jae 0x140095132
mov r13, r12
mov r14, r15
and r14, 0xff0
je 0x14009508c
mov r12, r15
shr r12, 4
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, r13
call qword [0x14017b968]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rbx, r14
and r15d, 0xf
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov r9, r14
mov rax, qword [rsp + 0x48]
call qword [0x14017b968]
add rdi, r14
test r15, r15
je 0x1400950e5
mov rax, qword [rsi + 0x160]
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r8, r13
call qword [0x14017b968]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx + rcx]
mov byte [rdi + rcx], dl
xor byte [rsi + rcx + 0x40], dl
inc rax
cmp r15, rax
jne 0x1400950b1
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x1400950c9
test r15, r15
je 0x1400950c9
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx]
inc rbx
mov byte [rdi], dl
xor byte [rsi + rcx + 0x40], dl
inc rdi
inc eax
and eax, 0xf
setne cl
cmp r15, 1
lea r15, [r15 - 1]
setne dl
test cl, dl
jne 0x1400950ee
test eax, eax
jne 0x1400950c9
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x14017b968]
jmp 0x140094fd2
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x50], rcx
mov r14d, 0xc00
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov r13, rax
call qword [0x14017b968]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov rax, qword [rsp + 0x48]
call qword [0x14017b968]
mov rax, r13
add rdi, r14
add rbx, r14
add r15, 0xfffffffffffff400
cmp r15, 0xbff
jbe 0x140095031
jmp 0x140095141
Function at 0x14009b380
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14009b3a9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x14009b390
movzx eax, r9b
ret
xor eax, eax
ret