joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a100
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 0x14005a132
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 0x14006b080
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 0x14006b1a4
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006b19f
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006b205
mov edi, r8d
mov dword [r11 + 8], r8d
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1414b2560]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x90]
cmp edi, 0x2000000
cmovae rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006b142
mov ecx, dword [rsp + 0xa8]
test ecx, ecx
je 0x14006b19a
add rbx, rcx
sub edi, ecx
mov dword [rsp + 0x90], edi
cmp rbx, rbp
jge 0x14006b19a
jmp 0x14006b0f0
test rbx, rbx
jne 0x14006b19a
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000e6b0
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140058540
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b186
cmp eax, 0xffffffff
je 0x14006b205
lock dec dword [rcx]
jne 0x14006b205
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
or rax, 0xffffffffffffffff
jmp 0x14006b219
mov rax, rbx
jmp 0x14006b219
test rax, rax
je 0x14006b20b
call fcn.14006ae00
test al, al
je 0x14006b20b
mov rcx, qword [rsi + 0x70]
call fcn.1400fd560
test eax, eax
je 0x14006b20b
call fcn.1400fd4f0
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14000e6b0
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140058540
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006b1f7
cmp eax, 0xffffffff
je 0x14006b205
lock dec dword [rcx]
jne 0x14006b205
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
or rax, 0xffffffffffffffff
jmp 0x14006b219
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14005a150
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 0x14005a150
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 rsi, r8
mov r12, rdx
mov rbp, rcx
mov r13, qword [rcx + 0x18]
test r8, r8
js 0x14005a2cc
xor ebx, ebx
cmp qword [rcx + 0x70], rbx
je 0x14005a228
mov r15b, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rsi
sub r8, rbx
lea rcx, [rbx + r12]
mov r9, qword [rbp + 0x70]
mov edx, 1
call fcn.1400fd908
mov rdi, rax
mov rcx, qword [rbp + 0x70]
call fcn.1400fd560
test eax, eax
setne r14b
test r15b, r15b
je 0x14005a1f6
test r14b, r14b
je 0x14005a1f6
test rdi, rdi
jne 0x14005a1f6
mov rcx, qword [rbp + 0x70]
call fcn.1400fc518
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
call fcn.1400fab9c
xor r15b, r15b
jmp 0x14005a1f9
add rbx, rdi
test r14b, r14b
jne 0x14005a322
test rdi, rdi
jne 0x14005a216
call fcn.1400fd4f0
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14005a21e
xor ecx, ecx
cmp rbx, rsi
setl cl
test ecx, ecx
jne 0x14005a1a0
jmp 0x14005a283
cmp dword [rcx + 0x98], 0xffffffff
je 0x14005a28c
nop dword [rax]
nop word [rax + rax]
mov r8d, esi
sub r8d, ebx
lea rdx, [rbx + r12]
mov ecx, dword [rbp + 0x98]
call fcn.1400fdb50
movsxd rdi, eax
cmp edi, 0xffffffff
jne 0x14005a269
call fcn.1400fd4f0
cmp dword [rax], 4
jne 0x14005a275
jmp 0x14005a240
test eax, eax
jle 0x14005a275
add rbx, rdi
cmp rbx, rsi
jl 0x14005a240
cmp edi, 0xffffffff
setne al
test al, al
jne 0x14005a322
test rbx, rbx
jne 0x14005a322
or rbx, 0xffffffffffffffff
call fcn.1400fd4f0
mov edx, dword [rax]
lea rcx, [rsp + 0x70]
call fcn.14000e6b0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.140058540
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14005a313
cmp eax, ebx
je 0x14005a322
lock dec dword [rcx]
jne 0x14005a322
mov rcx, qword [rsp + 0x70]
jmp 0x14005a313
mov edx, 0x16
lea rcx, [rsp + 0x80]
call fcn.14000e6b0
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.140058540
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14005a313
cmp eax, ebx
je 0x14005a322
lock dec dword [rcx]
jne 0x14005a322
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140011b40
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 0x14005a830
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 0x14005a862
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 0x14006b410
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x70], 0
jne 0x14006b519
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006b519
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006b50e
mov edi, r8d
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1414b2564]
mov dword [rsp + 0x80], edi
lea rax, [rsp + 0x80]
cmp edi, 0x2000000
cmovae rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x98]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14006b4c4
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14006b514
add rbx, rax
sub rdi, rax
cmp rbx, rbp
jge 0x14006b514
jmp 0x14006b471
test rbx, rbx
jne 0x14006b514
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000e6b0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140058540
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b500
cmp eax, 0xffffffff
je 0x14006b50e
lock dec dword [rcx]
jne 0x14006b50e
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
or rax, 0xffffffffffffffff
jmp 0x14006b51e
mov rax, rbx
jmp 0x14006b51e
call fcn.14005a880
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005a880
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 0x14005a9aa
xor ebx, ebx
cmp qword [rcx + 0x70], rbx
je 0x14005a8fd
nop word [rax + rax]
mov r8, rdi
sub r8, rbx
lea rcx, [rbx + rbp]
mov r9, qword [rsi + 0x70]
mov edx, 1
call fcn.1400fae54
add rbx, rax
test rax, rax
jne 0x14005a8ef
call fcn.1400fd4f0
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14005a8f7
xor ecx, ecx
cmp rbx, rdi
setl cl
test ecx, ecx
jne 0x14005a8c0
jmp 0x14005a944
cmp dword [rcx + 0x98], 0xffffffff
je 0x14005a944
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
lea rdx, [rbx + rbp]
mov ecx, dword [rsi + 0x98]
call fcn.1400fe4dc
cmp eax, 0xffffffff
jne 0x14005a936
call fcn.1400fd4f0
cmp dword [rax], 4
jne 0x14005a944
jmp 0x14005a910
test eax, eax
jle 0x14005a944
cdqe
add rbx, rax
cmp rbx, rdi
jl 0x14005a910
test rdi, rdi
je 0x14005a9f7
test rbx, rbx
jne 0x14005a9f7
or rbx, 0xffffffffffffffff
call fcn.1400fd4f0
mov edx, dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14000e6b0
mov rdi, rax
call fcn.1400fd4f0
mov edx, 2
mov ecx, 4
cmp dword [rax], 0x1c
cmove edx, ecx
mov r8, rdi
mov rcx, r14
call fcn.140058540
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14005a9e8
cmp eax, ebx
je 0x14005a9f7
lock dec dword [rcx]
jne 0x14005a9f7
mov rcx, qword [rsp + 0x50]
jmp 0x14005a9e8
mov edx, 0x16
lea rcx, [rsp + 0x60]
call fcn.14000e6b0
nop
mov r8, rax
mov edx, 2
mov rcx, r14
call fcn.140058540
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14005a9e8
cmp eax, ebx
je 0x14005a9f7
lock dec dword [rcx]
jne 0x14005a9f7
mov rcx, qword [rsp + 0x60]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140011b40
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 0x14005b630
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140059a10
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.140058670
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400590c0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.1400590c0
mov rdi, rax
mov rcx, rbx
call fcn.14001afc0
mov rbx, rax
mov rcx, rdi
call fcn.14001afc0
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 0x14006b8be
cmp eax, ebx
je 0x14006b8cd
lock dec dword [rcx]
jne 0x14006b8cd
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14006b8ed
cmp eax, 0xffffffff
je 0x14006b8fc
lock dec dword [rcx]
jne 0x14006b8fc
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006b916
cmp eax, 0xffffffff
je 0x14006b925
lock dec dword [rcx]
jne 0x14006b925
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b944
cmp eax, 0xffffffff
je 0x14006b952
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
jne 0x14006b952
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
test dil, dil
jne 0x14006b9bb
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.1400a5ac0
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140058540
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006b9ad
cmp eax, 0xffffffff
je 0x14006b9bb
lock dec dword [rcx]
jne 0x14006b9bb
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005bdb0
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.1400590c0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400590c0
mov rdi, rax
mov rcx, rsi
call fcn.14001afc0
mov rbx, rax
mov rcx, rdi
call fcn.14001afc0
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]
test eax, eax
je 0x14005be3c
cmp eax, 0xffffffff
je 0x14005be4b
lock dec dword [rcx]
jne 0x14005be4b
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005be65
cmp eax, 0xffffffff
je 0x14005be73
lock dec dword [rcx]
jne 0x14005be73
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
test dil, dil
jne 0x14005be92
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 0x14005c260
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x2c], 0
lea rax, [0x14143f7c8]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14005c3a3
cmp esi, 0x104
jbe 0x14005c356
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.1400f9548
mov r14, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14005c34c
mov r8d, esi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14000e320
mov rdx, rax
mov rcx, qword [rsp + 0x20]
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 0x14005c33e
cmp eax, ebx
je 0x14005c34c
lock dec dword [rcx]
jne 0x14005c34c
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, r14
call fcn.14008b540
jmp 0x14005c3a3
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000e320
mov rdx, rax
mov rcx, qword [rsp + 0x20]
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 0x14005c395
cmp eax, 0xffffffff
je 0x14005c3a3
lock dec dword [rcx]
jne 0x14005c3a3
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 4]
cmp ecx, 2
jl 0x14005c40e
cmp ecx, 1
jle 0x14005c40e
mov rdx, qword [rax + 0x10]
cmp word [rdx + rax + 2], 0x3a
jne 0x14005c40e
movzx ecx, word [rdx + rax]
call fcn.14001a630
mov esi, eax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
test edx, edx
jg 0x14005c3e6
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140014db0
jmp 0x14005c401
cmp dword [rax], 1
ja 0x14005c3f2
cmp qword [rax + 0x10], 0x18
je 0x14005c406
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.140017440
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov word [rax + rcx], si
xor eax, eax
mov byte [rsp + 0x28], al
movzx r8d, al
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400586d0
mov dword [rsp + 0x2c], 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005c447
cmp eax, 0xffffffff
je 0x14005c455
lock dec dword [rcx]
jne 0x14005c455
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14005dc90
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14005dcda
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
cmp r8d, 2
jne 0x14005dd50
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x14005dd50
cmp dword [rax], 1
ja 0x14005dd04
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x14005dd1a
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call fcn.140017440
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.14006a650
nop
mov rcx, rax
call fcn.14001afc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14005dd8d
cmp eax, 0xffffffff
je 0x14005dd9b
lock dec dword [rcx]
jne 0x14005dd9b
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
cmp ebx, 0xffffffff
jne 0x14005ddd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14005ddb0
cmp eax, 0x20
jne 0x14005ddd3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14006a650
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005d480
test al, al
cmovne ebx, dword [rsp + 0x40]
test rsi, rsi
je 0x14005dde0
cmp ebx, 0xffffffff
setne al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x14005dde9
xor bl, bl
jmp 0x14005ddef
shr ebx, 4
and bl, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005de09
cmp eax, 0xffffffff
je 0x14005de17
lock dec dword [rcx]
jne 0x14005de17
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14005e340
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x14143f7c8]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x141577bb8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x141577bd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x14005e3f0
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x141577bb8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x141577bd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005e4fd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x141577bc8]
call qword [rax]
test eax, eax
js 0x14005e4f2
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400590c0
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14001afc0
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
mov ebp, eax
mov rcx, qword [rsp + 0x50]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x14005e45f
cmp edx, ebx
je 0x14005e46d
lock dec dword [rcx]
jne 0x14005e46d
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
test ebp, ebp
js 0x14005e4e7
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 0x14005e4e7
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x48]
call fcn.14000e320
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14005e4d9
cmp eax, 0xffffffff
je 0x14005e4e7
lock dec dword [rcx]
jne 0x14005e4e7
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
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 0x14005e508
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400fb630
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005ede0
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.1400590c0
nop
mov rcx, rax
call fcn.14001afc0
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 0x14005ee38
cmp eax, 0xffffffff
je 0x14005ee46
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005ee46
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
test bl, bl
jne 0x14005ee64
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 0x14005ee80
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.1400590c0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400590c0
mov rdi, rax
mov rcx, rsi
call fcn.14001afc0
mov rbx, rax
mov rcx, rdi
call fcn.14001afc0
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]
test eax, eax
je 0x14005ef06
cmp eax, 0xffffffff
je 0x14005ef15
lock dec dword [rcx]
jne 0x14005ef15
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005ef2f
cmp eax, 0xffffffff
je 0x14005ef3d
lock dec dword [rcx]
jne 0x14005ef3d
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
test dil, dil
jne 0x14005ef5c
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 0x14005f380
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14006a650
nop
mov rcx, rax
call fcn.14001afc0
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 0x14005f3d3
cmp eax, 0xffffffff
je 0x14005f3e1
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005f3e1
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
movzx eax, bl
add rsp, 0x30
pop rbx
ret