joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400de9d0
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400ded20
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14022e9f8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400dea2e
jnp 0x1400dea94
ucomisd xmm0, xmm6
jne 0x1400dea36
jnp 0x1400dea90
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401f6bf0]
subpd xmm1, xmmword [0x1401f6c00]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401f6c10]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110d20
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 0x1400dea68
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 [0x14022ea08]
mov ecx, dword [0x140226b84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400deba9
mov eax, dword [0x14022ea18]
mov ecx, dword [0x140226b84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400debe3
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 [0x14022ea10]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401f6be8]
ucomisd xmm2, xmm1
ja 0x1400dea2e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14022ea00]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401f6bf0]
subpd xmm0, xmmword [0x1401f6c00]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14022e9f8], xmm0
jmp 0x1400dea2e
lea rcx, [0x14022ea08]
call fcn.14010f8b0
cmp dword [0x14022ea08], 0xffffffff
jne 0x1400deadd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14022ea00], rdx
lea rcx, [0x14022ea08]
call fcn.14010f948
jmp 0x1400deadd
lea rcx, [0x14022ea18]
call fcn.14010f8b0
cmp dword [0x14022ea18], 0xffffffff
jne 0x1400deb02
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14022ea10], rax
lea rcx, [0x14022ea18]
call fcn.14010f948
jmp 0x1400deb02
Function at 0x1400df330
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401e7a90]
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.1400eb5f0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400e22c0
mov ebp, 0xffffffff
test r14, r14
js 0x1400df433
test esi, esi
js 0x1400df433
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f7f70
test al, al
jne 0x1400df47b
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 0x1400df463
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400df476
lea rcx, [rsp + 0x30]
call fcn.1400f8000
lea rcx, [rsp + 0x60]
call fcn.1400e2500
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140110d20
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 0x1400df429
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140181520
jmp 0x1400df3eb
Function at 0x1400df4a0
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x1401e7a90]
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.1400eb5f0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e22c0
test esi, esi
js 0x1400df5b1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400f7f70
test al, al
jne 0x1400df5d0
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 0x1400df5bd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400df5b8
lea rcx, [rsp + 0x30]
call fcn.1400f8000
lea rcx, [rsp + 0x50]
call fcn.1400e2500
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140110d20
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400df584
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400df57a
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140181520
jmp 0x1400df54a

Function at 0x1400df5f0
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401e7a90]
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.1400eb5f0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400e22c0
mov ebp, 0xffffffff
test r14, r14
js 0x1400df6f0
test esi, esi
js 0x1400df6f0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f7f70
test al, al
jne 0x1400df720
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.1400f8000
lea rcx, [rsp + 0x60]
call fcn.1400e2500
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140110d20
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.140181520
jmp 0x1400df6a7
Function at 0x1400eb420
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
jb 0x1400eb44a
call fcn.1400eb610
cmp qword [rsi], r14
je 0x1400eb479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400eb498
cmp r15, 2
jb 0x1400eb471
mov qword [rsi], r14
call fcn.1400eb610
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400eb610
mov rcx, qword [rsi]
call fcn.1400de840
mov qword [rsi], 0
jmp 0x1400eb463

Function at 0x1400ee510
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.1400df1f0
mov qword [rsi], 0
test rax, rax
je 0x1400ee563
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ee597
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400ee55b
mov qword [rsi], rbx
call fcn.1400eb610
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400ebdc0
lea rcx, [rsi + 0x20]
call fcn.1400f7f90
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.1400eb610
mov rcx, qword [rsi]
call fcn.1400de840
mov qword [rsi], 0
jmp 0x1400ee549
Function at 0x1400eec90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [0x14022ecc8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400eeded
mov rsi, rcx
lea r14, [0x1401f78c0]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1401e7a90]
lea rbx, [rsp + 0x30]
xor r12d, r12d
mov rax, r12
shl rax, 4
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rdx, qword [rax + r14]
test rdx, rdx
je 0x1400eedff
mov r13, qword [rax + r14 + 8]
mov byte [rsp + 0x47], r13b
cmp rbx, rdx
ja 0x1400eed2c
lea rax, [rsp + r13*2]
add rax, 0x30
cmp rax, rdx
ja 0x1400eee2b
lea r8, [r13*2]
mov rcx, rbx
call fcn.1401127b0
mov word [rsp + r13*2 + 0x30], 0
movzx eax, byte [rsp + 0x47]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rsp + 0x30]
mov r8, rbx
cmovs rdx, qword [rsp + 0x38]
cmovs r8, rcx
mov r9, qword [rsi + 8]
cmp r9, rdx
mov r10, rdx
cmovb r10, r9
test r10, r10
js 0x1400eedfc
cmp rdx, r9
ja 0x1400eedd2
mov bpl, 1
test rdx, rdx
je 0x1400eedf1
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x1400eedd2
inc r10
cmp rdx, r10
jne 0x1400eed8c
mov rdi, rdx
test al, al
js 0x1400eedf5
test bpl, bpl
je 0x1400eedd6
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140110d20
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x1400eeda3
inc r12
movzx eax, byte [0x14022ecc8]
xor rax, 3
cmp r12, rax
jb 0x1400eecee
xor edi, edi
jmp 0x1400eedac
xor edi, edi
jmp 0x1400eeda3
call fcn.14010f794
jmp 0x1400eeda7
int3
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x136
call fcn.14014d6e0
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0x138
call fcn.14014d6e0
int3
Function at 0x1400f53d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400f5401
call fcn.1400eb610
cmp qword [rsi + 8], rbx
je 0x1400f5433
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f5440
cmp r14, 2
jb 0x1400f542b
mov qword [rsi + 8], rbx
call fcn.1400eb610
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400eb610
mov rcx, qword [rsi + 8]
call fcn.1400de840
mov qword [rsi + 8], 0
jmp 0x1400f541c

Function at 0x1400f5460
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400f5491
call fcn.1400eb610
cmp qword [rsi + 8], rbx
je 0x1400f54c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f54d0
cmp r14, 2
jb 0x1400f54bb
mov qword [rsi + 8], rbx
call fcn.1400eb610
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400eb610
mov rcx, qword [rsi + 8]
call fcn.1400de840
mov qword [rsi + 8], 0
jmp 0x1400f54ac

Function at 0x1400f54f0
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 dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400f5522
call fcn.1400eb610
cmp qword [rsi + 8], r14
je 0x1400f5554
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f556f
cmp r15, 2
jb 0x1400f554c
mov qword [rsi + 8], r14
call fcn.1400eb610
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400f5587
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400eb610
mov rcx, qword [rsi + 8]
call fcn.1400de840
mov qword [rsi + 8], 0
jmp 0x1400f553d
call fcn.1400eb610
mov rcx, qword [rdi]
call fcn.1400de840
mov qword [rdi], 0
jmp 0x1400f5560
Function at 0x1400f6f70
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14022ef30]
mov ecx, dword [0x140226b84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6fd0
mov rsi, qword [0x14022ef28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140110d20
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14022ef30]
call fcn.14010f8b0
cmp dword [0x14022ef30], 0xffffffff
jne 0x1400f6fac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140112e60
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.14010f758
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14022ef78]
mov ecx, dword [0x140226b84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f7090
lea r8, [0x14022ef48]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14007fb70
mov qword [0x14022ef28], rsi
lea rcx, [0x14022ef30]
call fcn.14010f948
jmp 0x1400f6fac
lea rcx, [0x14022ef78]
call fcn.14010f8b0
cmp dword [0x14022ef78], 0xffffffff
jne 0x1400f7061
xorps xmm0, xmm0
movups xmmword [0x14022ef68], xmm0
movups xmmword [0x14022ef58], xmm0
movups xmmword [0x14022ef48], xmm0
lea rcx, [0x14022ef48]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14022ef78]
call fcn.14010f948
jmp 0x1400f7061
Function at 0x1400fe960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400fe98b
xor ecx, ecx
lea r9, [0x1401fdd00]
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 0x1400fe970
ret
Function at 0x140100e10
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 0x140100eaa
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140100e94
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140100e71
mov qword [rsi], rdi
call fcn.1400eb610
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 0x140100eae
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400eb610
mov rcx, qword [rsi]
call fcn.1400de840
mov qword [rsi], 0
jmp 0x140100e5f
mov byte [rsi + 8], 0
int3
Function at 0x140104620
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140094130]
mov qword [rsp + 0x20], rax
lea rcx, [0x140234b48]
lea rdx, [0x140093fd0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401046b4
cmp dword [0x140234b50], 0
jne 0x1401046b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140234b54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401046b0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140110d20
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140104698
call fcn.140125320
int3
Function at 0x14010ff54
Capabilities:
Parse pe header

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

Function at 0x1401103dc
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 0x140110454
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140110454
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 0x140110454
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140110448
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140110466
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140110436
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 0x140110456

Function at 0x14011f208
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 0x14011f23f
call fcn.140122738
mov dword [rax], 0x16
call fcn.1401254dc
xor eax, eax
jmp 0x14011f2cd
mov rdx, r9
mov rcx, r8
call fcn.14011f2f0
mov rbx, rax
test rax, rax
je 0x14011f2ca
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14011f360]
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 0x14011f2b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140122778
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14011f29e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14011f2ad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400df810
jmp 0x14011f2ca
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14011f2c7
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 0x14011f434
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14011f57c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14011f5eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011f5eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011f5eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011f5eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011f5eb
cmp dword [rcx + 0x84], 0xe
jbe 0x14011f5eb
cmp dword [rcx + 0xf8], 0
je 0x14011f5eb
mov ecx, ebx
call fcn.14011f4b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14011f710
nop
cmp dword [rbp + 0x20], 0
je 0x14011f639
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14011f548
int3
Function at 0x14011f8bc
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.140124308
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140124308
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14011fa0c
cmp rax, 0xffffffffffffffff
je 0x14011fa0c
xor edi, edi
test rbp, rbp
jle 0x14011f9b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400df8b0
mov rbx, rax
test rax, rax
jne 0x14011f944
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14011f9ad
mov edx, 0x8000
mov ecx, r14d
call fcn.1401253f8
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.140129b50
cmp eax, 0xffffffff
je 0x14011f98d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14011f954
mov edx, r15d
mov ecx, r14d
call fcn.1401253f8
jmp 0x14011f9ad
cmp byte [rsi + 0x38], dil
je 0x14011f9a4
cmp dword [rsi + 0x34], 5
jne 0x14011f9a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14011f9ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400df810
jmp 0x14011fa20
jns 0x14011fa20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140124308
cmp rax, 0xffffffffffffffff
jne 0x14011f9d8
cmp byte [rsi + 0x30], dil
je 0x14011fa20
mov edi, dword [rsi + 0x2c]
jmp 0x14011fa20
mov ecx, r14d
call fcn.14012335c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14011fa20
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 0x14011fa20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14011fa19
mov eax, dword [rsi + 0x2c]
jmp 0x14011fa1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140124308
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