joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x453d37
movzx edx, byte [rax]
test edx, edx
jne 0x453bf4
nop dword [rax]
test r8b, r8b
jne 0x453bf4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x453c07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x453cf7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x453ce5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x453cd7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x453c5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x453ca0
mov eax, 1
cmp rax, rbx
ja 0x453c8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.004687a0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x453ccf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x453c93
mov rcx, r11
mov eax, r12d
jmp 0x453c62
mov rcx, rbx
call fcn.004686e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004686e0
mov eax, r8d
mov rcx, rbx
call fcn.004687a0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x453d2d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x453cf0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x453c0d
mov eax, edx
mov rcx, rbx
call fcn.004686e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004686e0
nop
int3

Function at 0x459a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x459b15
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.004576e0
nop
test bl, bl
je 0x459b0f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00459b60]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.004662e0
xorps xmm15, xmm15
mov r14, qword [0x00688dd8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.00466400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00459a60
Function at 0x45ca80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45cb2f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045cb80]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004662e0
xorps xmm15, xmm15
mov r14, qword [0x00688dd8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
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.00466400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045ca80
Function at 0x468200
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404283
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a200
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404260
cmp byte [0x00688bab], 0
je 0x468215
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x465440
jmp 0x404260

Function at 0x468220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00688ee0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00688bab], 0
je 0x468255
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00689200]
aesenc xmm0, xmmword [0x00689210]
aesenc xmm0, xmmword [0x00689220]
movq rax, xmm0
ret
jmp 0x40a420

Function at 0x468260
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00688ee0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00688bab], 0
je 0x468296
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00689200]
aesenc xmm0, xmmword [0x00689210]
aesenc xmm0, xmmword [0x00689220]
movq rax, xmm0
ret
jmp 0x40a480

Function at 0x46a020
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46a054
mov rcx, 0x28
jmp 0x46a05f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00688dd8], rcx
pop rbp
ret
Function at 0x480180
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4803bb
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x48021a
mov qword [rsp + 0x88], rax
lea rbx, [0x0050f200]
mov rcx, rax
lea rax, [0x00604120]
call fcn.0046f900
test cl, cl
jne 0x480203
mov rax, qword [rsp + 0x88]
call fcn.0047f4c0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x005453c8]
call fcn.00450740
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.00481520
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x480237
lea rdx, [0x0050d100]
cmp rax, rdx
jne 0x480225
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.00463d80
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004f81c0]
call fcn.0040b280
inc rdx
cmp rbx, rdx
jle 0x480281
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x480234
lea rax, [0x00604120]
lea rbx, [0x0050f200]
lea rdi, [0x0050d100]
nop dword [rax + rax]
call fcn.0046fac0
lea rdx, [0x0050d100]
cmp rax, rdx
jne 0x4803ab
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004f0ee0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x004fd780]
call fcn.0040e580
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x00688e10], 0
nop
je 0x4802db
mov rbx, rax
lea rax, [0x004fd780]
call fcn.00414160
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.00401480
call fcn.00463e40
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x480342
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x480334
mov dword [rsi + 0x10], edx
cmp dword [0x00688e10], 0
je 0x480363
call fcn.00468340
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x00604120]
lea rbx, [0x0050f200]
lea rdi, [0x0050d100]
nop dword [rax]
call fcn.0046fac0
lea rdx, [0x0050d100]
cmp rax, rdx
jne 0x48039c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004f81c0]
call fcn.0040b280
mov rbx, rdx
lea rcx, [0x004f81c0]
call fcn.0040b280
nop
mov qword [rsp + 8], rax
call fcn.00466400
mov rax, qword [rsp + 8]
jmp fcn.00480180
Function at 0x493e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x493f2a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004037a0
xorps xmm15, xmm15
mov r14, qword [0x00688dd8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x493f0f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f41a0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044c9a0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00494840
inc rbx
cmp rcx, rbx
jae 0x493efe
mov edi, 1
lea rsi, [0x004f41a0]
call fcn.0044ca80
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x005471a0]
lea rsi, [0x005464e0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00493e60

Function at 0x4cdf80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ce6bf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4cdfad
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4ce231
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4ce25d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00548f80]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004f40a0]
lea rbx, [0x00546e10]
call fcn.004373a0
inc rax
cmp rax, r8
jge 0x4ce282
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4ce2b7
lea rdi, [0x004f4120]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4cdfa3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4ce29b
jmp 0x4ce270
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004cdf80

Function at 0x4ce860
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ce877
inc rax
cmp rax, 4
jge 0x4ce88f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ce874
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ce8a0
inc rax
cmp rax, 4
jge 0x4ce8ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ce8d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ce8bb
jmp 0x4ce89d
Function at 0x1400290fc
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.14001c6f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c6f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002924c
cmp rax, 0xffffffffffffffff
je 0x14002924c
xor edi, edi
test rbp, rbp
jle 0x1400291f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f008
mov rbx, rax
test rax, rax
jne 0x140029184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400291ed
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a028
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.14001d3d0
cmp eax, 0xffffffff
je 0x1400291cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029194
mov edx, r15d
mov ecx, r14d
call fcn.14001a028
jmp 0x1400291ed
cmp byte [rsi + 0x38], dil
je 0x1400291e4
cmp dword [rsi + 0x34], 5
jne 0x1400291e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400291ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001adbc
jmp 0x140029260
jns 0x140029260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c6f4
cmp rax, 0xffffffffffffffff
jne 0x140029218
cmp byte [rsi + 0x30], dil
je 0x140029260
mov edi, dword [rsi + 0x2c]
jmp 0x140029260
mov ecx, r14d
call fcn.1400184e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029260
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 0x140029260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029259
mov eax, dword [rsi + 0x2c]
jmp 0x14002925e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c6f4
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 0x401000
Capabilities:
Execute syscall

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov rcx, 0xffffffffffffffff
mov r10, rcx
movabs rdx, 0x40311f
xor r8, r8
mov qword [rsp + 0x18], 0x117
lea r9, [rsp + 0x18]
mov qword [rsp + 0x28], 0
nop
nop
add qword [rsp + 0x28], 0x800
nop
nop
add qword [rsp + 0x28], 0x800
nop
mov qword [rsp + 0x30], 0
add qword [rsp + 0x30], 0x20
nop
add qword [rsp + 0x30], 0x20
xor rax, rax
add rax, 3
nop
nop
nop
add rax, 0x15
nop
nop
nop
nop
nop
nop
nop
nop
syscall
leave
ret
Function at 0x14000c0d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x14000c108
xor al, al
jmp 0x14000c180
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
dec qword [rsp + 0x30]
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
jne 0x14000c117
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
xor edx, edx
movzx r8d, byte [rcx + rdx]
mov byte [rax + rdx], r8b
inc rdx
test r8b, r8b
jne 0x14000c132
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
dec qword [rsp + 0x38]
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
jne 0x14000c152
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
xor edx, edx
movzx r8d, byte [rcx + rdx]
mov byte [rax + rdx], r8b
inc rdx
test r8b, r8b
jne 0x14000c16d
mov al, 1
add rsp, 0x48
ret

Function at 0x14000c190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14000c1cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
je 0x14000c1c7
cmp dword [rsp + 0x20], 3
jne 0x14000c1cb
xor al, al
jmp 0x14000c1cd
mov al, 1
add rsp, 0x38
ret

Function at 0x14000c1e0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.14000c190
movzx eax, al
test eax, eax
jne 0x14000c20b
xor al, al
jmp 0x14000c2e3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14000c24e
xor al, al
jmp 0x14000c2e3
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
cmp qword [rsp + 0x80], 0
jne 0x14000c274
xor al, al
jmp 0x14000c2e3
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x50]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000c2d8
xor al, al
jmp 0x14000c2e3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x68
ret
Function at 0x140025cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140023cf0
mov rax, qword [rsp + 0x90]
movzx ecx, word [rsp + 0x68]
mov word [rax], cx
movzx eax, word [rsp + 0x66]
test eax, eax
jne 0x140025d1e
xor eax, eax
jmp 0x140025ec0
movzx eax, word [rsp + 0x66]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax + 3]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x14]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x50]
cmp rax, rcx
jbe 0x140025d5c
mov ecx, 0xe1ba
call fcn.1400558a0
jmp 0x140025ec0
movzx eax, word [rsp + 0x66]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400641d0
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x34]
sub eax, 4
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx - 1]
xor edx, edx
div dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x48], 0
je 0x140025ebe
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x24], 2
jb 0x140025dee
mov rcx, qword [rsp + 0x40]
call fcn.140023c50
cmp dword [rsp + 0x24], eax
jbe 0x140025dfd
mov ecx, 0xe1c8
call fcn.1400558a0
jmp 0x140025ec0
cmp dword [rsp + 0x28], 0
je 0x140025e30
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
call fcn.140036bc0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140025e30
mov eax, dword [rsp + 0x20]
jmp 0x140025ec0
cmp qword [rsp + 0x30], 0
jne 0x140025e53
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
call fcn.140023c00
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140025e76
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x68]
call fcn.14006e130
cmp eax, 1
je 0x140025e76
mov ecx, 0xe1dc
call fcn.1400558a0
mov dword [rsp + 0x20], eax
jmp 0x140025e8e
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400346b0
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x30], 0
je 0x140025ea4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x68]
call fcn.14006ef30
cmp dword [rsp + 0x20], 0
je 0x140025eb1
mov eax, dword [rsp + 0x20]
jmp 0x140025ec0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
jmp 0x140025da9
xor eax, eax
add rsp, 0x78
ret
Function at 0x14005bc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
movzx eax, byte [rsp + 0x88]
and eax, 1
test eax, eax
je 0x14005bc91
mov dword [rsp + 0x38], 0x21
jmp 0x14005bc99
mov dword [rsp + 0x38], 0x22
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x14005bccc
movzx eax, byte [rsp + 0x88]
and eax, 0xfffffffd
mov byte [rsp + 0x88], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
jmp 0x14005bcfc
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jge 0x14005be56
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x88]
and eax, 2
test eax, eax
je 0x14005bd5d
mov rcx, qword [rsp + 0x48]
call fcn.14005f240
test eax, eax
je 0x14005bd5d
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.14005bb90
jmp 0x14005be51
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.14005c690
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x28], eax
je 0x14005be51
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x20]
cmp eax, 0x21
jne 0x14005be29
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.14008caa0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 0x21
jne 0x14005be29
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
lea eax, [rax + rcx + 1]
cmp eax, dword [rsp + 0x28]
jne 0x14005be29
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
lea eax, [rax + rcx + 1]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x80]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x14005be29
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0xc], eax
jmp 0x14005be51
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
mov r9d, eax
mov r8d, dword [rsp + 0x28]
mov edx, ecx
mov rcx, qword [rsp + 0x50]
call fcn.140081f40
jmp 0x14005bce4
mov eax, dword [rsp + 0x3c]
add rsp, 0x68
ret