joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b940
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14007b988
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 0x14007b991
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14007b978
mov qword [rdi], rsi
call fcn.14007c860
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.14007c860
mov rcx, qword [rdi]
call fcn.14007f5e0
mov qword [rdi], 0
jmp 0x14007b966

Function at 0x14007f220
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14007f267
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007f281
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14007f25f
mov qword [rsi], rdi
call fcn.14007c860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x14007f297
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x14007f24d
int3

Function at 0x14007f2d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jae 0x14007f349
cmp qword [rsi], r14
je 0x14007f324
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007f350
cmp r15, 2
jb 0x14007f31c
mov qword [rsi], r14
call fcn.14007c860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14007f366
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14007c860
jmp 0x14007f2f5
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x14007f30e
call fcn.14007c860
mov rcx, qword [rdi]
call fcn.14007f5e0
mov qword [rdi], 0
jmp 0x14007f33a

Function at 0x14007f3a0
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 0x14007f43a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007f424
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14007f401
mov qword [rsi], rdi
call fcn.14007c860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14007f43e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x14007f3ef
mov byte [rsi + 8], 1
int3
Function at 0x140083020
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 [0x140183028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140082260
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401957c0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14008307e
jnp 0x1400830e4
ucomisd xmm0, xmm6
jne 0x14008308a
jnp 0x1400831f9
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401674e0]
subpd xmm1, xmmword [0x1401674f0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140167500]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b0a80
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
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 [0x1401957d0]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140083200
mov eax, dword [0x1401957e0]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008323a
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 [0x1401957d8]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401674d8]
ucomisd xmm2, xmm1
ja 0x14008307e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401957c8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401674e0]
subpd xmm0, xmmword [0x1401674f0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401957c0], xmm0
jmp 0x14008307e
xor eax, eax
jmp 0x1400830bc
lea rcx, [0x1401957d0]
call fcn.1400af7b0
cmp dword [0x1401957d0], 0xffffffff
jne 0x14008312d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401957c8], rdx
lea rcx, [0x1401957d0]
call fcn.1400af848
jmp 0x14008312d
lea rcx, [0x1401957e0]
call fcn.1400af7b0
cmp dword [0x1401957e0], 0xffffffff
jne 0x140083152
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401957d8], rax
lea rcx, [0x1401957e0]
call fcn.1400af848
jmp 0x140083152
Function at 0x1400833e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140195808]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140083440
lea rsi, [0x140195800]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140195808]
call fcn.1400af7b0
cmp dword [0x140195808], 0xffffffff
jne 0x14008341c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400b2bb0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.1400af654
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140195850]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140083500
lea r8, [0x140195820]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14003ee60
mov qword [0x140195800], rsi
lea rcx, [0x140195808]
call fcn.1400af848
jmp 0x14008341c
lea rcx, [0x140195850]
call fcn.1400af7b0
cmp dword [0x140195850], 0xffffffff
jne 0x1400834d1
xorps xmm0, xmm0
movups xmmword [0x140195840], xmm0
movups xmmword [0x140195830], xmm0
movups xmmword [0x140195820], xmm0
lea rcx, [0x140195820]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140195850]
call fcn.1400af848
jmp 0x1400834d1
Function at 0x140083550
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140195808]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400835b0
mov rsi, qword [0x140195800]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140195808]
call fcn.1400af7b0
cmp dword [0x140195808], 0xffffffff
jne 0x14008358c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400b2bb0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.1400af654
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140195850]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140083670
lea r8, [0x140195820]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14003ee60
mov qword [0x140195800], rsi
lea rcx, [0x140195808]
call fcn.1400af848
jmp 0x14008358c
lea rcx, [0x140195850]
call fcn.1400af7b0
cmp dword [0x140195850], 0xffffffff
jne 0x140083641
xorps xmm0, xmm0
movups xmmword [0x140195840], xmm0
movups xmmword [0x140195830], xmm0
movups xmmword [0x140195820], xmm0
lea rcx, [0x140195820]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140195850]
call fcn.1400af848
jmp 0x140083641

Function at 0x14008c200
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140192794]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14008c234
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14008c234
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14008c22e

Function at 0x14008c240
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140192794]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14008c27e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14008c277
call fcn.140046d00
jmp 0x14008c25e
Function at 0x14008d770
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov al, byte [0x14019bf30]
test al, 1
je 0x14008d7a2
call fcn.140094810
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140090d30
test rsi, rsi
je 0x14008d7cf
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14008d7d9
add rdi, rbx
sub rsi, rbx
jne 0x14008d7ad
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140092980
Capabilities:
Encode data using xor

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

Function at 0x140094680
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14019de48]
cmp rsi, 1
jbe 0x1400946a3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14008c240
lea rcx, [0x14019de48]
call fcn.1400556b0
test al, al
je 0x1400946e8
xorps xmm0, xmm0
movups xmmword [0x14019de50], xmm0
lea rdi, [0x14019de48]
lea rsi, [0x14019de50]
mov rcx, rsi
xor edx, edx
call fcn.140046f10
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140055770
jmp 0x140094693
mov rsi, qword [0x14019de48]
jmp 0x140094693

Function at 0x14009bce0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14019df40]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009bd15
lea rcx, [0x14019df30]
add rsp, 0x28
jmp fcn.14008c200
lea rcx, [0x14019df40]
call fcn.1400af7b0
cmp dword [0x14019df40], 0xffffffff
jne 0x14009bd05
xorps xmm0, xmm0
movups xmmword [0x14019df30], xmm0
lea rcx, [0x14019df30]
xor edx, edx
call fcn.140046f10
lea rcx, [0x14019df40]
call fcn.1400af848
jmp 0x14009bd05
Function at 0x14009bd50
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x14009bea3
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x14009be9c
cmp r14, rax
ja 0x14009bea8
lea rcx, [r14*8]
call fcn.1400af654
shl rbx, 3
add rbx, rax
je 0x14009bead
lea rax, [rax + r14*8]
mov rcx, qword [rdi]
mov qword [rbx], rcx
mov qword [rdi], 0
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
je 0x14009be71
mov r8, qword [rdx - 8]
mov qword [rbx - 8], r8
mov qword [rdx - 8], 0
lea r8, [rdx - 8]
add rbx, 0xfffffffffffffff8
mov rdx, r8
cmp r8, rdi
jne 0x14009bdfb
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x14009be7c
add r14, 0xfffffffffffffff8
test r14, r14
je 0x14009bed9
mov rcx, qword [r14]
mov rax, qword [0x1401850e0]
and rax, rcx
cmp rax, qword [0x1401850c8]
je 0x14009be6a
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x14009be36
jmp 0x14009be7c
call fcn.1400806b0
jmp 0x14009be55
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x14009be8b
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400af690
xor eax, eax
jmp 0x14009bdcd
call fcn.1400c4bb0
call fcn.1400e1ba0
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400e3160
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.1400e3160
int3

Function at 0x14009cc00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14005e760]
mov qword [rsp + 0x20], rax
lea rcx, [0x14019df70]
lea rdx, [0x14005e5b0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009cc94
cmp dword [0x14019df78], 0
jne 0x14009cc90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14019df7c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14009cc90
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14009cc78
call fcn.1400c4bb0
int3
Function at 0x1400a02c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14019e0d0]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a0326
lea rcx, [0x14019e0c0]
xor edx, edx
call fcn.14008c240
mov eax, dword [0x14019e0e8]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a0361
lea rcx, [0x14019e0d8]
xor edx, edx
add rsp, 0x28
jmp fcn.14008c240
lea rcx, [0x14019e0d0]
call fcn.1400af7b0
cmp dword [0x14019e0d0], 0xffffffff
jne 0x1400a02e5
xorps xmm0, xmm0
movups xmmword [0x14019e0c0], xmm0
lea rcx, [0x14019e0c0]
xor edx, edx
call fcn.140046f10
lea rcx, [0x14019e0d0]
call fcn.1400af848
jmp 0x1400a02e5
lea rcx, [0x14019e0e8]
call fcn.1400af7b0
cmp dword [0x14019e0e8], 0xffffffff
jne 0x1400a0314
xorps xmm0, xmm0
movups xmmword [0x14019e0d8], xmm0
lea rcx, [0x14019e0d8]
xor edx, edx
call fcn.140046f10
lea rcx, [0x14019e0e8]
call fcn.1400af848
jmp 0x1400a0314

Function at 0x1400a04b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14019e0f0]
cmp rsi, 1
jbe 0x1400a04d3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14008c240
lea rcx, [0x14019e0f0]
call fcn.1400556b0
test al, al
je 0x1400a0518
xorps xmm0, xmm0
movups xmmword [0x14019e0f8], xmm0
lea rdi, [0x14019e0f0]
lea rsi, [0x14019e0f8]
mov rcx, rsi
xor edx, edx
call fcn.140046f10
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140055770
jmp 0x1400a04c3
mov rsi, qword [0x14019e0f0]
jmp 0x1400a04c3

Function at 0x1400a0970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400a099b
xor ecx, ecx
lea r9, [0x140171350]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x1400a0980
ret
Function at 0x1400bf2f0
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.1400d62c0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400d62c0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400bf440
cmp rax, 0xffffffffffffffff
je 0x1400bf440
xor edi, edi
test rbp, rbp
jle 0x1400bf3eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007f710
mov rbx, rax
test rax, rax
jne 0x1400bf378
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400bf3e1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c4c88
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.1400c880c
cmp eax, 0xffffffff
je 0x1400bf3c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400bf388
mov edx, r15d
mov ecx, r14d
call fcn.1400c4c88
jmp 0x1400bf3e1
cmp byte [rsi + 0x38], dil
je 0x1400bf3d8
cmp dword [rsi + 0x34], 5
jne 0x1400bf3d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400bf3e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007f670
jmp 0x1400bf454
jns 0x1400bf454
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400d62c0
cmp rax, 0xffffffffffffffff
jne 0x1400bf40c
cmp byte [rsi + 0x30], dil
je 0x1400bf454
mov edi, dword [rsi + 0x2c]
jmp 0x1400bf454
mov ecx, r14d
call fcn.1400c2bdc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400bf454
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 0x1400bf454
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400bf44d
mov eax, dword [rsi + 0x2c]
jmp 0x1400bf452
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400d62c0
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
Function at 0x1400c271c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400b0a20
sub rsp, rax
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400c2310
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400c276b
mov rax, rbp
jmp 0x1400c2873
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x193850]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400d6364
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x193850]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400c286f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c286f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400d6364
test rax, rax
js 0x1400c286f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400c286f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400c2861
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400c2861
cmp byte [rcx], 0xd
jne 0x1400c2847
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400c2856
cmp byte [rcx + 1], 0xa
jne 0x1400c2856
inc rcx
jmp 0x1400c2856
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x183310]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400c2829
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400c2873
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b0a80
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c4850
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140193850]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400c48ae
cmp word [rdx], r12w
jne 0x1400c48ae
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400c48b4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400c4a0f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400c49ea
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400c48ed
mov rcx, r9
jmp 0x1400c4910
cmp r9, rdx
jae 0x1400c4927
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400c48d1
jmp 0x1400c4a0f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c49e4
cmp dword [rsp + 0x80], edi
je 0x1400c49e4
mov rdx, r14
lea r11, [0x140193850]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400c49bd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400c4990
mov word [rbx], r12w
jmp 0x1400c4a0b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400c4999
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400c4a0b
cmp word [rsp + 0x70], r12w
jne 0x1400c49ca
cmp rbx, rsi
je 0x1400c498a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400d62c0
cmp word [rsp + 0x70], r12w
je 0x1400c4a0f
mov word [rbx], r13w
jmp 0x1400c4a0b
lea r11, [0x140193850]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400c4a07
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400c4a0f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret