joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140138500
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x14039de80]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401386ec
mov rsi, qword [0x14039de78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140138732
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x14039de28], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x14039de2c]
mov dword [0x14039de2c], ebx
cmovne ebp, ecx
mov eax, dword [0x14039de30]
cmp ebp, eax
je 0x1401386cb
test eax, eax
je 0x14013865c
mov rax, qword [0x140390990]
lea rcx, [0x1401387e0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14013873f
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 0x1401387aa
imul rax, rcx, 0xf4240
cqo
idiv qword [0x14039de98]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14039de88]
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 [0x14039de38]
cmp r8, 2
jb 0x140138761
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x14039de38], rax
mov ecx, dword [0x14039de30]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x14039de30], ebp
test ebx, ebx
je 0x1401386cb
mov rax, qword [0x140390990]
lea rcx, [0x1401387e0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140138750
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 0x140138779
imul rax, rcx, 0xf4240
cqo
idiv qword [0x14039de98]
mov qword [0x14039de88], rax
mov ecx, dword [0x14039de30]
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.14019b960
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14039de80]
call fcn.14019a1f0
cmp dword [0x14039de80], 0xffffffff
jne 0x14013853e
mov ecx, 8
call fcn.14019a06c
mov rsi, rax
mov rcx, rax
call fcn.140138bf0
mov qword [0x14039de78], rsi
lea rcx, [0x14039de80]
call fcn.14019a288
jmp 0x14013853e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140138556
mov rcx, rdi
call qword [0x1403be008]
mov rax, qword [rdi]
jmp 0x1401385f0
mov rcx, rdi
call qword [0x1403be008]
mov rax, qword [rdi]
jmp 0x1401386b8
cmp rcx, rax
je 0x140138649
add rcx, rdx
cmp rcx, 1
ja 0x140138649
jmp 0x1401387db
mov r8, qword [0x14039de98]
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 0x1401386b8
mov r8, qword [0x14039de98]
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 0x1401385eb
int3
Function at 0x140138880
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140138bd0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14039de48]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1401388de
jnp 0x140138944
ucomisd xmm0, xmm6
jne 0x1401388e6
jnp 0x140138940
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140311b50]
subpd xmm1, xmmword [0x140311b60]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x14031c2d8]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14019b960
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 0x140138918
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 [0x14039de58]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140138a59
mov eax, dword [0x14039de68]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140138a93
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 [0x14039de60]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14031c2d0]
ucomisd xmm2, xmm1
ja 0x1401388de
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14039de50]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140311b50]
subpd xmm0, xmmword [0x140311b60]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14039de48], xmm0
jmp 0x1401388de
lea rcx, [0x14039de58]
call fcn.14019a1f0
cmp dword [0x14039de58], 0xffffffff
jne 0x14013898d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14039de50], rdx
lea rcx, [0x14039de58]
call fcn.14019a288
jmp 0x14013898d
lea rcx, [0x14039de68]
call fcn.14019a1f0
cmp dword [0x14039de68], 0xffffffff
jne 0x1401389b2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14039de60], rax
lea rcx, [0x14039de68]
call fcn.14019a288
jmp 0x1401389b2
Function at 0x14013dbc0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x14030e560]
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.14014d840
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
mov ebp, 0xffffffff
test r14, r14
js 0x14013dcc3
test esi, esi
js 0x14013dcc3
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.14015c030
test al, al
jne 0x14013dd0b
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 0x14013dcf3
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14013dd06
lea rcx, [rsp + 0x30]
call fcn.14015c0c0
lea rcx, [rsp + 0x60]
call fcn.140141060
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14019b960
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x14013dcb9
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402785c0
jmp 0x14013dc7b
Function at 0x14013dd30
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x14030e560]
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.14014d840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
test esi, esi
js 0x14013de41
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14015c030
test al, al
jne 0x14013de60
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 0x14013de4d
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14013de48
lea rcx, [rsp + 0x30]
call fcn.14015c0c0
lea rcx, [rsp + 0x50]
call fcn.140141060
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14019b960
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14013de14
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14013de0a
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402785c0
jmp 0x14013ddda

Function at 0x14013de80
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x14030e560]
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.14014d840
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
mov ebp, 0xffffffff
test r14, r14
js 0x14013df80
test esi, esi
js 0x14013df80
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.14015c030
test al, al
jne 0x14013dfb0
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.14015c0c0
lea rcx, [rsp + 0x60]
call fcn.140141060
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14019b960
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1402785c0
jmp 0x14013df37
Function at 0x1401507e0
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.14013da80
mov qword [rsi], 0
test rax, rax
je 0x140150833
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140150867
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14015082b
mov qword [rsi], rbx
call fcn.14014d860
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14014e0a0
lea rcx, [rsi + 0x20]
call fcn.14015c050
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.14014d860
mov rcx, qword [rsi]
call fcn.140137f20
mov qword [rsi], 0
jmp 0x140150819

Function at 0x140155e40
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 0x140155eda
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140155ec4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140155ea1
mov qword [rsi], rdi
call fcn.14014d860
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 0x140155ede
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14014d860
mov rcx, qword [rsi]
call fcn.140137f20
mov qword [rsi], 0
jmp 0x140155e8f
mov byte [rsi + 8], 0
int3
Function at 0x140156110
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403a0570]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140156170
mov rsi, qword [0x1403a0568]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14019b960
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403a0570]
call fcn.14019a1f0
cmp dword [0x1403a0570], 0xffffffff
jne 0x14015614c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14019dab0
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.14019a06c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403a05b8]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140156230
lea r8, [0x1403a0588]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400b69d0
mov qword [0x1403a0568], rsi
lea rcx, [0x1403a0570]
call fcn.14019a288
jmp 0x14015614c
lea rcx, [0x1403a05b8]
call fcn.14019a1f0
cmp dword [0x1403a05b8], 0xffffffff
jne 0x140156201
xorps xmm0, xmm0
movups xmmword [0x1403a05a8], xmm0
movups xmmword [0x1403a0598], xmm0
movups xmmword [0x1403a0588], xmm0
lea rcx, [0x1403a0588]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403a05b8]
call fcn.14019a288
jmp 0x140156201
Function at 0x140156280
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403a0570]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401562e1
mov rax, qword [0x1403a0568]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14019b960
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403a0570]
call fcn.14019a1f0
cmp dword [0x1403a0570], 0xffffffff
jne 0x1401562bc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14019dab0
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.14019a06c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403a05b8]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401563a1
lea r8, [0x1403a0588]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400b69d0
mov qword [0x1403a0568], rsi
lea rcx, [0x1403a0570]
call fcn.14019a288
jmp 0x1401562bc
lea rcx, [0x1403a05b8]
call fcn.14019a1f0
cmp dword [0x1403a05b8], 0xffffffff
jne 0x140156372
xorps xmm0, xmm0
movups xmmword [0x1403a05a8], xmm0
movups xmmword [0x1403a0598], xmm0
movups xmmword [0x1403a0588], xmm0
lea rcx, [0x1403a0588]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403a05b8]
call fcn.14019a288
jmp 0x140156372

Function at 0x140157bd0
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 0x140157c35
xor r11d, r11d
mov rdi, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rbx, rsi
xor rbx, rdi
mov r14d, eax
lea rax, [rbx - 1]
mov r15, rsi
sub r15, rdi
xor r15, rsi
or r15, rbx
not rbx
and rax, rbx
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 0x140157beb
cmp rdx, r9
jb 0x140157c44
ja 0x140157c68
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 0x140157c46
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140157c3c
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140157c6b
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140157c3c
Function at 0x140157ca0
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 0x140157dd8
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 0x140157cc2
test r8, r8
je 0x140157dd8
test edx, edx
jle 0x140157e14
mov rax, qword [rdi]
test byte [rax], 1
je 0x140157e14
cmp dword [rdi + 0x10], 0
jne 0x140157e54
cmp edx, 0x401
jae 0x140157e74
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140157d45
mov rcx, rbx
call fcn.1400bc9d0
test eax, eax
je 0x140157e34
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x140157e0d
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.14019d400
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 0x140157e34
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x140157dfd
mov rdx, qword [rbx]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x140157d54
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 0x140157d8d
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.140299890
jmp 0x140157dce
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x140157d70
jmp 0x140157eb4
xor eax, eax
jmp 0x140157d39
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 0x140157df6
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 0x140157df6
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 0x140157df6
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x140157e7c
test rcx, rcx
je 0x140157d01
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 0x140157df6
mov dword [rsi + 0x28], 0
jmp 0x140157d70
Function at 0x140158890
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 [0x140381038]
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 [0x1403293f0]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140329400]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140158937
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 0x140158a01
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140011fc0
mov r8, r14
and r8, 0x3f
jne 0x140158a1c
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 0x140158a25
cmp rcx, 0x38
je 0x14015897a
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14019dab0
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.140011fc0
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 0x1401589d1
shr rbx, 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 0x1401589c0
lea rcx, [rsp + 0x28]
mov edx, 0x70
call fcn.14015e700
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14019b960
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.14019d400
jmp 0x140158937
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140158a04
cmp eax, 0x3f
je 0x140158a3d
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14019dab0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140011fc0
xor ecx, ecx
jmp 0x140158967
Function at 0x140158de0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140158f2d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14030e560]
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 [0x1403be008]
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 [0x1403be008]
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 [0x1403be008]
test r14, r14
je 0x140158ec3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140158eb3
lea r14, [rsi + 0xf8]
mov eax, dword [0x1403a0694]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140158f31
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x140158efe
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14019b960
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140158f10
bt eax, 9
jae 0x140158f51
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x140158efe
lea rcx, [0x140004520]
jmp 0x140158efb
call fcn.14025e2c0
lea rax, [0x14025eac0]
test r14, r14
je 0x140158efe
lea rcx, [0x14025e180]
jmp 0x140158efb
Function at 0x14015e7e0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14015e809
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 0x14015e7f0
movzx eax, r9b
ret
xor eax, eax
ret