joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008bc20
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140089ee0
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.140088cf0
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140089540
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.140089540
mov rdi, rax
mov rcx, rbx
call fcn.140036ca0
mov rbx, rax
mov rcx, rdi
call fcn.140036ca0
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 0x140097474
cmp eax, ebx
je 0x140097483
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140097483
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400974a9
cmp eax, 0xffffffff
je 0x1400974b8
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400974b8
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400974d8
cmp eax, 0xffffffff
je 0x1400974e6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400974e6
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140097506
cmp eax, 0xffffffff
je 0x140097514
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140097514
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test dil, dil
jne 0x140097581
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.1400c3530
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140097573
cmp eax, 0xffffffff
je 0x140097581
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140097581
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008c390
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.140089540
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140089540
mov rdi, rax
mov rcx, rsi
call fcn.140036ca0
mov rbx, rax
mov rcx, rdi
call fcn.140036ca0
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 0x14008c424
cmp eax, ebx
je 0x14008c433
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14008c433
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14008c451
cmp eax, 0xffffffff
je 0x14008c45f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14008c45f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test dil, dil
jne 0x14008c47e
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 0x14008c880
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 [0x1419761c8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rax, [0x140187f70]
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 0x14008c9dd
cmp esi, 0x104
jbe 0x14008c985
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.140120320
mov r15, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14008c97b
mov r8d, esi
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1400042e0
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 0x14008c96d
cmp eax, ebx
je 0x14008c97b
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14008c97b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, r15
call fcn.140120d70
jmp 0x14008c9dd
mov r8d, esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400042e0
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 0x14008c9cf
cmp eax, 0xffffffff
je 0x14008c9dd
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14008c9dd
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 4]
cmp ecx, 2
jl 0x14008ca60
cmp ecx, 1
jle 0x14008c9f9
mov rcx, qword [rax + 0x10]
movzx r14d, word [rcx + rax + 2]
cmp r14w, 0x3a
jne 0x14008ca60
mov rcx, qword [rax + 0x10]
movzx ecx, word [rax + rcx]
call fcn.1400363f0
mov esi, eax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
test edx, edx
jg 0x14008ca38
mov eax, 0x20
mov word [rsp + 0x28], ax
movzx r8d, ax
lea edx, [rax - 0x1f]
lea rcx, [rsp + 0x20]
call fcn.140035450
jmp 0x14008ca53
cmp dword [rax], 1
ja 0x14008ca44
cmp qword [rax + 0x10], 0x18
je 0x14008ca58
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.1400342b0
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.140088d50
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14008ca92
cmp eax, 0xffffffff
je 0x14008caa0
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14008caa0
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401202c0
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 0x14008e380
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 [0x1419761c8]
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 0x14008e3ca
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
cmp r8d, 2
jne 0x14008e440
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x14008e440
cmp dword [rax], 1
ja 0x14008e3f4
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x14008e40a
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call fcn.1400342b0
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.1400962c0
nop
mov rcx, rax
call fcn.140036ca0
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 0x14008e485
cmp eax, edi
je 0x14008e493
mov edx, edi
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14008e493
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
cmp ebx, 0xffffffff
jne 0x14008e4cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14008e4a8
cmp eax, 0x20
jne 0x14008e4cb
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400962c0
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14008da80
test al, al
cmovne ebx, dword [rsp + 0x50]
test rsi, rsi
je 0x14008e4d8
cmp ebx, 0xffffffff
setne al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x14008e4e1
xor bl, bl
jmp 0x14008e4e7
shr ebx, 4
and bl, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14008e505
cmp eax, 0xffffffff
je 0x14008e513
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14008e513
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1401202c0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14008ea70
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 [0x1419761c8]
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, [0x140187f70]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402b8468]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402b84b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x14008eb20
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402b8468]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402b84b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14008ec3c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1402b84a8]
call qword [rax]
test eax, eax
js 0x14008ec31
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140089540
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.140036ca0
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 0x14008eb95
cmp edx, ebx
je 0x14008eba3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14008eba3
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test ebp, ebp
js 0x14008ec26
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 0x14008ec26
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.1400042e0
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 0x14008ec18
cmp eax, 0xffffffff
je 0x14008ec26
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14008ec26
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
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 0x14008ec47
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1401202c0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008f5f0
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.140089540
nop
mov rcx, rax
call fcn.140036ca0
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 0x14008f649
cmp eax, 0xffffffff
je 0x14008f657
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14008f657
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test bl, bl
jne 0x14008f675
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 0x14008f690
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.140089540
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140089540
mov rdi, rax
mov rcx, rsi
call fcn.140036ca0
mov rbx, rax
mov rcx, rdi
call fcn.140036ca0
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 0x14008f71e
cmp eax, ebx
je 0x14008f72d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14008f72d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14008f74b
cmp eax, 0xffffffff
je 0x14008f759
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14008f759
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test dil, dil
jne 0x14008f778
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 0x14008fb80
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400962c0
nop
mov rcx, rax
call fcn.140036ca0
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 0x14008fbd4
cmp eax, 0xffffffff
je 0x14008fbe2
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14008fbe2
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140090050
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.1400892f0
test al, al
je 0x140090114
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.140088ef0
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.1400363f0
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 0x1400900f4
cmp eax, 0xffffffff
je 0x140090102
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140090102
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x140090213
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140089540
nop
mov dword [rsp + 0x20], 7
lea rax, [0x1401d3e80]
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.140035bb0
test al, al
je 0x1400901de
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.1400322a0
mov r8d, eax
test eax, eax
jle 0x1400901c5
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.1400322a0
test eax, eax
jle 0x1400901c5
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x1400901e6
lea rcx, [rsp + 0x88]
call fcn.1400904f0
test al, al
je 0x1400901de
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x140090205
cmp eax, 0xffffffff
je 0x140090213
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140090213
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test bpl, bpl
je 0x14009023c
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
Function at 0x140096d00
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 0x14008a5e2
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 0x140096d00
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 0x140096e34
cmp dword [rcx + 0x98], 0xffffffff
jne 0x140096e2f
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x140096e9c
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401d4a40]
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 0x140096dc5
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x140096e27
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x140096e27
jmp 0x140096d70
test rbx, rbx
jne 0x140096e27
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1400431e0
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140096e10
cmp eax, 0xffffffff
je 0x140096e9c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140096e9c
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
or rax, 0xffffffffffffffff
jmp 0x140096eb0
mov rax, rbx
jmp 0x140096eb0
test rax, rax
je 0x140096ea2
call fcn.140096a80
test al, al
je 0x140096ea2
mov rcx, qword [rsi + 0x70]
call fcn.14012bd28
test eax, eax
je 0x140096ea2
call fcn.140125b78
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.1400431e0
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140096e8e
cmp eax, 0xffffffff
je 0x140096e9c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140096e9c
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
or rax, 0xffffffffffffffff
jmp 0x140096eb0
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14008a600
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 0x1400970b0
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 0x14008ad82
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 0x1400970b0
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 0x1400971d6
cmp dword [rcx + 0x98], 0xffffffff
jne 0x1400971d6
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x1400971cb
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 0x14009717a
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x1400971d1
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x1400971d1
jmp 0x140097120
test rbx, rbx
jne 0x1400971d1
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1400431e0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400971bd
cmp eax, 0xffffffff
je 0x1400971cb
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400971cb
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
or rax, 0xffffffffffffffff
jmp 0x1400971db
mov rax, rbx
jmp 0x1400971db
call fcn.14008ada0
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 0x1400973e0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140089ee0
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.140088cf0
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140089540
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.140089540
mov rdi, rax
mov rcx, rbx
call fcn.140036ca0
mov rbx, rax
mov rcx, rdi
call fcn.140036ca0
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 0x140097474
cmp eax, ebx
je 0x140097483
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140097483
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400974a9
cmp eax, 0xffffffff
je 0x1400974b8
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400974b8
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400974d8
cmp eax, 0xffffffff
je 0x1400974e6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400974e6
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140097506
cmp eax, 0xffffffff
je 0x140097514
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140097514
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
test dil, dil
jne 0x140097581
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.1400c3530
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140097573
cmp eax, 0xffffffff
je 0x140097581
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140097581
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret