joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3e00
Capabilities:
Hash data using sha512

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f3f54
push rbp
mov rbp, rsp
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
lea rdx, [rax - 1]
nop dword [rax + rax]
cmp rdx, 0x3f
ja 0x4f3f3e
cmp rcx, 0x40
jg 0x4f3f28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rax
lea rax, [0x0052afe0]
call fcn.0040d200
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x50], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x160], rcx
lea rsi, [rax + 0xe0]
mov rbx, qword [rsp + 0x40]
cmp rbx, rsi
je 0x4f3e91
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rsi
mov rax, rsi
call fcn.004660c0
mov rax, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
movups xmm0, xmmword [0x006149c0]
nop
movups xmmword [rax], xmm0
movups xmm0, xmmword [0x006149d0]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x006149e0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x006149f0]
movups xmmword [rax + 0x30], xmm0
mov rdx, qword [rax + 0x160]
shl rdx, 8
or rdx, qword [rax + 0x50]
or rdx, 0x1010000
xor qword [rax], rdx
mov qword [rax + 0xd8], 0
movups xmmword [rax + 0x40], xmm15
cmp qword [rax + 0x160], 0
jle 0x4f3f1e
lea rdi, [rax + 0x58]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00465d30
mov rbp, qword [rbp]
mov qword [rax + 0xd8], pe_nt_image_headers64
xor ebx, ebx
xor ecx, ecx
add rsp, 0x28
pop rbp
ret
mov rbx, qword [0x0061a6d0]
mov rcx, qword [0x0061a6d8]
xor eax, eax
add rsp, 0x28
pop rbp
ret
mov rbx, qword [0x0061a6e0]
mov rcx, qword [0x0061a6e8]
xor eax, eax
add rsp, 0x28
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463420
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004f3e00
Function at 0x4f3fa0
Capabilities:
Encode data using base64
Hash data using sha512

Disassembly:
lea r12, [rsp - 0xa0]
cmp r12, qword [r14 + 0x10]
jbe 0x4f4231
push rbp
mov rbp, rsp
sub rsp, 0x118
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rbx
movups xmm0, xmmword [0x006149c0]
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [0x006149d0]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x006149e0]
movups xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [0x006149f0]
movups xmmword [rsp + 0x88], xmm0
mov r9, rbx
or rbx, 0x1010000
xor qword [rsp + 0x58], rbx
movups xmmword [rsp + 0x48], xmm15
nop dword [rax]
cmp rdi, 0x80
jle 0x4f40c9
mov r10, rdi
and rdi, 0xffffffffffffff80
lea r11, [rdi - 0x80]
cmp r10, rdi
cmove rdi, r11
nop
cmp rsi, rdi
jb 0x4f4225
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x138], rcx
lea rax, [rsp + 0x58]
lea rbx, [rsp + 0x48]
mov r8, rsi
mov rsi, rdi
mov rdi, rcx
xor ecx, ecx
call fcn.004f4580
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jb 0x4f421d
mov rdx, qword [rsp + 0x148]
mov r9, rax
sub rax, rdx
sar rax, 0x3f
and rax, r9
sub rcx, r9
mov rdx, qword [rsp + 0x138]
add rdx, rax
mov rax, qword [rsp + 0x128]
mov r9, qword [rsp + 0x130]
mov rdi, rcx
mov rcx, rdx
mov rdx, rdi
lea rdi, [rsp + 0x98]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004659e2
mov rbp, qword [rbp]
cmp rdx, 0x80
mov r8d, pe_nt_image_headers64
cmovl r8, rdx
lea rdi, [rsp + 0x98]
cmp rcx, rdi
je 0x4f4142
mov qword [rsp + 0x30], r8
mov rax, rdi
mov rbx, rcx
mov rcx, r8
nop
call fcn.004660c0
mov rax, qword [rsp + 0x128]
lea rdi, [rsp + 0x98]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x130]
lea rdx, [r8 - 0x80]
neg rdx
cmp qword [rsp + 0x48], rdx
jae 0x4f4155
dec qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
lea rdx, [r8 + rdx]
lea rdx, [rdx - 0x80]
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x58]
lea rbx, [rsp + 0x48]
mov rcx, 0xffffffffffffffff
mov esi, pe_nt_image_headers64
mov r8, rsi
call fcn.004f4580
mov rdx, qword [rsp + 0x130]
lea r9, [rdx + 7]
sar r9, 0x3f
shr r9, 0x3d
lea rcx, [r9 + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
cmp rcx, 8
ja 0x4f4213
mov rdx, qword [rsp + 0x128]
xor eax, eax
jmp 0x4f41c3
mov rsi, qword [rsp + rax*8 + 0x58]
mov qword [rdx + rbx], rsi
inc rax
cmp rax, rcx
jge 0x4f41f0
test byte [rdx], al
mov rbx, rax
shl rbx, 3
cmp rbx, 0x40
ja 0x4f4206
lea rsi, [rbx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rbx, rdi
cmp rsi, 7
ja 0x4f41b7
jmp 0x4f41f9
add rsp, 0x118
pop rbp
ret
mov eax, 7
mov rcx, rsi
call fcn.004656e0
mov rax, rbx
mov ecx, 0x40
call fcn.004657a0
mov edx, 8
call fcn.00465720
nop dword [rax]
call fcn.004657a0
mov rcx, rdi
mov rdx, rsi
call fcn.00465760
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.00463420
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.004f3fa0
Function at 0x140003220
Capabilities:
Compress data via winapi

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x14], 3
je 0x140003254
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x14], 4
jne 0x1400033a9
lea rcx, [0x140037000]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
lea rdx, str.RtlGetCompressionWorkSpaceSize
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.RtlCompressBuffer
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], 0
je 0x1400032a4
cmp qword [rsp + 0x70], 0
jne 0x1400032ae
mov eax, 0x12
jmp 0x140003491
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
dec eax
bts eax, 8
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
movzx ecx, ax
call qword [rsp + 0x68]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400033a1
mov eax, dword [rsp + 0x48]
mov ecx, eax
call fcn.14000ecd0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140003397
mov eax, dword [0x14003a8c4]
mov ecx, eax
call fcn.14000ecd0
mov qword [0x14003a8d8], rax
cmp qword [0x14003a8d8], 0
je 0x140003383
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
dec eax
bts eax, 8
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14003a8c8]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov ecx, dword [0x14003a8c4]
mov dword [rsp + 0x20], ecx
mov r9, qword [0x14003a8d8]
mov r8d, dword [0x14003a8c4]
mov rdx, qword [0x14003a8d0]
movzx ecx, ax
call qword [rsp + 0x70]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140003381
mov dword [rsp + 0x40], 0x12
jmp 0x14000338b
mov dword [rsp + 0x40], 6
mov rcx, qword [rsp + 0x50]
call fcn.14000ecbc
jmp 0x14000339f
mov dword [rsp + 0x40], 6
jmp 0x1400033a9
mov dword [rsp + 0x40], 0x12
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x14], 2
jne 0x140003467
mov ecx, dword [0x14003a8c4]
call fcn.140001bdf
mov eax, eax
mov ecx, eax
call fcn.14000ecd0
mov qword [0x14003a8d8], rax
cmp qword [0x14003a8d8], 0
je 0x14000345f
mov ecx, dword [0x14003a8c4]
call fcn.140001bd9
mov eax, eax
mov ecx, eax
call fcn.14000ecd0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140003455
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8d, dword [0x14003a8c4]
mov rdx, qword [0x14003a8d8]
mov rcx, qword [0x14003a8d0]
call fcn.140002696
mov dword [0x14003a8c8], eax
cmp dword [0x14003a8c8], 0xffffffff
jne 0x140003449
mov dword [rsp + 0x40], 0x12
mov rcx, qword [rsp + 0x58]
call fcn.14000ecbc
jmp 0x14000345d
mov dword [rsp + 0x40], 6
jmp 0x140003467
mov dword [rsp + 0x40], 6
cmp dword [rsp + 0x40], 0
jne 0x14000348d
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x14], 1
je 0x14000348d
mov rax, qword [rsp + 0x90]
mov ecx, dword [0x14003a8c8]
mov dword [rax + 4], ecx
mov eax, dword [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x140003800
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140003834
xor eax, eax
jmp 0x14000385d
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov dword [rsp + 0x30], eax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140006f80
Capabilities:
Encrypt data using speck

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [0x140038968]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x140006fb8
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 4
jae 0x140006fd2
mov eax, dword [rsp]
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x40]
mov eax, dword [rdx + rax*4]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x140006fb0
mov dword [rsp], 0
jmp 0x140006fe3
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x1b
jae 0x14000712e
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 8]
shr eax, 8
mov ecx, 4
imul rcx, rcx, 0
mov ecx, dword [rsp + rcx + 8]
shl ecx, 0x18
or eax, ecx
mov ecx, 4
imul rcx, rcx, 1
add eax, dword [rsp + rcx + 8]
mov ecx, 4
imul rcx, rcx, 0
xor eax, dword [rsp + rcx + 0x10]
mov ecx, 4
imul rcx, rcx, 0
mov dword [rsp + rcx + 8], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 8]
shr eax, 0x1d
mov ecx, 4
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 8]
shl ecx, 3
or eax, ecx
mov ecx, 4
imul rcx, rcx, 0
xor eax, dword [rsp + rcx + 8]
mov ecx, 4
imul rcx, rcx, 1
mov dword [rsp + rcx + 8], eax
mov eax, 4
imul rax, rax, 3
mov eax, dword [rsp + rax + 0x10]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x10]
shr eax, 8
mov ecx, 4
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov ecx, 4
imul rcx, rcx, 0
add eax, dword [rsp + rcx + 0x10]
xor eax, dword [rsp]
mov ecx, 4
imul rcx, rcx, 3
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x10]
shr eax, 0x1d
mov ecx, 4
imul rcx, rcx, 0
mov ecx, dword [rsp + rcx + 0x10]
shl ecx, 3
or eax, ecx
mov ecx, 4
imul rcx, rcx, 3
xor eax, dword [rsp + rcx + 0x10]
mov ecx, 4
imul rcx, rcx, 0
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov eax, dword [rsp + rax + 0x10]
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, dword [rsp + 4]
mov dword [rsp + rax + 0x10], ecx
jmp 0x140006fdb
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140008400
add rsp, 0x38
ret
Function at 0x140007150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140038968]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x88], 0
je 0x1400072cb
mov dword [rsp + 0x20], 0
jmp 0x1400071b0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
jae 0x1400071ce
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x40], al
jmp 0x1400071a6
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400072f0
cmp dword [rsp + 0x88], 0x10
jbe 0x1400071f1
mov dword [rsp + 0x2c], 0x10
jmp 0x1400071fc
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
jmp 0x140007218
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jae 0x140007248
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x40]
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x14000720e
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x10
jmp 0x140007286
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jle 0x1400072c6
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
inc al
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400072c4
jmp 0x1400072c6
jmp 0x14000727c
jmp 0x14000718e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140008400
add rsp, 0x68
ret
Function at 0x140007610
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, dword [rsp + 0x58]
xor ecx, ecx
call fcn.140007d80
test eax, eax
je 0x14000769b
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov edx, eax
mov ecx, 1
call fcn.14000ecb4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140007664
mov eax, 6
jmp 0x140007729
lea r9, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140007d80
test eax, eax
je 0x14000769b
mov eax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x60]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.14000cc28
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000771d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140007717
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140009120
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, qword [rsp + 0x28]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rsp + 0x30]
call fcn.14000ecbc
xor eax, eax
add rsp, 0x48
ret

Function at 0x140008df4
Capabilities:
Parse pe header

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

Disassembly:
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 0x14000ee4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ee4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ee4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ee4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ee4b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ee4b
cmp dword [rcx + 0xf8], 0
je 0x14000ee4b
mov ecx, ebx
call fcn.14000ef08
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.14000ecd8
nop
cmp dword [rbp + 0x20], 0
je 0x14000ee99
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000eea4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000eddc

Function at 0x140010ff0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140038968]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x140025720]
mov rbp, rcx
call fcn.140018c54
xor edi, edi
test rax, rax
je 0x1400110d6
mov ebx, edi
call fcn.1400144a4
mov r14d, dword [rax]
call fcn.1400144a4
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.140018ba0
mov rsi, rax
test rax, rax
je 0x140011067
call fcn.1400144a4
mov dword [rax], r14d
jmp 0x140011091
call fcn.1400144a4
cmp dword [rax], 0x22
jne 0x1400110ce
call fcn.1400144a4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140018ba0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400110ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140011095
cmp rax, 3
je 0x1400110b0
mov rcx, rsi
call fcn.140010f4c
test al, al
je 0x1400110c1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400110c1
mov dil, 1
mov rcx, rbx
call fcn.14000ecbc
mov al, dil
jmp 0x1400110d8
mov rcx, rbx
call fcn.14000ecbc
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140008400
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001a95c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001a98c
xor eax, eax
jmp 0x14001aa4f
mov rbp, rbx
cmp word [rax], si
je 0x14001a9b1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001a998
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001a994
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001a8ac
movsxd r14, eax
test eax, eax
jne 0x14001a9ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001a985
mov rcx, r14
call fcn.140016de0
mov rdi, rax
test rax, rax
jne 0x14001aa08
xor ecx, ecx
call fcn.14001453c
jmp 0x14001a9e4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001a8ac
test eax, eax
jne 0x14001aa39
mov rcx, rdi
call fcn.14001453c
jmp 0x14001aa43
xor ecx, ecx
call fcn.14001453c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001aa6c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001aaf3
mov rsi, rbx
cmp word [rax], bp
je 0x14001aab2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001aa9c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001aa98
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016de0
mov rdi, rax
test rax, rax
je 0x14001aae0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140009120
mov rbp, rdi
xor ecx, ecx
call fcn.14001453c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001c218
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.14001cf14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cf14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14001c368
cmp rax, 0xffffffffffffffff
je 0x14001c368
xor edi, edi
test rbp, rbp
jle 0x14001c313
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400144c4
mov rbx, rax
test rax, rax
jne 0x14001c2a0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14001c309
mov edx, 0x8000
mov ecx, r14d
call fcn.140012638
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.14001674c
cmp eax, 0xffffffff
je 0x14001c2e9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001c2b0
mov edx, r15d
mov ecx, r14d
call fcn.140012638
jmp 0x14001c309
cmp byte [rsi + 0x38], dil
je 0x14001c300
cmp dword [rsi + 0x34], 5
jne 0x14001c300
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14001c309
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001453c
jmp 0x14001c37c
jns 0x14001c37c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cf14
cmp rax, 0xffffffffffffffff
jne 0x14001c334
cmp byte [rsi + 0x30], dil
je 0x14001c37c
mov edi, dword [rsi + 0x2c]
jmp 0x14001c37c
mov ecx, r14d
call fcn.1400116b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001c37c
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 0x14001c37c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001c375
mov eax, dword [rsi + 0x2c]
jmp 0x14001c37a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cf14
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