Function at 0x1400090e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400a68b8]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rcx
add rcx, 0x1a8
call fcn.140002410
mov byte [rdi + 0x1b0], 0
lea rsi, [rdi + 0x1e0]
lea rcx, [rdi + 0x320]
call fcn.140002410
mov byte [rdi + 0x328], 0
cmp byte [rdi + 0x60], 0
je 0x140009153
mov ebx, dword [rdi + 0x3c]
jmp 0x140009156
mov ebx, dword [rdi + 0x38]
mov edx, ebx
mov rcx, rsi
call fcn.14000dcf0
test al, al
jne 0x14000916e
mov ebx, 0xa
jmp 0x14000944d
mov rax, qword [rdi + 8]
test rax, rax
je 0x140009192
mov r8, qword [rdi + 0x10]
mov edx, ebx
mov ecx, 1
call rax
test al, al
jne 0x140009192
mov eax, 2
jmp 0x1400094e4
movzx ebx, byte [rdi + 0x60]
mov r15d, dword [rdi + 0x5c]
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x68]
call fcn.14000d280
test rax, rax
jne 0x1400091b5
lea ebx, [rax + 0xb]
jmp 0x14000944d
mov eax, dword [rax + 4]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x38], 0
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call fcn.14000d800
test al, al
jne 0x140009220
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
mov ebx, 9
jmp 0x14000944d
lea rdx, str.PC_Version
lea rcx, [rbp + 0x40]
call fcn.14000eaa0
test eax, eax
jne 0x140009257
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
mov ebx, 4
jmp 0x14000944d
mov dword [rbp + 0x250], r15d
mov dword [rbp + 0x254], ebx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000cb80
test al, al
jne 0x140009298
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
mov ebx, 0xa
jmp 0x14000944d
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400092d2
mov r8, qword [rdi + 0x10]
xor edx, edx
xor ecx, ecx
call rax
test al, al
jne 0x1400092d2
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
mov ebx, 2
jmp 0x14000944d
lea rax, vtable.MusicLab::CSDBIInfo.0
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e510
nop
mov r8b, 0x10
xor edx, edx
lea rcx, [rdi + 0x68]
call fcn.14000d280
mov rbx, rax
test rax, rax
je 0x1400093aa
lea r15, vtable.MusicLab::CSDBIPreset.0
nop dword [rax]
mov ecx, dword [rbx + 4]
mov byte [rsp + 0x28], 0x10
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], r15
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.14000e4b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call fcn.14000d800
test al, al
je 0x1400093f7
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000cb80
test al, al
je 0x1400093de
mov rax, qword [rdi + 8]
test rax, rax
je 0x14000937d
mov r8, qword [rdi + 0x10]
xor edx, edx
xor ecx, ecx
call rax
test al, al
je 0x1400093c5
mov qword [rsp + 0x20], r15
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e4b0
nop
mov r8b, 0x10
mov rdx, rbx
lea rcx, [rdi + 0x68]
call fcn.14000d280
mov rbx, rax
test rax, rax
jne 0x140009310
movzx eax, byte [rdi + 0x60]
mov rcx, rdi
cmp byte [rdi + 0x39c], 0
je 0x140009417
test al, al
jne 0x140009410
call fcn.14000a210
jmp 0x140009427
mov qword [rsp + 0x20], r15
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e4b0
nop
mov ebx, 2
jmp 0x14000944d
mov qword [rsp + 0x20], r15
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e4b0
nop
mov ebx, 0xa
jmp 0x14000944d
mov qword [rsp + 0x20], r15
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000e4b0
nop
mov ebx, 9
jmp 0x14000944d
call fcn.14000ab10
jmp 0x140009427
test al, al
jne 0x140009422
call fcn.140009df0
jmp 0x140009427
call fcn.14000a5d0
mov ebx, eax
test eax, eax
jne 0x14000944d
mov rcx, rdi
call fcn.140008f60
mov ebx, eax
test eax, eax
jne 0x14000944d
mov rcx, rsi
call fcn.14000cfb0
mov ecx, 0xc
test al, al
cmove ebx, ecx
lea rcx, [rdi + 0x1a8]
call fcn.140002c50
cmp byte [rdi + 0x1b0], 0
je 0x14000947a
mov rax, qword [rdi + 0x1b8]
test rax, rax
je 0x14000947a
mov edx, dword [rdi + 0x1c0]
lea rcx, [rdi + 0x68]
call rax
lea rcx, [rdi + 0x320]
call fcn.140002c50
cmp byte [rsi + 0x148], 0
je 0x1400094a6
mov rax, qword [rsi + 0x150]
test rax, rax
je 0x1400094a6
mov edx, dword [rsi + 0x158]
mov rcx, rsi
call rax
mov rcx, rsi
test ebx, ebx
jne 0x1400094bc
mov dl, 1
call fcn.14000cd90
mov dword [rdi + 0x398], ebx
jmp 0x1400094cc
xor edx, edx
call fcn.14000cd90
mov rcx, qword [rdi + 0x30]
call sub.KERNEL32.dll_DeleteFileA
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400094e2
mov r8, qword [rdi + 0x10]
mov edx, ebx
mov ecx, 2
call rax
mov eax, ebx
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14001e120
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret