joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aa140
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 [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400aa470
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401ccf28]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400aa19e
jnp 0x1400aa204
ucomisd xmm0, xmm6
jne 0x1400aa1a6
jnp 0x1400aa200
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140189ce0]
subpd xmm1, xmmword [0x140189cf0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140191b28]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d8a20
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 0x1400aa1d8
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 [0x1401ccf38]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aa319
mov eax, dword [0x1401ccf48]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aa353
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 [0x1401ccf40]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140191b20]
ucomisd xmm2, xmm1
ja 0x1400aa19e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401ccf30]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140189ce0]
subpd xmm0, xmmword [0x140189cf0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401ccf28], xmm0
jmp 0x1400aa19e
lea rcx, [0x1401ccf38]
call fcn.1400d7650
cmp dword [0x1401ccf38], 0xffffffff
jne 0x1400aa24d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401ccf30], rdx
lea rcx, [0x1401ccf38]
call fcn.1400d76e8
jmp 0x1400aa24d
lea rcx, [0x1401ccf48]
call fcn.1400d7650
cmp dword [0x1401ccf48], 0xffffffff
jne 0x1400aa272
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401ccf40], rax
lea rcx, [0x1401ccf48]
call fcn.1400d76e8
jmp 0x1400aa272
Function at 0x1400aaab0
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 [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401849f0]
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.1400b75a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ad390
mov ebp, 0xffffffff
test r14, r14
js 0x1400aabb3
test esi, esi
js 0x1400aabb3
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400c0ad0
test al, al
jne 0x1400aabfb
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 0x1400aabe3
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400aabf6
lea rcx, [rsp + 0x30]
call fcn.1400c0b60
lea rcx, [rsp + 0x60]
call fcn.1400ad600
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d8a20
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 0x1400aaba9
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14013fd80
jmp 0x1400aab6b
Function at 0x1400aac20
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 [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x1401849f0]
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.1400b75a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ad390
test esi, esi
js 0x1400aad31
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400c0ad0
test al, al
jne 0x1400aad50
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 0x1400aad3d
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400aad38
lea rcx, [rsp + 0x30]
call fcn.1400c0b60
lea rcx, [rsp + 0x50]
call fcn.1400ad600
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d8a20
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400aad04
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400aacfa
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14013fd80
jmp 0x1400aacca

Function at 0x1400aad70
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 [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401849f0]
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.1400b75a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ad390
mov ebp, 0xffffffff
test r14, r14
js 0x1400aae70
test esi, esi
js 0x1400aae70
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400c0ad0
test al, al
jne 0x1400aaea0
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.1400c0b60
lea rcx, [rsp + 0x60]
call fcn.1400ad600
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d8a20
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.14013fd80
jmp 0x1400aae27
Function at 0x1400baf70
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.1400aa970
mov qword [rsi], 0
test rax, rax
je 0x1400bafc3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400baff7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400bafbb
mov qword [rsi], rbx
call fcn.1400b75c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400b7e90
lea rcx, [rsi + 0x20]
call fcn.1400c0af0
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.1400b75c0
mov rcx, qword [rsi]
call fcn.1400a9fb0
mov qword [rsi], 0
jmp 0x1400bafa9
Function at 0x1400bf830
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401cd2f0]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bf890
mov rsi, qword [0x1401cd2e8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d8a20
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401cd2f0]
call fcn.1400d7650
cmp dword [0x1401cd2f0], 0xffffffff
jne 0x1400bf86c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400dab60
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.1400d74f8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401cd338]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bf950
lea r8, [0x1401cd308]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14005b430
mov qword [0x1401cd2e8], rsi
lea rcx, [0x1401cd2f0]
call fcn.1400d76e8
jmp 0x1400bf86c
lea rcx, [0x1401cd338]
call fcn.1400d7650
cmp dword [0x1401cd338], 0xffffffff
jne 0x1400bf921
xorps xmm0, xmm0
movups xmmword [0x1401cd328], xmm0
movups xmmword [0x1401cd318], xmm0
movups xmmword [0x1401cd308], xmm0
lea rcx, [0x1401cd308]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cd338]
call fcn.1400d76e8
jmp 0x1400bf921
Function at 0x1400c0340
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x1400c0416
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 0x1400c041a
xor eax, eax
lea rcx, [0x140198200]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x1400c038e
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.1400bf9a0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400c0432
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x1400c03dd
lea rcx, section..text
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.1400d8a20
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400c0400
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x1400c0385
jmp 0x1400c041c
bt eax, 9
jae 0x1400c0452
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x1400c03dd
lea rcx, [0x140004520]
jmp 0x1400c03da
call fcn.14013e760
lea rax, [0x14013ef60]
test rdi, rdi
je 0x1400c03dd
lea rcx, [0x14013e640]
jmp 0x1400c03da
Function at 0x1400c0480
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400c05d1
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401849f0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1401dd008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1401dd008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1401dd008]
test r14, r14
je 0x1400c0563
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400c0553
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.1400bf9a0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400c05d5
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400c05a2
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d8a20
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400c05b4
bt eax, 9
jae 0x1400c05f5
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400c05a2
lea rcx, [0x140004520]
jmp 0x1400c059f
call fcn.14013e760
lea rax, [0x14013ef60]
test r14, r14
je 0x1400c05a2
lea rcx, [0x14013e640]
jmp 0x1400c059f

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400c6cbb
xor ecx, ecx
lea r9, [0x140198a60]
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 0x1400c6ca0
ret
Function at 0x1400c9d00
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 0x1400c9d9a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400c9d84
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400c9d61
mov qword [rsi], rdi
call fcn.1400b75c0
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 0x1400c9d9e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b75c0
mov rcx, qword [rsi]
call fcn.1400a9fb0
mov qword [rsi], 0
jmp 0x1400c9d4f
mov byte [rsi + 8], 0
int3

Function at 0x1400cba90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14006b290]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401cd5c8]
lea rdx, [0x14006b130]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400cbb24
cmp dword [0x1401cd5d0], 0
jne 0x1400cbb20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401cd5d4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400cbb20
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d8a20
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400cbb08
call fcn.1400eceb0
int3
Function at 0x1400d7c5c
Capabilities:
Parse pe header

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

Function at 0x1400d80f0
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 0x1400d8168
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400d8168
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 0x1400d8168
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400d815c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400d817a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400d814a
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 0x1400d816a

Function at 0x1400e6f08
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 0x1400e6f3f
call fcn.1400ea25c
mov dword [rax], 0x16
call fcn.1400ed06c
xor eax, eax
jmp 0x1400e6fcd
mov rdx, r9
mov rcx, r8
call fcn.1400e6ff0
mov rbx, rax
test rax, rax
je 0x1400e6fca
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e7060]
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 0x1400e6fb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400ea29c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e6f9e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e6fad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14009d9f0
jmp 0x1400e6fca
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e6fc7
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 0x1400e7134
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e727c
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 0x1400e72eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e72eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e72eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e72eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e72eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e72eb
cmp dword [rcx + 0xf8], 0
je 0x1400e72eb
mov ecx, ebx
call fcn.1400e71b4
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.1400e7410
nop
cmp dword [rbp + 0x20], 0
je 0x1400e7339
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e7248
int3
Function at 0x1400e75bc
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.1400ebe08
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400ebe08
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400e770c
cmp rax, 0xffffffffffffffff
je 0x1400e770c
xor edi, edi
test rbp, rbp
jle 0x1400e76b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14009da90
mov rbx, rax
test rax, rax
jne 0x1400e7644
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400e76ad
mov edx, 0x8000
mov ecx, r14d
call fcn.1400ecf88
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.1400f16e0
cmp eax, 0xffffffff
je 0x1400e768d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400e7654
mov edx, r15d
mov ecx, r14d
call fcn.1400ecf88
jmp 0x1400e76ad
cmp byte [rsi + 0x38], dil
je 0x1400e76a4
cmp dword [rsi + 0x34], 5
jne 0x1400e76a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400e76ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14009d9f0
jmp 0x1400e7720
jns 0x1400e7720
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400ebe08
cmp rax, 0xffffffffffffffff
jne 0x1400e76d8
cmp byte [rsi + 0x30], dil
je 0x1400e7720
mov edi, dword [rsi + 0x2c]
jmp 0x1400e7720
mov ecx, r14d
call fcn.1400eae5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400e7720
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 0x1400e7720
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400e7719
mov eax, dword [rsi + 0x2c]
jmp 0x1400e771e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400ebe08
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 0x1400ea8c4
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 [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14017aeb0]
mov rbp, rcx
call fcn.140100d0c
xor edi, edi
test rax, rax
je 0x1400ea9aa
mov ebx, edi
call fcn.1400ea25c
mov r14d, dword [rax]
call fcn.1400ea25c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400f1364
mov rsi, rax
test rax, rax
je 0x1400ea93b
call fcn.1400ea25c
mov dword [rax], r14d
jmp 0x1400ea965
call fcn.1400ea25c
cmp dword [rax], 0x22
jne 0x1400ea9a2
call fcn.1400ea25c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400f1364
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400ea9a2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400ea969
cmp rax, 3
je 0x1400ea984
mov rcx, rsi
call fcn.1400ea820
test al, al
je 0x1400ea995
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400ea995
mov dil, 1
mov rcx, rbx
call fcn.14009d9f0
mov al, dil
jmp 0x1400ea9ac
mov rcx, rbx
call fcn.14009d9f0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400d8a20
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret