Function at 0x14004c134
Capabilities:
Delete file

Disassembly:
test rdx, rdx
je 0x14004c456
mov rax, rsp
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400c8590]
xor rax, rsp
mov qword [rbp - 0x38], rax
mov r12b, r9b
mov r14, r8
mov r15, rdx
mov r13, rcx
lea rcx, [rsp + 0x40]
call fcn.14004ac34
nop
mov rdx, r14
lea rcx, [rsp + 0x100]
call fcn.14004af40
nop
and qword [rbp - 0x60], 0
and qword [rbp - 0x58], 0
and qword [rbp - 0x50], 0
mov rsi, qword [rsp + 0x108]
mov rdi, qword [rsi]
jmp 0x14004c247
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.14004f150
nop
cmp byte [rsp + 0xc8], 0
jne 0x14004c1f4
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14004c237
mov rbx, qword [rsp + 0x48]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14004d19c
cmp qword [rsp + 0x30], rbx
jne 0x14004c237
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call fcn.14008cec0
nop
lea rcx, [rsp + 0xa0]
call fcn.14004f1dc
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x14004c1b6
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14004c2f5
mov sil, byte [rbp + 0x30]
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.14004d664
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x100]
call fcn.14004d19c
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0xc8]
mov cl, byte [rax + 0x30]
add rax, 0x14
cmp r8, qword [rsp + 0x108]
jne 0x14004c2bf
neg cl
sbb rcx, rcx
and rcx, rax
call fcn.14000cc50
nop
jmp 0x14004c2dc
add r8, 0x40
neg cl
sbb rdx, rdx
and rdx, rax
mov byte [rsp + 0x20], sil
mov r9b, r12b
mov rcx, r13
call fcn.14004c458
nop
lea rcx, [rsp + 0xa0]
call fcn.14004f254
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14004c265
mov rdx, r15
lea rcx, [rsp + 0xa0]
call fcn.14004ac34
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14004d084
nop
xor ebx, ebx
cmp qword [rsp + 0xc0], rbx
je 0x14004c33b
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0xc0]
call fcn.14002d25c
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
lea rcx, [rsp + 0xa8]
call fcn.14004ce7c
mov rcx, qword [rsp + 0xa8]
call fcn.14002d25c
cmp qword [rsp + 0x50], rbx
jne 0x14004c38f
mov rcx, r15
call fcn.14000cc50
cmp qword [r14 + 0x18], 8
jb 0x14004c386
mov r14, qword [r14]
mov rcx, r14
call fcn.14008cec0
nop
lea rcx, [rbp - 0x60]
call fcn.14004816c
nop
cmp qword [rsp + 0x120], rbx
je 0x14004c3be
lea rcx, [rsp + 0x120]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0x120]
call fcn.14002d25c
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rbx
lea rcx, [rsp + 0x108]
call fcn.14004ea04
mov rcx, qword [rsp + 0x108]
call fcn.14002d25c
nop
cmp qword [rsp + 0x60], rbx
je 0x14004c40d
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0x60]
call fcn.14002d25c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x48]
call fcn.14004ce7c
mov rcx, qword [rsp + 0x48]
call fcn.14002d25c
mov rcx, qword [rbp - 0x38]
xor rcx, rsp
call fcn.1400056f0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret