joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132a90
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x140132afb
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x140132b29
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.140197388
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x140132af4
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x140132ad0
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x140132b55
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401973c4
jmp 0x140132acb
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x140132b12
mov rcx, rdi
call fcn.14012e5d0
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140132b29
mov rax, rdi
shr rax, 0x3d
je 0x140132aaf
call fcn.1401d1310
cmp rdi, rbx
jae 0x140132aec
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140132c57
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140132c5c
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140132bd1
cmp rcx, rdi
jb 0x140132bd8
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x140132bd8
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x140132aec
lea r11, [rdi - 1]
jmp 0x140132c3e
mov qword [rdx + rax*8], r8
jmp 0x140132c2c
and rax, r11
cmp rax, rcx
je 0x140132c29
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x140132bf1
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x140132aec
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x140132bf7
cmp rax, rdi
jb 0x140132bfa
xor edx, edx
div rdi
mov rax, rdx
jmp 0x140132bfa
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401cfd14
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14030a340]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x140132d0f
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x140132d0f
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x140132d1a
mov rcx, rax
call fcn.14012e5d0
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x140132aec
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14020a0f0
Function at 0x1401337d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140394b40]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401339bc
mov rsi, qword [0x140394b38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140133a02
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140394ae8], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x140394aec]
mov dword [0x140394aec], ebx
cmovne ebp, ecx
mov eax, dword [0x140394af0]
cmp ebp, eax
je 0x14013399b
test eax, eax
je 0x14013392c
mov rax, qword [0x140389940]
lea rcx, [0x140133ab0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140133a20
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x140133a49
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140394b58]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140394b48]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140394af8]
cmp r8, 2
jb 0x140133a31
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140394af8], rax
mov ecx, dword [0x140394af0]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140394af0], ebp
test ebx, ebx
je 0x14013399b
mov rax, qword [0x140389940]
lea rcx, [0x140133ab0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140133a0f
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x140133a7a
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140394b58]
mov qword [0x140394b48], rax
mov ecx, dword [0x140394af0]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140198b70
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140394b40]
call fcn.1401974e0
cmp dword [0x140394b40], 0xffffffff
jne 0x14013380e
mov ecx, 8
call fcn.140197388
mov rsi, rax
mov rcx, rax
call fcn.140133ec0
mov qword [0x140394b38], rsi
lea rcx, [0x140394b40]
call fcn.140197578
jmp 0x14013380e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140133826
mov rcx, rdi
call qword [0x1403b5008]
mov rax, qword [rdi]
jmp 0x140133988
mov rcx, rdi
call qword [0x1403b5008]
mov rax, qword [rdi]
jmp 0x1401338c0
cmp rcx, rax
je 0x140133919
add rcx, rdx
cmp rcx, 1
ja 0x140133919
jmp 0x140133aab
mov r8, qword [0x140394b58]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x1401338bb
mov r8, qword [0x140394b58]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x140133988
int3
Function at 0x140133b50
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140133ea0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140394b08]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140133bae
jnp 0x140133c14
ucomisd xmm0, xmm6
jne 0x140133bb6
jnp 0x140133c10
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140309570]
subpd xmm1, xmmword [0x140309580]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140313dc0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140133be8
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140394b18]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140133d29
mov eax, dword [0x140394b28]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140133d63
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x140394b20]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140313db8]
ucomisd xmm2, xmm1
ja 0x140133bae
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140394b10]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140309570]
subpd xmm0, xmmword [0x140309580]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140394b08], xmm0
jmp 0x140133bae
lea rcx, [0x140394b18]
call fcn.1401974e0
cmp dword [0x140394b18], 0xffffffff
jne 0x140133c5d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140394b10], rdx
lea rcx, [0x140394b18]
call fcn.140197578
jmp 0x140133c5d
lea rcx, [0x140394b28]
call fcn.1401974e0
cmp dword [0x140394b28], 0xffffffff
jne 0x140133c82
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140394b20], rax
lea rcx, [0x140394b28]
call fcn.140197578
jmp 0x140133c82
Function at 0x140138ee0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x140307280]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.140147cc0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.14013c390
mov ebp, 0xffffffff
test r14, r14
js 0x140138fdc
test esi, esi
js 0x140138fdc
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140157080
test al, al
jne 0x140139022
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013900a
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14013901d
lea rcx, [rsp + 0x30]
call fcn.140157110
lea rcx, [rsp + 0x60]
call fcn.14013c5d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140198b70
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x140138fd2
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402730a0
jmp 0x140138f94

Function at 0x140139040
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140307280]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.140147cc0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14013c390
test esi, esi
js 0x140139149
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140157080
test al, al
jne 0x140139168
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140139155
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x140139150
lea rcx, [rsp + 0x30]
call fcn.140157110
lea rcx, [rsp + 0x50]
call fcn.14013c5d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14013911e
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140139114
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402730a0
jmp 0x1401390e4
Function at 0x140139190
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x140307280]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.140147cc0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.14013c390
mov ebp, 0xffffffff
test r14, r14
js 0x140139289
test esi, esi
js 0x140139289
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140157080
test al, al
jne 0x1401392b7
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.140157110
lea rcx, [rsp + 0x60]
call fcn.14013c5d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140198b70
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402730a0
jmp 0x140139240
Function at 0x14014b2f0
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.140138da0
mov qword [rsi], 0
test rax, rax
je 0x14014b343
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14014b377
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14014b33b
mov qword [rsi], rbx
call fcn.140147ce0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140148690
lea rcx, [rsi + 0x20]
call fcn.1401570a0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140147ce0
mov rcx, qword [rsi]
call fcn.1401331f0
mov qword [rsi], 0
jmp 0x14014b329
Function at 0x140150e70
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 0x140150f0a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140150ef4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140150ed1
mov qword [rsi], rdi
call fcn.140147ce0
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 0x140150f0e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140147ce0
mov rcx, qword [rsi]
call fcn.1401331f0
mov qword [rsi], 0
jmp 0x140150ebf
mov byte [rsi + 8], 0
int3

Function at 0x140151140
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403971f8]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401511a0
mov rsi, qword [0x1403971f0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403971f8]
call fcn.1401974e0
cmp dword [0x1403971f8], 0xffffffff
jne 0x14015117c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14019acc0
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, 0x80
call fcn.140197388
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140397240]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140151260
lea r8, [0x140397210]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400af6e0
mov qword [0x1403971f0], rsi
lea rcx, [0x1403971f8]
call fcn.140197578
jmp 0x14015117c
lea rcx, [0x140397240]
call fcn.1401974e0
cmp dword [0x140397240], 0xffffffff
jne 0x140151231
xorps xmm0, xmm0
movups xmmword [0x140397230], xmm0
movups xmmword [0x140397220], xmm0
movups xmmword [0x140397210], xmm0
lea rcx, [0x140397210]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140397240]
call fcn.140197578
jmp 0x140151231
Function at 0x140152d20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140152d85
xor r11d, r11d
mov rbx, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rdi, rsi
xor rdi, rbx
mov r14d, eax
lea rax, [rdi - 1]
mov r15, rsi
sub r15, rbx
xor r15, rsi
or r15, rdi
not rdi
and rax, rdi
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
or r15, 1
and r14d, eax
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x140152d3b
cmp rdx, r9
jb 0x140152d94
ja 0x140152db8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140152d96
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140152d8c
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140152dbb
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140152d8c
Function at 0x140152f70
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 0x1401530a8
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x140152f92
test r8, r8
je 0x1401530a8
test edx, edx
jle 0x1401530e4
mov rax, qword [rdi]
test byte [rax], 1
je 0x1401530e4
cmp dword [rdi + 0x10], 0
jne 0x140153124
cmp edx, 0x401
jae 0x140153144
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140153015
mov rcx, rbx
call fcn.1400b4fb0
test eax, eax
je 0x140153104
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1401530dd
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.14019a610
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 0x140153104
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x1401530cd
mov rdx, qword [rbx]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x140153024
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 0x14015305d
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], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140293a80
jmp 0x14015309e
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x140153040
jmp 0x140153184
xor eax, eax
jmp 0x140153009
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 0x1401530c6
mov dword [rsp + 0x20], ILCreateFromPathW
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1401530c6
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 0x1401530c6
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14015314c
test rcx, rcx
je 0x140152fd1
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 0x1401530c6
mov dword [rsi + 0x28], 0
jmp 0x140153040
Function at 0x140153ac0
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movaps xmm0, xmmword [0x140320be0]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140320bf0]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140153b67
mov r14, rdx
mov rbx, rcx
lea eax, [rdx*8]
mov rcx, rdx
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp rdx, 0x40
jb 0x140153c30
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140011f80
mov r8, r14
and r8, 0x3f
jne 0x140153c4b
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x94]
mov ebp, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x140153c54
cmp rcx, 0x38
je 0x140153baa
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14019acc0
bswap r14d
lea rcx, [rsp + 0x28]
mov dword [rcx + 0x60], r14d
bswap ebp
mov dword [rcx + 0x64], ebp
mov r8d, 1
mov rdx, rdi
call fcn.140011f80
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x140153c00
shr ebx, 2
xor eax, eax
mov ecx, dword [rsp + rax*4 + 0x28]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp rbx, rax
jne 0x140153bef
lea rcx, [rsp + 0x28]
mov edx, 0x70
call fcn.140159930
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
call fcn.14019a610
jmp 0x140153b67
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140153c33
cmp eax, 0x3f
je 0x140153c6c
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14019acc0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140011f80
xor ecx, ecx
jmp 0x140153b97