joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cd20
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 0x14007ce8a
xor ebx, ebx
cmp qword [rcx + 0x70], rbx
je 0x14007cdf8
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.14012ee0c
mov rdi, rax
mov rcx, qword [rsi + 0x70]
call fcn.14012ea74
test eax, eax
setne r14b
test r15b, r15b
je 0x14007cdc6
test r14b, r14b
je 0x14007cdc6
test rdi, rdi
jne 0x14007cdc6
mov rcx, qword [rsi + 0x70]
call fcn.14012b298
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsi + 0x70]
call fcn.1401269fc
xor r15b, r15b
jmp 0x14007cdc9
add rbx, rdi
test r14b, r14b
jne 0x14007cee6
test rdi, rdi
jne 0x14007cde6
call fcn.1401263f8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14007cdee
xor ecx, ecx
cmp rbx, rbp
setl cl
test ecx, ecx
jne 0x14007cd70
jmp 0x14007ce40
cmp dword [rcx + 0x98], 0xffffffff
je 0x14007ce49
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.14012f644
movsxd rcx, eax
test eax, eax
jle 0x14007ce32
add rbx, rcx
cmp rbx, rbp
jl 0x14007ce01
cmp ecx, 0xffffffff
setne al
test al, al
jne 0x14007cee6
test rbx, rbx
jne 0x14007cee6
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140079eb0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14007ced7
cmp eax, ebx
je 0x14007cee6
mov edx, ebx
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14007cee6
mov rcx, qword [rsp + 0x70]
jmp 0x14007ced7
mov edx, 0x16
lea rcx, [rsp + 0x80]
call fcn.140079eb0
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14007ced7
cmp eax, ebx
je 0x14007cee6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007cee6
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140035d80
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 0x14007d440
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 0x14007d472
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 0x14009c460
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 0x14009c586
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14009c586
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14009c57b
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 0x14009c52a
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14009c581
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x14009c581
jmp 0x14009c4d0
test rbx, rbx
jne 0x14009c581
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140079d10
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14009c56d
cmp eax, 0xffffffff
je 0x14009c57b
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c57b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
or rax, 0xffffffffffffffff
jmp 0x14009c58b
mov rax, rbx
jmp 0x14009c58b
call fcn.14007d490
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 0x14007d490
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbp
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rcx + 0x18]
test r8, r8
js 0x14007d5c3
xor ebx, ebx
test r8, r8
je 0x14007d5ba
cmp qword [rcx + 0x70], rbx
je 0x14007d51d
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
sub r8, rbx
lea rcx, [rbx + rbp]
mov r9, qword [rsi + 0x70]
mov edx, 1
call fcn.1401262bc
add rbx, rax
test rax, rax
jne 0x14007d50f
call fcn.1401263f8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14007d517
xor ecx, ecx
cmp rbx, rdi
setl cl
test ecx, ecx
jne 0x14007d4e0
jmp 0x14007d560
cmp dword [rcx + 0x98], 0xffffffff
je 0x14007d565
nop word [rax + rax]
mov rax, rdi
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + rbp]
mov ecx, dword [rsi + 0x98]
call fcn.1401301a4
test eax, eax
jle 0x14007d560
cdqe
add rbx, rax
cmp rbx, rdi
jl 0x14007d530
test rbx, rbx
jne 0x14007d5ba
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140079eb0
mov rdi, rax
call fcn.1401263f8
mov edx, 2
mov ecx, 4
cmp dword [rax], 0x1c
cmove edx, ecx
mov r8, rdi
mov rcx, r14
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14007d607
cmp eax, ebx
je 0x14007d616
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007d616
mov rcx, qword [rsp + 0x50]
jmp 0x14007d607
and dword [rsi + 0x40], 0xffdfffff
jmp 0x14007d616
mov edx, 0x16
lea rcx, [rsp + 0x60]
call fcn.140079eb0
nop
mov r8, rax
mov edx, 2
mov rcx, r14
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14007d607
cmp eax, ebx
je 0x14007d616
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007d616
mov rcx, qword [rsp + 0x60]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140035d80
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14007e3a0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14007c610
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.14007b3c0
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14007bc70
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.14007bc70
mov rdi, rax
mov rcx, rbx
call fcn.14002b720
mov rbx, rax
mov rcx, rdi
call fcn.14002b720
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 0x14009c824
cmp eax, ebx
je 0x14009c833
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c833
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14009c859
cmp eax, 0xffffffff
je 0x14009c868
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c868
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14009c888
cmp eax, 0xffffffff
je 0x14009c896
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c896
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14009c8b6
cmp eax, 0xffffffff
je 0x14009c8c4
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14009c8c4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test dil, dil
jne 0x14009c931
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.14007e520
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14009c923
cmp eax, 0xffffffff
je 0x14009c931
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14009c931
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14007eb00
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.14007bc70
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14007bc70
mov rdi, rax
mov rcx, rsi
call fcn.14002b720
mov rbx, rax
mov rcx, rdi
call fcn.14002b720
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 0x14007eb94
cmp eax, ebx
je 0x14007eba3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007eba3
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14007ebc1
cmp eax, 0xffffffff
je 0x14007ebcf
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14007ebcf
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test dil, dil
jne 0x14007ebee
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 0x14007eff0
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 [0x1410443b8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rax, [0x1401885d8]
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 0x14007f14d
cmp esi, 0x104
jbe 0x14007f0f5
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.1401034b4
mov r15, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14007f0eb
mov r8d, esi
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1400091a0
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 0x14007f0dd
cmp eax, ebx
je 0x14007f0eb
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f0eb
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rcx, r15
call fcn.140102ba0
jmp 0x14007f14d
mov r8d, esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400091a0
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 0x14007f13f
cmp eax, 0xffffffff
je 0x14007f14d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f14d
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 4]
cmp ecx, 2
jl 0x14007f1d0
cmp ecx, 1
jle 0x14007f169
mov rcx, qword [rax + 0x10]
movzx r14d, word [rcx + rax + 2]
cmp r14w, 0x3a
jne 0x14007f1d0
mov rcx, qword [rax + 0x10]
movzx ecx, word [rax + rcx]
call fcn.14002ac90
mov esi, eax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
test edx, edx
jg 0x14007f1a8
mov eax, 0x20
mov word [rsp + 0x28], ax
movzx r8d, ax
lea edx, [rax - 0x1f]
lea rcx, [rsp + 0x20]
call fcn.140029b30
jmp 0x14007f1c3
cmp dword [rax], 1
ja 0x14007f1b4
cmp qword [rax + 0x10], 0x18
je 0x14007f1c8
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.140028110
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.14007b420
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14007f202
cmp eax, 0xffffffff
je 0x14007f210
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14007f210
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140102b40
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 0x140080e70
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 [0x1410443b8]
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 0x140080eba
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
cmp r8d, 2
jne 0x140080f30
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x140080f30
cmp dword [rax], 1
ja 0x140080ee4
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x140080efa
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call fcn.140028110
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.14009b680
nop
mov rcx, rax
call fcn.14002b720
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 0x140080f75
cmp eax, edi
je 0x140080f83
mov edx, edi
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x140080f83
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
cmp ebx, 0xffffffff
jne 0x140080fbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140080f98
cmp eax, 0x20
jne 0x140080fbb
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14009b680
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400802e0
test al, al
cmovne ebx, dword [rsp + 0x50]
test rsi, rsi
je 0x140080fc8
cmp ebx, 0xffffffff
setne al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x140080fd1
xor bl, bl
jmp 0x140080fd7
shr ebx, 4
and bl, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140080ff5
cmp eax, 0xffffffff
je 0x140081003
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140081003
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140102b40
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140081560
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 [0x1410443b8]
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, [0x1401885d8]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402c4938]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402c4988]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x140081610
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402c4938]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402c4988]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14008172c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1402c4978]
call qword [rax]
test eax, eax
js 0x140081721
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14007bc70
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14002b720
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 0x140081685
cmp edx, ebx
je 0x140081693
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140081693
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test ebp, ebp
js 0x140081716
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 0x140081716
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.1400091a0
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 0x140081708
cmp eax, 0xffffffff
je 0x140081716
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140081716
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
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 0x140081737
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140102b40
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400820a0
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.14007bc70
nop
mov rcx, rax
call fcn.14002b720
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 0x1400820f9
cmp eax, 0xffffffff
je 0x140082107
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140082107
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test bl, bl
jne 0x140082125
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 0x140082140
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.14007bc70
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14007bc70
mov rdi, rax
mov rcx, rsi
call fcn.14002b720
mov rbx, rax
mov rcx, rdi
call fcn.14002b720
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 0x1400821ce
cmp eax, ebx
je 0x1400821dd
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400821dd
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400821fb
cmp eax, 0xffffffff
je 0x140082209
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140082209
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test dil, dil
jne 0x140082228
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 0x140082670
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14009b680
nop
mov rcx, rax
call fcn.14002b720
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 0x1400826c4
cmp eax, 0xffffffff
je 0x1400826d2
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1400826d2
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140082b40
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.14007b9c0
test al, al
je 0x140082c04
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.14007b5c0
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.14002ac90
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 0x140082be4
cmp eax, 0xffffffff
je 0x140082bf2
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140082bf2
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x140082d03
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.14007bc70
nop
mov dword [rsp + 0x20], 7
lea rax, [0x1401a19f8]
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.14002a390
test al, al
je 0x140082cce
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.140026280
mov r8d, eax
test eax, eax
jle 0x140082cb5
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.140026280
test eax, eax
jle 0x140082cb5
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x140082cd6
lea rcx, [rsp + 0x88]
call fcn.140082fe0
test al, al
je 0x140082cce
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x140082cf5
cmp eax, 0xffffffff
je 0x140082d03
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140082d03
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test bpl, bpl
je 0x140082d2c
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