joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065400
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 1
je 0x140065432
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400787c0
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov rax, qword [rcx + 0x70]
test rax, rax
jne 0x1400788f4
cmp dword [rcx + 0x98], 0xffffffff
jne 0x1400788ef
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14007895c
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401d6a68]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0xa8]
cmp rdi, 0x2000000
cmovge rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140078885
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x1400788e7
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x1400788e7
jmp 0x140078830
test rbx, rbx
jne 0x1400788e7
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004d150
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400788d0
cmp eax, 0xffffffff
je 0x14007895c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007895c
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078970
mov rax, rbx
jmp 0x140078970
test rax, rax
je 0x140078962
call fcn.140078540
test al, al
je 0x140078962
mov rcx, qword [rsi + 0x70]
call fcn.1401341a8
test eax, eax
je 0x140078962
call fcn.140133db8
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14004d150
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14007894e
cmp eax, 0xffffffff
je 0x14007895c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007895c
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078970
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140065450
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065450
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x18]
test r8, r8
js 0x1400655bf
xor ebx, ebx
cmp qword [rcx + 0x70], rbx
je 0x140065528
mov r15b, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rbp
sub r8, rbx
lea rcx, [rbx + r12]
mov r9, qword [rsi + 0x70]
mov edx, 1
call fcn.140134508
mov rdi, rax
mov rcx, qword [rsi + 0x70]
call fcn.1401341a8
test eax, eax
setne r14b
test r15b, r15b
je 0x1400654f6
test r14b, r14b
je 0x1400654f6
test rdi, rdi
jne 0x1400654f6
mov rcx, qword [rsi + 0x70]
call fcn.1401300f0
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsi + 0x70]
call fcn.140134820
xor r15b, r15b
jmp 0x1400654f9
add rbx, rdi
test r14b, r14b
jne 0x14006561b
test rdi, rdi
jne 0x140065516
call fcn.140133db8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14006551e
xor ecx, ecx
cmp rbx, rbp
setl cl
test ecx, ecx
jne 0x1400654a0
jmp 0x140065570
cmp dword [rcx + 0x98], 0xffffffff
je 0x140065579
mov rax, rbp
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + r12]
mov ecx, dword [rsi + 0x98]
call fcn.140135408
movsxd rcx, eax
test eax, eax
jle 0x140065562
add rbx, rcx
cmp rbx, rbp
jl 0x140065531
cmp ecx, 0xffffffff
setne al
test al, al
jne 0x14006561b
test rbx, rbx
jne 0x14006561b
or rbx, 0xffffffffffffffff
call fcn.140133db8
mov edx, dword [rax]
lea rcx, [rsp + 0x70]
call fcn.14004d150
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14006560c
cmp eax, ebx
je 0x14006561b
mov edx, ebx
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14006561b
mov rcx, qword [rsp + 0x70]
jmp 0x14006560c
mov edx, 0x16
lea rcx, [rsp + 0x80]
call fcn.14004d150
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14006560c
cmp eax, ebx
je 0x14006561b
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006561b
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1400309b0
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 2
je 0x140065bd2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140078b70
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x70], 0
jne 0x140078c96
cmp dword [rcx + 0x98], 0xffffffff
jne 0x140078c96
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x140078c8b
mov rdi, r8
mov qword [rax + 0x20], r8
xor r12d, r12d
mov ebx, r12d
mov qword [rax - 0x40], 0x2000000
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x38]
cmp rdi, 0x2000000
cmovge rax, rcx
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140078c3a
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x140078c91
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x140078c91
jmp 0x140078be0
test rbx, rbx
jne 0x140078c91
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004d150
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140078c7d
cmp eax, 0xffffffff
je 0x140078c8b
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078c8b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078c9b
mov rax, rbx
jmp 0x140078c9b
call fcn.140065bf0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140066a70
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140064d50
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.QFSFileEngine.virtual_96
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
mov rdi, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140063b60
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400643b0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.1400643b0
mov rdi, rax
mov rcx, rbx
call fcn.140025d00
mov rbx, rax
mov rcx, rdi
call fcn.140025d00
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140078f34
cmp eax, ebx
je 0x140078f43
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078f43
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x140078f69
cmp eax, 0xffffffff
je 0x140078f78
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078f78
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140078f98
cmp eax, 0xffffffff
je 0x140078fa6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078fa6
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140078fc6
cmp eax, 0xffffffff
je 0x140078fd4
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140078fd4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test dil, dil
jne 0x140079041
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x88]
call fcn.1400af450
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140079033
cmp eax, 0xffffffff
je 0x140079041
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140079041
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140067200
Capabilities:
Copy file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400643b0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400643b0
mov rdi, rax
mov rcx, rsi
call fcn.140025d00
mov rbx, rax
mov rcx, rdi
call fcn.140025d00
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140067294
cmp eax, ebx
je 0x1400672a3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400672a3
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400672c1
cmp eax, 0xffffffff
je 0x1400672cf
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400672cf
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test dil, dil
jne 0x1400672ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1400676f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f61c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rax, [0x14018c220]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14006784d
cmp esi, 0x104
jbe 0x1400677f5
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.1401235d8
mov r15, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400677eb
mov r8d, esi
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1400064b0
mov rdx, rax
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x50], rcx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400677dd
cmp eax, ebx
je 0x1400677eb
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400677eb
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, r15
call fcn.140122d40
jmp 0x14006784d
mov r8d, esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400064b0
mov rdx, rax
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x58], rcx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006783f
cmp eax, 0xffffffff
je 0x14006784d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006784d
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 4]
cmp ecx, 2
jl 0x1400678d0
cmp ecx, 1
jle 0x140067869
mov rcx, qword [rax + 0x10]
movzx r14d, word [rcx + rax + 2]
cmp r14w, 0x3a
jne 0x1400678d0
mov rcx, qword [rax + 0x10]
movzx ecx, word [rax + rcx]
call fcn.140025450
mov esi, eax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
test edx, edx
jg 0x1400678a8
mov eax, 0x20
mov word [rsp + 0x28], ax
movzx r8d, ax
lea edx, [rax - 0x1f]
lea rcx, [rsp + 0x20]
call fcn.140024490
jmp 0x1400678c3
cmp dword [rax], 1
ja 0x1400678b4
cmp qword [rax + 0x10], 0x18
je 0x1400678c8
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.140022b10
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov word [rax + rcx], si
movzx r8d, byte [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140063bc0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140067902
cmp eax, 0xffffffff
je 0x140067910
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140067910
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140122ce0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400691f0
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402f61c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rdx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14006923a
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
cmp r8d, 2
jne 0x1400692b0
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x1400692b0
cmp dword [rax], 1
ja 0x140069264
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x14006927a
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call fcn.140022b10
mov rax, qword [rsp + 0x20]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea r8, [rcx + rdx*2]
mov ecx, 0x5c
mov word [r8 + rax], cx
mov rax, qword [rsp + 0x20]
inc dword [rax + 4]
mov rax, qword [rsp + 0x20]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea r8, [rcx + rdx*2]
xor ecx, ecx
mov word [r8 + rax], cx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140077d80
nop
mov rcx, rax
call fcn.140025d00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400692f5
cmp eax, edi
je 0x140069303
mov edx, edi
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x140069303
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
cmp ebx, 0xffffffff
jne 0x14006933b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140069318
cmp eax, 0x20
jne 0x14006933b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140077d80
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400688f0
test al, al
cmovne ebx, dword [rsp + 0x50]
test rsi, rsi
je 0x140069348
cmp ebx, 0xffffffff
setne al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x140069351
xor bl, bl
jmp 0x140069357
shr ebx, 4
and bl, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140069375
cmp eax, 0xffffffff
je 0x140069383
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140069383
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140122ce0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400698e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x1402f61c0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x14018c220]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14015a950]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402c02a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x140069990
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14015a950]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402c02a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140069aac
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1402c0298]
call qword [rax]
test eax, eax
js 0x140069aa1
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400643b0
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.140025d00
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
mov ebp, eax
mov rcx, qword [rsp + 0x48]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x140069a05
cmp edx, ebx
je 0x140069a13
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140069a13
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test ebp, ebp
js 0x140069a96
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
call qword [rax + 0x18]
test eax, eax
jne 0x140069a96
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.1400064b0
mov rdx, rax
mov rcx, qword [rdi]
mov qword [rsp + 0x68], rcx
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140069a88
cmp eax, 0xffffffff
je 0x140069a96
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140069a96
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test sil, sil
je 0x140069ab7
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140122ce0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006a460
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
lea rdx, [rsp + 0x50]
call fcn.1400643b0
nop
mov rcx, rax
call fcn.140025d00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14006a4b9
cmp eax, 0xffffffff
je 0x14006a4c7
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006a4c7
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test bl, bl
jne 0x14006a4e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 2
mov rcx, qword [rsp + 0x50]
mov qword [rdi], rcx
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14006a500
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400643b0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400643b0
mov rdi, rax
mov rcx, rsi
call fcn.140025d00
mov rbx, rax
mov rcx, rdi
call fcn.140025d00
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14006a58e
cmp eax, ebx
je 0x14006a59d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006a59d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006a5bb
cmp eax, 0xffffffff
je 0x14006a5c9
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14006a5c9
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test dil, dil
jne 0x14006a5e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14006a9f0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140077d80
nop
mov rcx, rax
call fcn.140025d00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14006aa44
cmp eax, 0xffffffff
je 0x14006aa52
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006aa52
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x14006aec0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rdi, rdx
mov r14, rcx
xor bpl, bpl
xor esi, esi
call fcn.140064160
test al, al
je 0x14006af84
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140063d60
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.140025450
mov word [rsp + 0x80], ax
movzx ecx, ax
sub ecx, 0x41
mov ebx, 1
shl ebx, cl
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006af64
cmp eax, 0xffffffff
je 0x14006af72
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006af72
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x14006b083
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.1400643b0
nop
mov dword [rsp + 0x20], 7
lea rax, str._UNC
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.140024bf0
test al, al
je 0x14006b04e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.140020b30
mov r8d, eax
test eax, eax
jle 0x14006b035
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.140020b30
test eax, eax
jle 0x14006b035
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x14006b056
lea rcx, [rsp + 0x88]
call fcn.14006b360
test al, al
je 0x14006b04e
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14006b075
cmp eax, 0xffffffff
je 0x14006b083
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006b083
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test bpl, bpl
je 0x14006b0ac
mov dword [rdi + 0x10], esi
test sil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
movzx eax, bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret