Function at 0x1400028f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400a0060]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
cmp byte [rcx + 0xa0], 1
je 0x140002937
call fcn.140003f00
mov rcx, rbx
call fcn.140004230
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x140002946
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400063f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140005270
mov esi, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400029a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000299e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c94
call fcn.140016950
test esi, esi
js 0x140002c65
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140006580
mov rcx, rax
mov r8, qword [rax + 0x10]
mov r10, qword [rax + 0x18]
mov rax, r10
sub rax, r8
xor ebx, ebx
cmp rax, 4
jb 0x1400029f7
lea r9, [r8 + 4]
mov qword [rcx + 0x10], r9
mov rdx, rcx
cmp r10, 8
jb 0x1400029e5
mov rdx, qword [rcx]
mov rax, qword [str..sys]
mov qword [rdx + r8*2], rax
mov word [rdx + r9*2], bx
jmp 0x140002a1a
mov qword [rsp + 0x20], 4
lea r9, str..sys
movzx r8d, byte [rsp + 0x30]
mov edx, 4
call fcn.14000ac30
mov rcx, rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140002a8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c9a
call fcn.140016950
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
cmp qword [rsp + 0x68], 0
jne 0x140002ab0
mov esi, 0xc0000001
jmp 0x140002c27
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.14001d5c0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.1400076f0
nop
call fcn.140026304
movsxd rcx, eax
movabs rax, 0x1c926b9d39431d5f
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x23d6df
sub rcx, rax
add ecx, 0xdd9d
movsxd r14, ecx
mov rcx, r14
call fcn.140016e84
mov rdi, rax
test r14, r14
je 0x140002b54
call fcn.140026304
mov r9d, eax
mov eax, 0x80808081
imul r9d
add edx, r9d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r9d, ecx
mov byte [rbx + rdi], r9b
inc rbx
cmp rbx, r14
jb 0x140002b22
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140007810
lea rcx, [rbp - 0x78]
call fcn.1400082d0
test rax, rax
jne 0x140002b9d
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x80]
add rcx, r9
mov edx, 6
mov eax, 2
cmp qword [rcx + 0x48], 0
cmovne edx, eax
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.140001c30
mov rcx, rdi
call fcn.140016950
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140002ba5
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140007450
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.140016028
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002c65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c8e
call fcn.140016950
mov eax, esi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140016930
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140028100
int3
call fcn.140028100
nop
call fcn.140028100
nop