Function at 0x1800278c0
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 [0x1800c4060]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
cmp byte [rcx + 0xa0], 1
je 0x180027907
call fcn.180028f10
mov rcx, rbx
call fcn.180029240
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x180027916
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18002b3e0
nop
mov rdx, rax
mov rcx, rbx
call fcn.18002a280
mov esi, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180027973
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002796e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180027c64
call fcn.18003b2f0
test esi, esi
js 0x180027c35
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18002b570
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 0x1800279c7
lea r9, [r8 + 4]
mov qword [rcx + 0x10], r9
mov rdx, rcx
cmp r10, 8
jb 0x1800279b5
mov rdx, qword [rcx]
mov rax, qword [str..sys]
mov qword [rdx + r8*2], rax
mov word [rdx + r9*2], bx
jmp 0x1800279ea
mov qword [rsp + 0x20], 4
lea r9, str..sys
movzx r8d, byte [rsp + 0x30]
mov edx, 4
call fcn.18002fc40
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 0x180027a5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180027a56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180027c6a
call fcn.18003b2f0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
cmp qword [rsp + 0x68], 0
jne 0x180027a80
mov esi, 0xc0000001
jmp 0x180027bf7
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.180042070
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.18002c6e0
nop
call fcn.18004ae64
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.18003b954
mov rdi, rax
test r14, r14
je 0x180027b24
call fcn.18004ae64
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 0x180027af2
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18002c7f0
lea rcx, [rbp - 0x78]
call fcn.18002d2b0
test rax, rax
jne 0x180027b6d
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.180026bf0
mov rcx, rdi
call fcn.18003b2f0
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 0x180027b75
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.18002c440
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.18003a9c8
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180027c35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180027c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180027c5e
call fcn.18003b2f0
mov eax, esi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.18003b2d0
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.18004cc60
int3
call fcn.18004cc60
nop
call fcn.18004cc60
nop