joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c6e0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44c728
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44c728
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44c738
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00434800
xorps xmm15, xmm15
mov r14, qword [0x01532e98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44c811
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00434a80
xorps xmm15, xmm15
mov r14, qword [0x01532e98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44c811
cmp qword [rcx + 8], rax
ja 0x44c733
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x454260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4543d7
movzx edx, byte [rax]
test edx, edx
jne 0x454294
nop dword [rax]
test r8b, r8b
jne 0x454294
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4542a7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x454397
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 0x454385
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 0x454377
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4542fd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x454340
mov eax, 1
cmp rax, rbx
ja 0x45432b
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.00467ea0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45436f
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 0x454333
mov rcx, r11
mov eax, r12d
jmp 0x454302
mov rcx, rbx
call fcn.00467de0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467de0
mov eax, r8d
mov rcx, rbx
call fcn.00467ea0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4543cd
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 0x454390
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4542ad
mov eax, edx
mov rcx, rbx
call fcn.00467de0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467de0
nop
int3

Function at 0x45a280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45a335
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.00457f00
nop
test bl, bl
je 0x45a32f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045a380]
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.004659e0
xorps xmm15, xmm15
mov r14, qword [0x01532e98]
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.00465b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045a280
Function at 0x45d2a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45d34f
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, [0x0045d3a0]
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.004659e0
xorps xmm15, xmm15
mov r14, qword [0x01532e98]
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.00465b00
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.0045d2a0
Function at 0x467900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403e63
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409c80
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403e40
cmp byte [0x01532c6b], 0
je 0x467915
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x464b40
jmp 0x403e40

Function at 0x467920
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 [0x01532fa0]
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 [0x01532c6b], 0
je 0x467955
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x015332c0]
aesenc xmm0, xmmword [0x015332d0]
aesenc xmm0, xmmword [0x015332e0]
movq rax, xmm0
ret
jmp 0x409ea0

Function at 0x467960
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 [0x01532fa0]
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 [0x01532c6b], 0
je 0x467996
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x015332c0]
aesenc xmm0, xmmword [0x015332d0]
aesenc xmm0, xmmword [0x015332e0]
movq rax, xmm0
ret
jmp 0x409f00

Function at 0x469740
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 0x469774
mov rcx, 0x28
jmp 0x46977f
shl rcx, 3
add rcx, 0x1480
mov qword [0x01532e98], rcx
pop rbp
ret
Function at 0x47d880
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47d94a
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.00403340
xorps xmm15, xmm15
mov r14, qword [0x01532e98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47d92f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004bb040]
xor ebx, ebx
mov rcx, rdx
call fcn.0044d2a0
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.0047e7a0
inc rbx
cmp rcx, rbx
jae 0x47d91e
mov edi, 1
lea rsi, [0x004bb040]
call fcn.0044d380
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, [0x004fe768]
lea rsi, [0x004fe138]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047d880
Function at 0x49d980
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x49da55
movdqa xmm0, xmmword [0x004fe2c0]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x49d9c1
movdqa xmm0, xmmword [0x004fe2d0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x49dad7
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x49daab
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x004fe128]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x004fe2e0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret

Function at 0x4a05a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a0cdf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4a05cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4a0851
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4a087d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004ff940]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004baf40]
lea rbx, [0x004fe5e0]
call fcn.004365e0
inc rax
cmp rax, r8
jge 0x4a08a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4a08d7
lea rdi, [0x004bafc0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4a05c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4a08bb
jmp 0x4a0890
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00465b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004a05a0
Function at 0x4a0e80
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 0x4a0e97
inc rax
cmp rax, 4
jge 0x4a0eaf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a0e94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a0ec0
inc rax
cmp rax, 4
jge 0x4a0ece
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a0ef7
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 0x4a0edb
jmp 0x4a0ebd
Function at 0x1c72e9280
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1c72fa340
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1c72fa340
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1c72e9c82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1c748f3e8]
test eax, eax
je 0x1c72e9d1a
lea rax, [0x1c748f3c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1c748f3f0]
mov qword [rbp - 8], rax
jmp 0x1c72e9cfe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1c72e9cf2
cmp qword [rbp - 0x10], 0
je 0x1c72e9cf2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1c72e9cb8
lea rax, [0x1c748f3c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1c72e9d1b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1c72e9e20
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1c72e9e48
mov eax, 0
jmp 0x1c72e9e96
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1c72e9e71
mov eax, 0
jmp 0x1c72e9e96
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1c72e9e91
mov eax, 0
jmp 0x1c72e9e96
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1c72e9e9c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1c72e9f1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1c72e9f11
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1c72e9f11
mov rax, qword [rbp - 8]
jmp 0x1c72e9f2f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1c72e9ee4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1c72eb6c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0x248
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1e0], rcx
call sub.msvcrt.dll__errno
mov dword [rax], 0
cmp qword [rbp + 0x1e0], 0
jne 0x1c72eb702
call sub.msvcrt.dll__errno
mov dword [rax], 0xe
mov eax, 0
jmp 0x1c72eb94a
mov rax, qword [rbp + 0x1e0]
movzx eax, word [rax]
test ax, ax
jne 0x1c72eb726
call sub.msvcrt.dll__errno
mov dword [rax], 0x14
mov eax, 0
jmp 0x1c72eb94a
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call rax
mov dword [rbp + 0x1bc], eax
cmp dword [rbp + 0x1bc], 0xffffffff
jne 0x1c72eb75d
call sub.msvcrt.dll__errno
mov dword [rax], 2
mov eax, 0
jmp 0x1c72eb94a
mov eax, dword [rbp + 0x1bc]
and eax, 0x10
test eax, eax
jne 0x1c72eb77f
call sub.msvcrt.dll__errno
mov dword [rax], 0x14
mov eax, 0
jmp 0x1c72eb94a
mov rdx, qword [rbp + 0x1e0]
lea rax, [rbp - 0x60]
mov r8d, 0x104
mov rcx, rax
call sub.msvcrt.dll__wfullpath
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.msvcrt.dll_wcslen
mov rbx, rax
lea rax, [0x1c743a8a0]
mov rcx, rax
call sub.msvcrt.dll_wcslen
add rbx, rax
lea rax, [0x1c743a8a4]
mov rcx, rax
call sub.msvcrt.dll_wcslen
add rax, rbx
add rax, 0x229
add rax, rax
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1b0], rax
cmp qword [rbp + 0x1b0], 0
jne 0x1c72eb802
call sub.msvcrt.dll__errno
mov dword [rax], 0xc
mov eax, 0
jmp 0x1c72eb94a
mov rax, qword [rbp + 0x1b0]
lea rcx, [rax + 0x44c]
lea rax, [rbp - 0x60]
mov rdx, rax
call sub.msvcrt.dll_wcscpy
mov rax, qword [rbp + 0x1b0]
movzx eax, word [rax + 0x44c]
test ax, ax
je 0x1c72eb8b3
mov rax, qword [rbp + 0x1b0]
add rax, 0x44c
mov rcx, rax
call sub.msvcrt.dll_wcslen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x1b0]
add rdx, 0x220
movzx eax, word [rax + rdx*2 + 0xc]
cmp ax, 0x2f
je 0x1c72eb8b3
mov rax, qword [rbp + 0x1b0]
add rax, 0x44c
mov rcx, rax
call sub.msvcrt.dll_wcslen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x1b0]
add rdx, 0x220
movzx eax, word [rax + rdx*2 + 0xc]
cmp ax, 0x5c
je 0x1c72eb8b3
mov rax, qword [rbp + 0x1b0]
add rax, 0x44c
lea rdx, [0x1c743a8a0]
mov rcx, rax
call sub.msvcrt.dll_wcscat
mov rax, qword [rbp + 0x1b0]
add rax, 0x44c
lea rdx, [0x1c743a8a4]
mov rcx, rax
call sub.msvcrt.dll_wcscat
mov rax, qword [rbp + 0x1b0]
mov qword [rax + 0x440], 0xffffffffffffffff
mov rax, qword [rbp + 0x1b0]
mov dword [rax + 0x448], 0
mov rax, qword [rbp + 0x1b0]
mov dword [rax + 0x230], 0
mov rax, qword [rbp + 0x1b0]
mov word [rax + 0x234], 0
mov rax, qword [rbp + 0x1b0]
mov word [rax + 0x236], 0
mov rax, qword [rbp + 0x1b0]
add rax, 0x238
mov r8d, 0x208
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x1b0]
add rsp, 0x248
pop rbx
pop rbp
ret
Function at 0x1c72ebfb0
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size
Get file size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rdx, [rbp - 0x38]
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jne 0x1c72ebff4
mov ecx, 9
call fcn.1c72fa1e0
mov eax, 0xffffffff
jmp 0x1c72ec1b8
mov rax, qword [rbp - 0x38]
cmp rax, qword [rbp + 0x18]
jb 0x1c72ec008
mov eax, 0
jmp 0x1c72ec1b8
lea rdx, [rbp - 0x70]
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
call rax
test eax, eax
jne 0x1c72ec034
mov ecx, 0x16
call fcn.1c72fa1e0
mov eax, 0xffffffff
jmp 0x1c72ec1b8
mov edx, 2
mov ecx, 0x33
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x18], rax
mov edx, 2
mov ecx, 0x106
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x18], 0
je 0x1c72ec068
cmp qword [rbp - 0x20], 0
jne 0x1c72ec07c
mov ecx, 9
call fcn.1c72fa1e0
mov eax, 0xffffffff
jmp 0x1c72ec1b8
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x18]
mov edx, 0x32
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
call rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x3c]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8d, 0x105
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call rax
mov dword [rbp - 0xc], eax
mov edx, dword [rbp - 0x54]
mov eax, dword [rbp - 0x3c]
cmp edx, eax
jne 0x1c72ec0f8
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
jmp 0x1c72ec116
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
mov r8d, 0x32
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
call rax
test eax, eax
jne 0x1c72ec09d
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindVolumeClose]
call rax
cmp qword [rbp - 8], 0
jne 0x1c72ec139
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.1c72fada0
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.1c72fada0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp - 8]
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call rax
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov rcx, rax
call fcn.1c72fada0
cmp dword [rbp - 0xc], 0
jne 0x1c72ec18b
mov ecx, 0x1b
call fcn.1c72fa1e0
mov eax, 0xffffffff
jmp 0x1c72ec1b8
mov rax, qword [rbp - 0x38]
mov rdx, rax
mov rax, qword [rbp + 0x18]
sub rax, rdx
mov rdx, qword [rbp - 0x30]
cmp rdx, rax
jae 0x1c72ec1b3
mov ecx, 0x1b
call fcn.1c72fa1e0
mov eax, 0xffffffff
jmp 0x1c72ec1b8
mov eax, 0
add rsp, 0xb0
pop rbp
ret
Function at 0x1c72fde89
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x1c72fdfd4
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1c72fd4ad
cmp eax, 1
jne 0x1c72fdfc7
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x15], 0
mov qword [rbp - 0xd], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x1c72fdf7d
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x1c72fdf93
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x1c72fdf79
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x1c72fdfb2
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x1c72fdfd5
nop
add rsp, 0x90
pop rbp
ret