joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rsi, rcx
lea rdi, [rcx + 0x33e1c]
xor r11d, r11d
nop dword [rax]
xor r9d, r9d
mov r10d, r11d
lea eax, [r9 + 1]
lea ebx, [rax + 3]
nop dword [rax]
mov ecx, eax
mov r8d, r10d
and r8d, 1
shr r10d, 1
add eax, eax
or eax, r8d
movzx edx, word [rsi + rcx*2 + 0x344c4]
mov ecx, r8d
neg ecx
shr rdx, 4
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r9d, dword [rsi + rdx*4 + 0x3276c]
sub ebx, 1
jne 0x140017bf0
mov dword [rdi], r9d
inc r11d
add rdi, 4
cmp r11d, 0x10
jb 0x140017be0
mov rdi, qword [rsp + 0x18]
mov dword [rsi + 0x33e5c], ebx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x140017c50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r12d, 4
lea rbp, [rcx + 0x30770]
mov edi, r12d
lea rsi, [rsp + 0x10]
mov r10, rcx
nop dword [rax]
movzx edx, byte [rbp]
xor ebx, ebx
mov r9d, edx
mov eax, edx
and eax, 1
shr r9d, 1
dec r9d
or eax, 2
mov ecx, r9d
lea r8d, [rbx + 1]
shl eax, cl
mov r11d, edi
sub r11d, eax
test r9d, r9d
je 0x140017d12
mov r14d, edx
mov r15d, eax
mov eax, r8d
mov edx, r11d
sub rax, r14
shr r11d, 1
add rax, r15
and edx, 1
add r8d, r8d
or r8d, edx
movzx ecx, word [r10 + rax*2 + 0x343de]
mov eax, edx
neg eax
shr rcx, 4
sar rax, 4
and eax, 0x7f
xor rcx, rax
add ebx, dword [r10 + rcx*4 + 0x3276c]
sub r9d, 1
jne 0x140017cd1
mov dword [rsi], ebx
inc edi
add rsi, r12
inc rbp
cmp edi, 0x80
jb 0x140017ca0
lea rsi, [rsp]
mov rdi, r10
sub rsi, r10
lea rbx, [r10 + 0x3321c]
sub rsi, 0x3361c
lea r14, [r10 + 0x33624]
nop word [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x33e60], r11d
jbe 0x140017db2
nop dword [rax]
xor r9d, r9d
mov eax, r11d
or eax, 0x40
nop dword [rax]
mov edx, eax
mov ecx, eax
and edx, 1
shr rcx, 1
neg edx
shr eax, 1
sar rdx, 4
and edx, 0x7f
movzx r8d, word [rdi + rcx*2 + 0x341e0]
shr r8, 4
xor r8, rdx
add r9d, dword [r10 + r8*4 + 0x3276c]
cmp eax, 1
jne 0x140017d70
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x33e60]
jb 0x140017d60
mov edx, 0xe
cmp dword [r10 + 0x33e60], edx
jbe 0x140017ddd
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r10 + 0x33e60]
jb 0x140017dc0
mov eax, dword [rbx]
lea r8, [r10 + 0x30770]
mov dword [r14 - 8], eax
lea rdx, [r14 + 8]
mov eax, dword [rbx + 4]
mov r9d, 0x7c
mov dword [r14 - 4], eax
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov eax, dword [rbx + 0xc]
mov dword [r14 + 4], eax
nop dword [rax + rax]
movzx eax, byte [r8]
lea rdx, [rdx + 4]
lea r8, [r8 + 1]
mov ecx, dword [rbx + rax*4]
add ecx, dword [rdx + rsi - 4]
mov dword [rdx - 4], ecx
sub r9, 1
jne 0x140017e10
sub rdi, 0xffffffffffffff80
add rbx, 0x100
add r14, 0x200
sub rsi, 0x200
sub r12, 1
jne 0x140017d50
mov dword [r10 + 0x3d5d8], r12d
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140051aa0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14002b190
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x508], rbx
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, r8
mov r12d, edx
mov r14, rcx
xor r13d, r13d
mov ebx, r13d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.140054600
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x190]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x2060000
lea r9, [rsp + 0x20]
lea r8d, [r13 + 0x18]
lea rdx, [rsp + 0x28]
lea ecx, [r13 + 0x58]
call qword [r14 + 8]
cmp eax, 0xc0000004
jne 0x14002b299
nop dword [rax + rax]
movzx eax, word [rsp + 0x32]
add ax, ax
mov word [rsp + 0x32], ax
movzx edi, ax
lea rcx, [rdi + 2]
call fcn.140051c84
mov rsi, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14002b261
call fcn.140051af0
lea r8, [rdi + 2]
xor edx, edx
mov rcx, rsi
call fcn.140054600
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x30], r13w
lea r9, [rsp + 0x20]
mov r8d, 0x18
lea rdx, [rsp + 0x28]
lea ecx, [r8 + 0x40]
call qword [r14 + 8]
cmp eax, 0xc0000004
je 0x14002b230
test eax, eax
js 0x14002b346
cmp word [rsp + 0x30], 0
je 0x14002b2c5
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14002b2c5
mov rcx, r15
call fcn.14002f7e0
test eax, eax
je 0x14002b346
jmp 0x14002b33f
mov ecx, 0x2425146b
call fcn.140027ed0
mov r8, rax
mov r9d, 0x5017
movzx ecx, word [rax]
xor cx, r9w
mov word [rsp + 0x48], cx
movzx ecx, word [rax + 2]
xor cx, r9w
mov word [rsp + 0x4a], cx
movzx ecx, word [rax + 4]
xor cx, r9w
mov word [rsp + 0x4c], cx
movzx eax, word [rax + 6]
xor ax, r9w
mov word [rsp + 0x4e], ax
movzx eax, word [r8 + 8]
xor ax, r9w
mov word [rsp + 0x50], ax
movzx eax, word [r8 + 0xa]
xor ax, r9w
mov word [rsp + 0x52], ax
mov word [rsp + 0x54], r13w
lea r8, [rsp + 0x48]
mov edx, 0x208
mov rcx, r15
call fcn.1400196e0
mov edi, 1
jmp 0x14002b397
lea rax, vtable.PathFinder.0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x6c], r13d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0x208
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14002ae00
mov edi, dword [rsp + 0x6c]
lea rax, vtable.IVisitor_struct__SYSTEM_PROCESS_INFORMATION____ptr64_.0
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x14002b3a4
mov rcx, rbx
call fcn.140051af0
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140051aa0
mov rbx, qword [rsp + 0x508]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002b460
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x720
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rbp + 0x730], rbx
mov rax, qword [0x14009e018]
xor rax, rbp
mov qword [rbp + 0x6e0], rax
mov rdi, r9
mov r15, rdx
mov r14, rcx
mov dword [rbp + 8], 0x104
lea r9, [rbp + 8]
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [r14 + pe_nt_image_headers64]
test eax, eax
je 0x14002b4ed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002b4e3
mov rdx, rdi
lea rcx, [rbp]
call fcn.14002acc0
test eax, eax
js 0x14002b4ed
mov rcx, qword [rbp]
call qword [0x1400692d0]
mov eax, 1
jmp 0x14002b62e
mov r9, rdi
mov rdx, r15
mov rcx, r14
call fcn.14002c5e0
test eax, eax
je 0x14002b50d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002b4e3
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x18]
xor edx, edx
mov rcx, r15
call qword [r14 + 0x28]
test eax, eax
js 0x14002b62c
mov r8, qword [rbp + 0x20]
test r8, r8
je 0x14002b62c
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x288
lea r9, [rbp + 0x50]
mov rdx, r15
mov rcx, r14
call fcn.14002b660
test eax, eax
je 0x14002b62c
cmp qword [rbp], 0x288
jne 0x14002b62c
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x400
lea r9, [rbp + 0x2e0]
mov r8, qword [rbp + 0x70]
mov rdx, r15
mov rcx, r14
call fcn.14002b660
test eax, eax
je 0x14002b62c
cmp qword [rbp], 0x400
jne 0x14002b62c
movzx ebx, word [rbp + 0x340]
lea rax, [rbx + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002b5cd
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140066d20
sub rsp, rcx
lea rsi, [rsp + 0x30]
test rsi, rsi
jne 0x14002b5ea
xor eax, eax
jmp 0x14002b62e
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, qword [rbp + 0x348]
mov rdx, r15
mov rcx, r14
call fcn.14002b660
test eax, eax
je 0x14002b62e
shr rbx, 1
xor eax, eax
mov word [rsi + rbx*2], ax
mov rdx, rdi
mov rcx, rsi
call fcn.14002fa50
mov eax, 1
jmp 0x14002b62e
xor eax, eax
mov rcx, qword [rbp + 0x6e0]
xor rcx, rbp
call fcn.140051aa0
mov rbx, qword [rbp + 0x730]
lea rsp, [rbp + 0x6f0]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002bcd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rcx, qword [0x1400a3478]
test rcx, rcx
jne 0x14002bd04
mov eax, 0xe0d00624
jmp 0x14002beca
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
mov edx, 0xf020
call qword [rax + 0x28]
test eax, eax
js 0x14002beca
mov ecx, 0xbbcebb48
mov qword [rsp + 0x78], rbx
call fcn.140028900
mov rdx, rax
mov r8d, 0x5017
xor ebx, ebx
movzx ecx, word [rax]
xor cx, r8w
mov word [rbp - 0x20], cx
movzx ecx, word [rax + 2]
xor cx, r8w
mov word [rbp - 0x1e], cx
movzx ecx, word [rax + 4]
xor cx, r8w
mov word [rbp - 0x1c], cx
movzx eax, word [rax + 6]
mov rcx, qword [rbp - 0x40]
xor ax, r8w
mov word [rbp - 0x1a], ax
movzx eax, word [rdx + 8]
xor ax, r8w
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0xa]
xor ax, r8w
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0xc]
xor ax, r8w
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0xe]
xor ax, r8w
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x10]
lea rdx, [rbp - 0x30]
xor ax, r8w
mov word [rbp - 0xe], bx
mov word [rbp - 0x10], ax
lea r8, [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x14002bec5
mov ecx, 0xafbb43dd
mov qword [rbp - 0x38], rbx
call fcn.140029870
lea rcx, [rbp - 0x20]
mov r8d, ebx
sub rax, rcx
nop word [rax + rax]
lea rdx, [rbp - 0x20]
add rdx, r8
inc r8
movzx ecx, byte [rdx + rax]
xor cl, 0x88
mov byte [rdx], cl
cmp r8, 0xd
jb 0x14002bde0
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x20]
mov r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x38]
mov byte [rbp - 0x13], bl
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x14002bec5
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002bec5
mov qword [rdi + 0xc0], rcx
mov ecx, 0x8a69e0ba
mov qword [rbp - 0x28], rbx
call fcn.140029de0
movdqa xmm1, xmmword [0x140093500]
mov rdx, rax
lea rcx, [rax + 0x13]
lea rax, [rbp - 0x20]
cmp rax, rcx
ja 0x14002be60
lea rax, [rbp - 0xd]
cmp rax, rdx
jae 0x14002be72
nop dword [rax]
movdqu xmm0, xmmword [rdx]
mov ebx, 0x10
pxor xmm1, xmm0
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x20]
sub rdx, rax
nop dword [rax]
lea rcx, [rbp - 0x20]
add rcx, rbx
inc rbx
movzx eax, byte [rcx + rdx]
xor al, 0x88
mov byte [rcx], al
cmp rbx, 0x14
jb 0x14002be80
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x20]
mov r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov byte [rbp - 0xc], 0
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x14002bec5
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14002bec5
mov qword [rdi + 0x30], rcx
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140051aa0
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x14002d210
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm2, xmmword [0x1400934f0]
lea rax, [r8 + 0x1e]
mov r9, rcx
add rcx, 0x1e
cmp r9, rax
ja 0x14002d270
cmp rcx, r8
jb 0x14002d270
mov rax, r9
sub r8, r9
mov edx, 0x10
mov r10d, 0x5017
nop
movzx ecx, word [r8 + rax]
lea rax, [rax + 2]
xor cx, r10w
mov word [rax - 2], cx
sub rdx, 1
jne 0x14002d240
xor eax, eax
mov word [r9 + 0x20], ax
mov rax, r9
ret
movdqu xmm0, xmmword [r8]
xor eax, eax
pxor xmm0, xmm2
movdqu xmmword [r9], xmm0
movdqu xmm1, xmmword [r8 + 0x10]
pxor xmm1, xmm2
movdqu xmmword [r9 + 0x10], xmm1
mov word [r9 + 0x20], ax
mov rax, r9
ret

Function at 0x14002f270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x5c0
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov eax, dword [0x1400a353c]
mov rdi, rcx
mov dword [rsp + 0x40], 0x270
mov dword [rsp + 0x44], 0x345821ab
mov dword [rsp + 0x4c], 0x306
test eax, eax
jne 0x14002f2ba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, eax, 0x343fd
add eax, 0x269ec3
sar eax, 0x10
and eax, 0x7fff
mov dword [0x1400a353c], eax
and eax, 0x80007fff
jge 0x14002f2e3
dec eax
or eax, 0xffff8000
inc eax
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x2b0]
xor ebx, ebx
mov r8d, 0x270
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14002f31c
xor eax, eax
jmp 0x14002f337
mov eax, dword [rsp + 0x48]
not eax
cmp dword [rsp + 0x2b8], eax
jne 0x14002f318
cmp dword [rsp + 0x2bc], ebx
setge bl
mov eax, ebx
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140051aa0
mov rbx, qword [rsp + 0x5d8]
add rsp, 0x5c0
pop rdi
ret
Function at 0x14002f360
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x5c0
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov eax, dword [0x1400a353c]
mov r14, r9
mov rbx, qword [rsp + 0x618]
mov rbp, r8
mov dword [rsp + 0x40], 0x270
mov rsi, rdx
mov dword [rsp + 0x44], 0x345821ab
mov rdi, rcx
mov dword [rsp + 0x4c], 0x313
test eax, eax
jne 0x14002f3bc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, eax, 0x343fd
add eax, 0x269ec3
sar eax, 0x10
and eax, 0x7fff
mov dword [0x1400a353c], eax
and eax, 0x80007fff
jge 0x14002f3e5
dec eax
or eax, 0xffff8000
inc eax
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x610]
mov r8d, 0x270
mov rcx, rdi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14002f43c
xor eax, eax
jmp 0x14002f471
mov eax, dword [rsp + 0x48]
not eax
cmp dword [rsp + 0x2b8], eax
jne 0x14002f438
mov eax, dword [rsp + 0x2bc]
test eax, eax
jns 0x14002f45d
cmp eax, 0x8000000d
jne 0x14002f438
test rbx, rbx
je 0x14002f46c
mov eax, dword [rsp + 0x2c0]
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140051aa0
add rsp, 0x5c0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14002f490
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp word [r8 + 2], 0x3a
mov rsi, r8
mov rdi, rcx
je 0x14002f4cf
mov ecx, 0xe0010002
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002f57d
mov eax, dword [0x140087380]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
movzx eax, word [0x140087384]
mov word [rsp + 0x24], ax
movzx eax, word [r8]
mov qword [rsp + 0x268], rbx
mov ebx, 0x104
mov r8d, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
dec eax
cmp eax, 0x103
ja 0x14002f568
lea r8, [rsp + 0x30]
mov rax, rdi
sub r8, rdi
lea rcx, [rbx + 0x7ffffefa]
test rcx, rcx
je 0x14002f545
movzx edx, word [r8 + rax]
test dx, dx
je 0x14002f545
mov word [rax], dx
add rax, 2
sub rbx, 1
jne 0x14002f522
lea rdx, [rax - 2]
test rbx, rbx
lea r8, [rsi + 4]
mov rcx, rdi
cmovne rdx, rax
xor eax, eax
mov word [rdx], ax
call fcn.14002a4e0
mov eax, 1
jmp 0x14002f575
mov ecx, 0xe001000b
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140051aa0
mov rsi, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x14002f5a0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002f5e0
cmp rax, 4
jbe 0x14002f7ad
cmp word [rdx], 0x5c
jne 0x14002f7ad
cmp word [rdx + 2], 0x5c
jne 0x14002f7ad
cmp word [rdx + 4], 0x3f
jne 0x14002f7ad
cmp word [rdx + 6], 0x5c
jne 0x14002f7ad
add rdx, 8
mov qword [rsp + 0x60], 7
xor edi, edi
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp word [rdx], di
jne 0x14002f642
mov r8d, edi
jmp 0x14002f650
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14002f646
lea rcx, [rsp + 0x48]
call fcn.14002fff0
nop
lea rcx, [rsp + 0x48]
call fcn.14002ff10
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14002fed0
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov r8d, 0x208
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14002f76a
cmp word [rbp - 0x70], 0
jne 0x14002f6b0
mov r8, rdi
jmp 0x14002f6cb
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002f6c0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14002fff0
lea rcx, [rsp + 0x48]
call fcn.14002ff10
mov r8, rax
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14002fed0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140030140
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x14002f723
inc r8
mov rdx, qword [rsp + 0x68]
call fcn.140019be0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14002f73b
inc r8
mov rdx, qword [rsp + 0x28]
call fcn.140019be0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14002f766
inc r8
mov rdx, qword [rsp + 0x48]
call fcn.140019be0
xor eax, eax
jmp 0x14002f7b2
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14002f782
inc r8
mov rdx, qword [rsp + 0x28]
call fcn.140019be0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14002f7ad
inc r8
mov rdx, qword [rsp + 0x48]
call fcn.140019be0
mov eax, 0xe0010001
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140051aa0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002f7e0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r15, rcx
mov qword [rsp + 0x38], 7
xor r12d, r12d
lea rcx, [rsp + 0x20]
mov rdx, r8
mov qword [rsp + 0x30], r12
mov word [rsp + 0x20], r12w
lea rbx, [rsp + 0x50]
mov rsi, r8
call fcn.14002f5a0
test eax, eax
js 0x14002f850
cmp qword [rsp + 0x38], 8
lea rsi, [rsp + 0x20]
cmovae rsi, qword [rsp + 0x20]
mov edi, 0x104
lea rdx, [rsp + 0x50]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, edi
jge 0x14002fa26
test eax, eax
je 0x14002fa26
mov qword [rsp + 0x4b8], r14
cmp word [rsp + 0x50], r12w
je 0x14002f91e
nop word [rax + rax]
movzx eax, word [rbx]
lea rdx, [rbp + 0x160]
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x40]
movzx eax, word [rbx + 2]
mov r8d, edi
mov word [rsp + 0x42], ax
mov word [rsp + 0x44], r12w
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14002f914
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
mov rdx, rsi
mov r8, r14
lea rcx, [rbp + 0x160]
call fcn.140058e88
test eax, eax
jne 0x14002f903
movzx eax, word [rsi + r14*2]
lea r8, [rsi + r14*2]
cmp ax, 0x5c
je 0x14002f9c0
cmp ax, 0x2f
je 0x14002f9c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rbx, [rbx + rax*2]
cmp word [rbx], r12w
jne 0x14002f890
lea rcx, str.DeviceMup
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, str.DeviceMup
mov rcx, rsi
call fcn.14005903c
test eax, eax
jne 0x14002fa07
lea r8, [0x1400873a0]
mov edx, 0x208
mov rcx, r15
call fcn.1400196e0
lea rcx, str.DeviceMup
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea r8, [rsi + rcx*2]
mov rcx, r15
call fcn.14002a4e0
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14002f98d
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.140019be0
mov eax, 1
mov r14, qword [rsp + 0x4b8]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140051aa0
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x480
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [rsp + 0x40]
mov rdx, r15
sub r9, r15
nop dword [rax + rax]
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x14002f9f3
movzx eax, word [r9 + rdx]
test ax, ax
je 0x14002f9f3
mov word [rdx], ax
add rdx, 2
sub rdi, 1
jne 0x14002f9d0
test rdi, rdi
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r12w
jmp 0x14002f96d
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14002fa1f
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.140019be0
xor eax, eax
jmp 0x14002f992
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14002fa3e
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.140019be0
xor eax, eax
jmp 0x14002f99a
Function at 0x14002fa50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14002fb33
mov r8d, 4
lea rdx, [0x1400873a8]
mov rcx, rbx
call fcn.14005903c
test eax, eax
jne 0x14002fab1
lea r8, [rbx + 8]
jmp 0x14002fb26
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.140058e88
test eax, eax
jne 0x14002faea
lea r8, [rsp + 0x20]
mov edx, 0x208
mov rcx, rdi
call fcn.1400196e0
lea r8, [rbx + 0x16]
mov rcx, rdi
call fcn.14002a4e0
jmp 0x14002fb33
mov r8d, 9
lea rdx, str.Windows_
mov rcx, rbx
call fcn.140058e88
test eax, eax
jne 0x14002fb23
lea r8, [rsp + 0x20]
mov edx, 0x208
mov rcx, rdi
call fcn.1400196e0
lea r8, [rbx + 0x10]
mov rcx, rdi
call fcn.14002a4e0
jmp 0x14002fb33
mov r8, rbx
mov edx, 0x208
mov rcx, rdi
call fcn.1400196e0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140051aa0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret