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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140075140
cmp byte [rdi + 0x17], 0
jns 0x14004bf81
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14004bfa2
mov rcx, qword [rsp + 0x58]
call fcn.1400a7258
test rsi, rsi
je 0x14004c049
test edi, edi
je 0x14004c049
mov ecx, edi
add rcx, rcx
call fcn.1400a728c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140075140
cmp byte [r14 + 0x17], 0
jns 0x14004bfe5
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14004c005
mov rcx, qword [rsp + 0x58]
call fcn.1400a7258
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14004c067
mov rcx, rbx
call fcn.1400c4c68
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.140075170
cmp byte [rsi + 0x17], 0
js 0x14004c07a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400a7294
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400dbfa0
mov rcx, qword [rsi]
call fcn.1400a7258
jmp 0x14004c030

Function at 0x14004c460
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x14004c4d7
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x14017a620], rax
jne 0x14004c4da
mov rsi, rcx
call fcn.140093820
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.14004c4f0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14008be20
mov ecx, dword [0x14018c9e0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140186750]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x150], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x14004edc0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x14014d410]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.14004e850
xor edi, edi
test eax, eax
je 0x14004ee4d
lea rcx, [rsp + 0x20]
call fcn.14008d830
movzx r15d, byte [0x1401632a5]
cmp rax, r15
jne 0x14004ee68
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008d820
lea r14, [0x140163298]
test r15b, r15b
je 0x14004ee43
lea rdx, [0x14016329c]
mov rcx, rax
mov r8, rbx
call fcn.1400aa070
test eax, eax
jne 0x14004ee68
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a86d0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.14008d830
movzx r15d, byte [0x140163385]
cmp rax, r15
jne 0x14004eeae
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008d820
lea r14, [0x140163378]
test r15b, r15b
je 0x14004ee43
lea rdx, [0x14016337c]
mov rcx, rax
mov r8, rbx
call fcn.1400aa070
test eax, eax
je 0x14004ee43
lea rcx, [rsp + 0x20]
call fcn.14008d830
movzx r15d, byte [0x140163465]
cmp rax, r15
jne 0x14004eefc
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008d820
lea r14, [0x140163458]
test r15b, r15b
je 0x14004ee43
lea rdx, [0x14016345c]
mov rcx, rax
mov r8, rbx
call fcn.1400aa070
test eax, eax
je 0x14004ee43
lea rcx, [rsp + 0x20]
call fcn.14008d830
movzx r15d, byte [0x140163545]
cmp rax, r15
jne 0x14004ef4a
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008d820
lea r14, [0x140163538]
test r15b, r15b
je 0x14004ee43
lea rdx, [0x14016353c]
mov rcx, rax
mov r8, rbx
call fcn.1400aa070
test eax, eax
je 0x14004ee43
lea rcx, [rsp + 0x20]
call fcn.14008d830
movzx r15d, byte [0x14016362d]
cmp rax, r15
jne 0x14004ee4d
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14008d820
lea r14, [0x140163620]
test r15b, r15b
je 0x14004ee43
lea rdx, [0x140163624]
mov rcx, rax
mov r8, rbx
call fcn.1400aa070
test eax, eax
je 0x14004ee43
jmp 0x14004ee4d
Function at 0x140051920
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 [0x140178028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400518f0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14018d7d0]
lea rdx, [0x140051740]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140051a18
cmp dword [0x14018d7d8], 0
jne 0x140051a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14018d7dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400519cc
mov ecx, 1
mov edx, 0x28
call fcn.14007b3b0
test rax, rax
je 0x140051a25
mov r14, rax
mov ecx, dword [0x14018d7dc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140051a1d
lea r15, [0x14018d7e0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14018d7f0]
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.1400a86d0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400bcbf0
mov rcx, r14
call fcn.14007b310
mov rcx, rsi
mov rax, rdi
call qword [0x14016ac98]
xor esi, esi
jmp 0x1400519fc

Function at 0x140052d10
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14018d828], 0
jne 0x140052d4d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140052d40
mov dword [rdi], eax
mov dword [0x14018d830], eax
mov qword [0x14018d828], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x1400567b0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400568d1
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005690d
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140056915
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140056907
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140056919
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x140056900
xor r10d, r10d
jmp 0x14005680f
xor eax, eax
jmp 0x1400568a4
cmp byte [r8 + 0x1a], 0
je 0x140056904
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140056904
cmp ecx, 0x666f736f
jne 0x140056904
cmp edx, 0x76482074
jne 0x140056904
mov byte [r8 + 0x19], 1
jmp 0x140056904
Function at 0x14006ec30
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
jae 0x14006edad
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140150620]
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 0x14006ed11
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 0x14006ece7
movdqa xmm1, xmmword [0x140150620]
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 [0x140150630], 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
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140150610]
nop word cs:[rax + 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 0x14006edd0
jmp 0x14006ec82
Function at 0x140071e40
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 0x140071eda
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140071ec4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140071ea1
mov qword [rsi], rdi
call fcn.140077d70
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 0x140071ede
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140077d70
mov rcx, qword [rsi]
call fcn.140071e10
mov qword [rsi], 0
jmp 0x140071e8f
mov byte [rsi + 8], 0
int3

Function at 0x140072070
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400720b8
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 0x1400720c1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400720a8
mov qword [rdi], rsi
call fcn.140077d70
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.140077d70
mov rcx, qword [rdi]
call fcn.140071e10
mov qword [rdi], 0
jmp 0x140072096

Function at 0x140073880
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 [0x140178028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14014d410]
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.140077d50
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14007d050
test esi, esi
js 0x140073985
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14007e350
test al, al
jne 0x140073991
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 0x1400739ad
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14007398c
lea rcx, [rsp + 0x30]
call fcn.14007e6b0
lea rcx, [rsp + 0x50]
call fcn.14007d0d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a86d0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14007395a
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400fb2a0
jmp 0x140073920
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140073950
Function at 0x14007a1e0
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.140073740
mov qword [rsi], 0
test rax, rax
je 0x14007a233
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007a267
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14007a22b
mov qword [rsi], rbx
call fcn.140077d70
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140077f20
lea rcx, [rsi + 0x20]
call fcn.14007e370
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.140077d70
mov rcx, qword [rsi]
call fcn.140071e10
mov qword [rsi], 0
jmp 0x14007a219
Function at 0x140089a00
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 0x140089b40
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 0x140089a22
test r8, r8
je 0x140089b40
test edx, edx
jle 0x140089b87
mov rax, qword [rdi]
test byte [rax], 1
je 0x140089b87
cmp dword [rdi + 0x10], 0
jne 0x140089c07
cmp edx, 0x401
jae 0x140089bc7
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140089aa5
mov rcx, rbx
call fcn.140045150
test eax, eax
je 0x140089ba7
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x140089b78
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1400aa170
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 0x140089ba7
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x140089b7f
mov rcx, qword [rbx]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x140089ad5
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x140089abc
jmp 0x140089b65
mov dword [rsi + 0x20], eax
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 0x140089af5
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.140120b10
jmp 0x140089b36
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x140089ad8
xor eax, eax
jmp 0x140089a99
jne 0x140089ad8
jmp 0x140089b6c
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 0x140089b5e
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 0x140089b5e
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x140089bcf
test rcx, rcx
je 0x140089a61
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 0x140089b5e
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 0x140089b5e
Function at 0x14008d700
Capabilities:
Encode data using xor

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

Function at 0x140091a80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400518f0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14018d7d0]
lea rdx, [0x140051740]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140091b14
cmp dword [0x14018d7d8], 0
jne 0x140091b10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14018d7dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140091b10
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a86d0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140091af8
call fcn.1400bcbf0
int3
Function at 0x1400a6410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400a644c
je 0x1400a644b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x140165010]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400a6430
ret
int3

Function at 0x1400a79d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a7a22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a7a22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a7a22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a7a22
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a7a22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a7a24
xor al, al
add rsp, 0x28
ret

Function at 0x1400a7ef0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400a7f68
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400a7f68
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400a7f68
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400a7f5c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400a7f7a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400a7f4a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400a7f6a

Function at 0x1400b6bc8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b6bff
call fcn.1400b9ef4
mov dword [rax], 0x16
call fcn.1400bb88c
xor eax, eax
jmp 0x1400b6c8d
mov rdx, r9
mov rcx, r8
call fcn.1400b6cb0
mov rbx, rax
test rax, rax
je 0x1400b6c8a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b6d20]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b6c77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b9f34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b6c5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b6c6d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14007b310
jmp 0x1400b6c8a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b6c87
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b727c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400cc798
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400cc798
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b73cc
cmp rax, 0xffffffffffffffff
je 0x1400b73cc
xor edi, edi
test rbp, rbp
jle 0x1400b7377
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007b3b0
mov rbx, rax
test rax, rax
jne 0x1400b7304
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b736d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400bccc8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400c0830
cmp eax, 0xffffffff
je 0x1400b734d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b7314
mov edx, r15d
mov ecx, r14d
call fcn.1400bccc8
jmp 0x1400b736d
cmp byte [rsi + 0x38], dil
je 0x1400b7364
cmp dword [rsi + 0x34], 5
jne 0x1400b7364
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400b736d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007b310
jmp 0x1400b73e0
jns 0x1400b73e0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400cc798
cmp rax, 0xffffffffffffffff
jne 0x1400b7398
cmp byte [rsi + 0x30], dil
je 0x1400b73e0
mov edi, dword [rsi + 0x2c]
jmp 0x1400b73e0
mov ecx, r14d
call fcn.1400babac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b73e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400b73e0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b73d9
mov eax, dword [rsi + 0x2c]
jmp 0x1400b73de
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400cc798
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret