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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14017d19b
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14017d1c9
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.1401abf00
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14017d194
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14017d170
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14017d1f5
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401abf3c
jmp 0x14017d16b
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14017d1b2
mov rcx, rdi
call fcn.140179120
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14017d1c9
mov rax, rdi
shr rax, 0x3d
je 0x14017d14f
call fcn.1401e8fd0
cmp rdi, rbx
jae 0x14017d18c
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14017d2f7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14017d2fc
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 0x14017d271
cmp rcx, rdi
jb 0x14017d278
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x14017d278
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 0x14017d18c
lea r11, [rdi - 1]
jmp 0x14017d2de
mov qword [rdx + rax*8], r8
jmp 0x14017d2cc
and rax, r11
cmp rax, rcx
je 0x14017d2c9
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x14017d291
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 0x14017d18c
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14017d297
cmp rax, rdi
jb 0x14017d29a
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14017d29a
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401cc02c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402b6fd0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14017d3af
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 0x14017d3af
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 0x14017d3ba
mov rcx, rax
call fcn.140179120
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14017d18c
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1402206b0
Function at 0x14017e0f0
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14017e420
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140303428]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14017e14e
jnp 0x14017e1b4
ucomisd xmm0, xmm6
jne 0x14017e156
jnp 0x14017e1b0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1402b6200]
subpd xmm1, xmmword [0x1402b6210]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1402c0cb0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401ad700
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 0x14017e188
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 [0x140303438]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14017e2c9
mov eax, dword [0x140303448]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14017e303
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 [0x140303440]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402c0ca8]
ucomisd xmm2, xmm1
ja 0x14017e14e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140303430]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1402b6200]
subpd xmm0, xmmword [0x1402b6210]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140303428], xmm0
jmp 0x14017e14e
lea rcx, [0x140303438]
call fcn.1401ac060
cmp dword [0x140303438], 0xffffffff
jne 0x14017e1fd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140303430], rdx
lea rcx, [0x140303438]
call fcn.1401ac0f8
jmp 0x14017e1fd
lea rcx, [0x140303448]
call fcn.1401ac060
cmp dword [0x140303448], 0xffffffff
jne 0x14017e222
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140303440], rax
lea rcx, [0x140303448]
call fcn.1401ac0f8
jmp 0x14017e222
Function at 0x14017e440
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 0x14017e4da
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14017e4c4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14017e4a1
mov qword [rsi], rdi
call fcn.14018d230
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 0x14017e4de
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14018d230
mov rcx, qword [rsi]
call fcn.14017db10
mov qword [rsi], 0
jmp 0x14017e48f
mov byte [rsi + 8], 0
int3

Function at 0x14017f0b0
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402af0f0]
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.14018d210
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140182070
mov ebp, 0xffffffff
test r14, r14
js 0x14017f1ac
test esi, esi
js 0x14017f1ac
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140197150
test al, al
jne 0x14017f1f2
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 0x14017f1da
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14017f1ed
lea rcx, [rsp + 0x30]
call fcn.1401971e0
lea rcx, [rsp + 0x60]
call fcn.1401822b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401ad700
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 0x14017f1a2
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140241ba0
jmp 0x14017f164
Function at 0x14017f210
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402af0f0]
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.14018d210
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140182070
test esi, esi
js 0x14017f319
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140197150
test al, al
jne 0x14017f338
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 0x14017f325
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14017f320
lea rcx, [rsp + 0x30]
call fcn.1401971e0
lea rcx, [rsp + 0x50]
call fcn.1401822b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14017f2ee
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14017f2e4
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140241ba0
jmp 0x14017f2b4

Function at 0x14017f360
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402af0f0]
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.14018d210
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140182070
mov ebp, 0xffffffff
test r14, r14
js 0x14017f459
test esi, esi
js 0x14017f459
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140197150
test al, al
jne 0x14017f487
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.1401971e0
lea rcx, [rsp + 0x60]
call fcn.1401822b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401ad700
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.140241ba0
jmp 0x14017f410
Function at 0x1401900a0
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.14017ef70
mov qword [rsi], 0
test rax, rax
je 0x1401900f3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140190127
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401900eb
mov qword [rsi], rbx
call fcn.14018d230
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14018d440
lea rcx, [rsi + 0x20]
call fcn.140197170
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.14018d230
mov rcx, qword [rsi]
call fcn.14017db10
mov qword [rsi], 0
jmp 0x1401900d9
Function at 0x140194340
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140305aa8]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401943a0
mov rsi, qword [0x140305aa0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140305aa8]
call fcn.1401ac060
cmp dword [0x140305aa8], 0xffffffff
jne 0x14019437c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401af840
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.1401abf00
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140305af0]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140194460
lea r8, [0x140305ac0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140126470
mov qword [0x140305aa0], rsi
lea rcx, [0x140305aa8]
call fcn.1401ac0f8
jmp 0x14019437c
lea rcx, [0x140305af0]
call fcn.1401ac060
cmp dword [0x140305af0], 0xffffffff
jne 0x140194431
xorps xmm0, xmm0
movups xmmword [0x140305ae0], xmm0
movups xmmword [0x140305ad0], xmm0
movups xmmword [0x140305ac0], xmm0
lea rcx, [0x140305ac0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140305af0]
call fcn.1401ac0f8
jmp 0x140194431
Function at 0x140196900
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x1401969d9
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x1401969dd
xor eax, eax
lea rcx, [0x1402cb790]
nop
movzx edx, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x140196950
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140195f40
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1401969f5
call fcn.140090c60
lea rax, [0x14008f760]
test rdi, rdi
je 0x1401969a0
lea rcx, [0x14008ea00]
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1401969c3
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x140196945
jmp 0x1401969df
bt eax, 9
jae 0x140196a15
call fcn.140091d50
lea rax, [0x140092220]
test rdi, rdi
je 0x1401969a0
lea rcx, [0x140091f20]
jmp 0x14019699d
call fcn.140240110
lea rax, [0x140240910]
test rdi, rdi
je 0x1401969a0
lea rcx, [0x14023fff0]
jmp 0x14019699d

Function at 0x14019aaa0
Capabilities:
Get thread local storage value

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

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14019d99b
xor ecx, ecx
lea r9, [0x1402cbf20]
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 0x14019d980
ret
Function at 0x1401a4390
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140143670]
mov qword [rsp + 0x20], rax
lea rcx, [0x140307e18]
lea rdx, [0x140143510]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401a4424
cmp dword [0x140307e20], 0
jne 0x1401a4420
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140307e24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401a4420
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1401a4408
call fcn.1401c6400
int3

Function at 0x1401ac994
Capabilities:
Parse pe header

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

Function at 0x1401ace1c
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 0x1401ace94
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401ace94
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 0x1401ace94
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401ace88
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1401acea6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401ace76
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 0x1401ace96
Function at 0x1401bfcb8
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 0x1401bfcef
call fcn.1401c3074
mov dword [rax], 0x16
call fcn.1401c4c0c
xor eax, eax
jmp 0x1401bfd7d
mov rdx, r9
mov rcx, r8
call fcn.1401bfda0
mov rbx, rax
test rax, rax
je 0x1401bfd7a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401bfe10]
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 0x1401bfd67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401c30b4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401bfd4e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401bfd5d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14016ee30
jmp 0x1401bfd7a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401bfd77
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 0x1401c036c
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.1401c534c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401c534c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401c04bc
cmp rax, 0xffffffffffffffff
je 0x1401c04bc
xor edi, edi
test rbp, rbp
jle 0x1401c0467
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14016eed0
mov rbx, rax
test rax, rax
jne 0x1401c03f4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401c045d
mov edx, 0x8000
mov ecx, r14d
call fcn.1401c64d8
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.1401ca880
cmp eax, 0xffffffff
je 0x1401c043d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401c0404
mov edx, r15d
mov ecx, r14d
call fcn.1401c64d8
jmp 0x1401c045d
cmp byte [rsi + 0x38], dil
je 0x1401c0454
cmp dword [rsi + 0x34], 5
jne 0x1401c0454
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
cmp byte [rsi + 0x30], dil
je 0x1401c045d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14016ee30
jmp 0x1401c04d0
jns 0x1401c04d0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401c534c
cmp rax, 0xffffffffffffffff
jne 0x1401c0488
cmp byte [rsi + 0x30], dil
je 0x1401c04d0
mov edi, dword [rsi + 0x2c]
jmp 0x1401c04d0
mov ecx, r14d
call fcn.1401c3f2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401c04d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohl
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
jmp 0x1401c04d0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401c04c9
mov eax, dword [rsi + 0x2c]
jmp 0x1401c04ce
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401c534c
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 0x1401c37b4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1402a55b0]
mov rbp, rcx
call fcn.1401d1634
xor edi, edi
test rax, rax
je 0x1401c389a
mov ebx, edi
call fcn.1401c3074
mov r14d, dword [rax]
call fcn.1401c3074
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1401ca504
mov rsi, rax
test rax, rax
je 0x1401c382b
call fcn.1401c3074
mov dword [rax], r14d
jmp 0x1401c3855
call fcn.1401c3074
cmp dword [rax], 0x22
jne 0x1401c3892
call fcn.1401c3074
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1401ca504
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401c3892
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401c3859
cmp rax, 3
je 0x1401c3874
mov rcx, rsi
call fcn.1401c3710
test al, al
je 0x1401c3885
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401c3885
mov dil, 1
mov rcx, rbx
call fcn.14016ee30
mov al, dil
jmp 0x1401c389c
mov rcx, rbx
call fcn.14016ee30
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401ad700
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret