Function at 0x140033a94
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4a0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x398], rax
mov rbx, r9
mov qword [rbp - 0x80], r8
mov rdi, rdx
mov r13, rcx
call fcn.140010170
mov rsi, rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14001f468
lea r8, [0x140019ba0]
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1400198b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov r8b, 1
lea rdx, [fcn.1400131d0]
mov rcx, rsi
call fcn.14001e39c
test al, al
je 0x140033b51
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14001f468
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140019830
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x140033b5f
mov r12d, r15d
jmp 0x140033b72
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140010c4b.0]
mov r12d, eax
mov rsi, qword [rbp - 0x68]
cmp rsi, qword [rbp - 0x60]
je 0x140034058
lea rax, [fcn.140036e80]
mov qword [rsp + 0x30], rax
add rsi, 0x88
lea r14, [rsi - 0x88]
mov rcx, r14
call fcn.140030fd4
test al, al
je 0x140033baf
cmp qword [rsi - 0x48], r15
jne 0x140033baf
mov r15b, 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov r8, r14
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140019598
mov r9, rax
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.140019ff4
test r15b, r15b
jne 0x140033bfc
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, r13
call fcn.140036bb4
cmp qword [rsi + 0x18], 8
jb 0x140033c08
mov rcx, qword [rsi]
jmp 0x140033c0b
mov rcx, rsi
lea r9, [rsi - 0x28]
cmp qword [rsi - 0x10], 8
jb 0x140033c19
mov r9, qword [r9]
lea r8, [rsi - 0x58]
cmp qword [rsi - 0x40], 8
jb 0x140033c27
mov r8, qword [r8]
lea rdx, [rsi - 0x80]
cmp qword [rsi - 0x68], 8
jb 0x140033c35
mov rdx, qword [rdx]
mov r10, qword [rbp - 0x80]
mov rax, qword [r10]
mov qword [rsp + 0x20], rcx
mov rcx, r10
mov rax, qword [rax + 0x58]
call qword [case.0x140010c4b.0]
mov edi, eax
mov qword [rbp + 0x340], 7
xor eax, eax
mov qword [rbp + 0x338], rax
mov word [rbp + 0x328], ax
lea r8d, [rax + 0x1d]
lea rdx, str.IVssComponent::AddPartialFile
lea rcx, [rbp + 0x320]
call fcn.1400053ec
lea rdx, [rbp + 0x320]
mov ecx, edi
call fcn.140012d24
lea rdx, [rbp + 0x370]
mov rcx, r14
call fcn.1400182b8
mov rdi, rax
test r15b, r15b
je 0x140033d80
mov qword [rbp + 0x340], 7
xor r15d, r15d
mov qword [rbp + 0x338], r15
mov word [rbp + 0x328], r15w
lea r8d, [r15 + 0x17]
lea rdx, str._nAdded_DASD_volume:
lea rcx, [rbp + 0x320]
call fcn.1400053ec
nop
mov r8, rdi
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x348]
call fcn.140008f2c
nop
lea edx, [r15 + 2]
mov rcx, rax
call fcn.140013160
nop
cmp qword [rbp + 0x368], 8
jb 0x140033d1a
mov rcx, qword [rbp + 0x350]
call fcn.1400110f8
mov edi, 7
mov qword [rbp + 0x368], rdi
mov qword [rbp + 0x360], r15
mov word [rbp + 0x350], r15w
cmp qword [rbp + 0x340], 8
jb 0x140033d4b
mov rcx, qword [rbp + 0x328]
call fcn.1400110f8
mov qword [rbp + 0x340], rdi
mov qword [rbp + 0x338], r15
mov word [rbp + 0x328], r15w
cmp qword [rbp + 0x390], 8
jb 0x140034024
mov rcx, qword [rbp + 0x378]
call fcn.1400110f8
jmp 0x140034024
mov qword [rbp + 0x340], 7
xor r15d, r15d
mov qword [rbp + 0x338], r15
mov word [rbp + 0x328], r15w
lea r8d, [r15 + 0x18]
lea rdx, str._nAdded_Partial_File:
lea rcx, [rbp + 0x320]
call fcn.1400053ec
nop
mov r8, rdi
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x348]
call fcn.140008f2c
nop
lea edx, [r15 + 2]
mov rcx, rax
call fcn.140013160
nop
cmp qword [rbp + 0x368], 8
jb 0x140033def
mov rcx, qword [rbp + 0x350]
call fcn.1400110f8
mov edi, 7
mov qword [rbp + 0x368], rdi
mov qword [rbp + 0x360], r15
mov word [rbp + 0x350], r15w
cmp qword [rbp + 0x340], 8
jb 0x140033e20
mov rcx, qword [rbp + 0x328]
call fcn.1400110f8
mov qword [rbp + 0x340], rdi
mov qword [rbp + 0x338], r15
mov word [rbp + 0x328], r15w
cmp qword [rbp + 0x390], 8
jb 0x140033e4c
mov rcx, qword [rbp + 0x378]
call fcn.1400110f8
mov rdx, r14
mov rcx, rbx
call fcn.140034c8c
mov r8b, 1
lea rdx, [fcn.1400131d0]
mov rcx, qword [rbp - 0x78]
call fcn.14001e39c
test al, al
je 0x14003401d
mov r8, qword [rsp + 0x48]
test r8, r8
jne 0x140033e81
mov rdx, r15
jmp 0x140033ea7
mov rcx, qword [rsp + 0x50]
sub rcx, r8
movabs rax, 0xb21642c8590b2165
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
je 0x140033ecb
mov rdx, r8
lea rcx, [rbp - 0x40]
call fcn.14001f364
mov edx, r12d
mov rcx, rax
call fcn.140035f70
test al, al
je 0x14003401d
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rbp - 0x40]
call fcn.14000b65c
nop
lea r8, [rsi - 0x60]
mov rdx, r14
lea rcx, [rbp + 0x370]
call fcn.140008f2c
mov rdi, rax
lea rdx, str._ndeleting_file
lea rcx, [rbp - 0x30]
call fcn.14000aa8c
mov rcx, rax
mov rdx, rdi
call fcn.14000acc0
nop
cmp qword [rbp + 0x390], 8
jb 0x140033f26
mov rcx, qword [rbp + 0x378]
call fcn.1400110f8
lea rdx, [rbp + 0x348]
lea rcx, [rbp - 0x28]
call fcn.14001097c
nop
mov edx, 2
lea rcx, [rbp + 0x348]
call fcn.140013160
nop
cmp qword [rbp + 0x368], 8
jb 0x140033f5f
mov rcx, qword [rbp + 0x350]
call fcn.1400110f8
lea r8, [rsi - 0x60]
mov rdx, r14
lea rcx, [rbp + 0x370]
call fcn.140008f2c
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 8
jb 0x140033f80
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r15d, r15d
test eax, eax
sete dil
cmp qword [rbp + 0x390], 8
jb 0x140033fa5
mov rcx, qword [rbp + 0x378]
call fcn.1400110f8
test dil, dil
je 0x140033ffe
mov qword [rbp + 0x368], 7
mov qword [rbp + 0x360], r15
mov word [rbp + 0x350], r15w
mov r8d, 0xa
lea rdx, str.DeleteFile
lea rcx, [rbp + 0x348]
call fcn.1400053ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rdx, [rbp + 0x348]
call fcn.140013d9c
nop
lea rcx, [rbp + 0x58]
call fcn.14000c1e4
nop
lea rax, [0x1400422a0]
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.140011e54
nop
add rsi, 0xa8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140034047
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
call fcn.140018c58
mov rcx, qword [rsp + 0x48]
call fcn.1400110f8
lea rax, [rsi - 0x88]
cmp rax, qword [rbp - 0x60]
jne 0x140033b93
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003407b
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
call fcn.140018c58
mov rcx, qword [rsp + 0x68]
call fcn.1400110f8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
lea rcx, [rbp - 0x70]
call fcn.14002af14
mov rcx, qword [rbp + 0x398]
xor rcx, rsp
call fcn.140012560
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret