Function at 0x140001cb0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x338
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x2a0], xmm6
mov qword [rbp + 0x298], 0xfffffffffffffffe
mov qword [rbp + 0x288], rdx
cmp qword [rcx + 0x18], 0xf
mov rdx, rcx
jbe 0x140001cf1
mov rdx, qword [rcx]
mov qword [rbp + 0x290], rcx
mov dword [rsp + 0x20], 1
lea rcx, [rbp + 0xb0]
mov r8d, 0x20
mov r9d, 0x40
call fcn.1400053e0
cmp qword [rbp + 0x140], 0
je 0x140002203
xorps xmm6, xmm6
movaps xmmword [rbp + 0x270], xmm6
movaps xmmword [rbp + 0x260], xmm6
lea rdx, [0x140098bb0]
lea rcx, [rbp + 0x260]
xor r8d, r8d
call fcn.140005060
movaps xmmword [rbp + 0x250], xmm6
movaps xmmword [rbp + 0x240], xmm6
call fcn.140009a60
cdqe
lea rcx, [0x140083240]
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x250], rax
call fcn.140009820
cdqe
lea rcx, [0x140083110]
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x258], rax
mov byte [rbp + 0x240], 0
lea r13, [rbp + 0x240]
lea r12, [0x140083070]
jmp 0x140001dc4
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0x260]
mov rdx, rsi
call fcn.1400066b0
lea rcx, [rbp + 0xb0]
mov rdx, r13
call fcn.140001b00
mov rsi, rax
mov rax, qword [rax]
movsxd rdi, dword [rax + 4]
call fcn.140008c60
cdqe
lea rcx, [0x140083240]
mov rcx, qword [rcx + rax*8]
mov rbx, rcx
xor rbx, rdi
mov rdx, rdi
not rdx
or rdx, rcx
mov rax, rcx
not rax
or rax, rdi
add rdi, rcx
add rdi, rbx
add rdi, rdx
add rdi, rax
mov esi, dword [rsi + rdi + 0x12]
call fcn.140008c60
cdqe
mov eax, dword [r12 + rax*4]
mov ecx, eax
and ecx, esi
mov edx, eax
xor edx, esi
add edx, ecx
mov ecx, eax
not ecx
or ecx, esi
add ecx, edx
not esi
or esi, eax
add esi, ecx
add esi, 2
call fcn.140008d10
cdqe
lea rcx, [0x140083218]
cmp esi, dword [rcx + rax*4]
jne 0x140001f0b
cmp qword [rbp + 0x258], 0xf
mov r9, r13
jbe 0x140001e68
mov r9, qword [rbp + 0x240]
mov rsi, qword [rbp + 0x250]
mov r15, qword [rbp + 0x270]
mov rax, qword [rbp + 0x278]
lea rcx, [rax + rax]
sub rcx, r15
mov rdx, rax
or rdx, r15
sub rcx, rdx
mov rdx, rax
not rdx
and rdx, r15
add rdx, rcx
cmp rdx, rsi
jb 0x140001db0
mov rcx, r15
and rcx, rsi
add rcx, r15
mov rdx, r15
not rdx
and rdx, rsi
add rdx, rcx
mov qword [rbp + 0x270], rdx
lea r14, [rbp + 0x260]
cmp rax, 0xf
jbe 0x140001ed2
mov r14, qword [rbp + 0x260]
lea rcx, [r14 + r15]
mov rdx, r9
mov r8, rsi
call fcn.14004edb0
call fcn.140009b90
cdqe
lea rcx, [0x1400831c5]
movzx eax, byte [rax + rcx]
mov rcx, r15
or rcx, rsi
add rcx, rcx
xor r15, rsi
sub rcx, r15
mov byte [r14 + rcx], al
jmp 0x140001dc4
lea rcx, [rbp + 0xc0]
call fcn.140002680
test rax, rax
jne 0x140001f83
mov rax, qword [rbp + 0xb0]
movsxd rdx, dword [rax + 4]
lea rcx, [rdx + rbp]
add rcx, 0xb0
mov ebx, dword [rbp + rdx + 0xc0]
mov eax, ebx
not eax
mov edi, eax
and edi, 2
mov esi, ebx
or esi, 0xfffffffd
add ebx, ebx
or ebx, 4
or eax, 2
add eax, esi
add eax, edi
add eax, ebx
xor ebx, ebx
cmp qword [rbp + rdx + 0xf8], 0
sete bl
shl ebx, 2
mov edx, eax
not edx
and edx, ebx
mov edi, eax
or edi, ebx
not ebx
or ebx, eax
add edx, edi
add edx, 1
add edx, ebx
xor r8d, r8d
call fcn.140005db0
mov rax, qword [rbp + 0x290]
cmp qword [rax + 0x18], 0x10
mov rcx, rax
jb 0x140001f97
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
call fcn.140008c90
cdqe
lea rcx, [0x140083218]
cmp esi, dword [rcx + rax*4]
je 0x1400021eb
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1e0], xmm0
movaps xmmword [rbp + 0x1f0], xmm0
mov rdx, qword [rbp + 0x288]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140001fe3
mov rax, qword [rbp + 0x288]
mov rdx, qword [rax]
lea rcx, [rbp + 0x1e0]
call fcn.140004ef0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1c0], xmm0
mov r8, qword [rbp + 0x270]
cmp qword [rbp + 0x278], 0xf
jbe 0x14000201a
mov rdx, qword [rbp + 0x260]
jmp 0x140002021
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x1c0]
call fcn.140004ef0
lea rsi, [rbp + 0x220]
lea rdx, [rbp + 0x1c0]
lea r8, [rbp + 0x1e0]
mov rcx, rsi
call fcn.14000c590
cmp qword [rbp + 0x230], 0
je 0x1400021df
mov rdi, qword [rbp + 0x290]
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x140002070
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 8
lea r9, str..b4db4b3
xor r8d, r8d
call fcn.1400084f0
mov qword [rsp + 0x20], 0
lea r9, [0x140098bb0]
mov r8d, 8
mov rcx, rdi
mov rdx, rax
call fcn.140008640
xorps xmm0, xmm0
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x200], xmm0
mov rax, qword [rbp + 0x290]
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
mov rdx, rax
jbe 0x1400020d2
mov rdx, qword [rax]
lea rdi, [rbp + 0x200]
mov rcx, rdi
call fcn.140004ef0
cmp qword [rbp + 0x218], 0xf
jbe 0x1400020f2
mov rdi, qword [rbp + 0x200]
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x58]
mov rdx, rdi
mov r8d, 0x20
mov r9d, 0x40
call fcn.140007ba0
lea rcx, [rbp + 0x200]
call fcn.140004dd0
mov r8, qword [rbp + 0x230]
cmp qword [rbp + 0x238], 0xf
jbe 0x140002136
mov rsi, qword [rbp + 0x220]
lea rcx, [rbp - 0x58]
mov rdx, rsi
call fcn.140007fc0
lea rcx, [rbp - 0x50]
call fcn.140002680
test rax, rax
jne 0x1400021ab
mov rax, qword [rbp - 0x58]
movsxd rdx, dword [rax + 4]
lea rcx, [rdx + rbp]
add rcx, 0xffffffffffffffa8
mov ebx, dword [rbp + rdx - 0x48]
mov eax, ebx
not eax
mov edi, eax
and edi, 2
mov esi, ebx
or esi, 0xfffffffd
add ebx, ebx
or ebx, 4
or eax, 2
add eax, esi
add eax, edi
add eax, ebx
xor ebx, ebx
cmp qword [rbp + rdx - 0x10], 0
sete bl
shl ebx, 2
mov edx, eax
not edx
and edx, ebx
mov edi, eax
or edi, ebx
not ebx
or ebx, eax
add edx, edi
add edx, 1
add edx, ebx
xor r8d, r8d
call fcn.140005db0
lea rcx, [rbp - 0x58]
call fcn.140001bd0
lea rcx, [rbp + 0x220]
call fcn.140004dd0
lea rcx, [rbp + 0x240]
call fcn.140004dd0
lea rcx, [rbp + 0x260]
call fcn.140004dd0
mov esi, 1
jmp 0x14000220a
lea rcx, [rbp + 0x220]
call fcn.140004dd0
lea rcx, [rbp + 0x240]
call fcn.140004dd0
lea rcx, [rbp + 0x260]
call fcn.140004dd0
call fcn.140008cd0
xor esi, esi
lea rdi, [rbp + 0x160]
mov rax, qword [rbp + 0xb0]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rax + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rbp + rax + 0xac], ecx
lea rcx, [rbp + 0xc0]
call fcn.140002550
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x160], rax
mov rcx, rdi
call fcn.14003cde8
mov rcx, qword [rbp + 0x290]
call fcn.140004dd0
mov rcx, qword [rbp + 0x288]
call fcn.140004dd0
mov eax, esi
movaps xmm6, xmmword [rbp + 0x2a0]
add rsp, 0x338
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret