Function at 0x140003050
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
cmp byte [rcx + 0xa0], 1
je 0x1400030b0
call fcn.140004700
mov rcx, rbx
call fcn.140004e50
mov rcx, rbx
call fcn.140004b40
mov rcx, rbx
call fcn.1400055a0
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400030bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140007300
nop
mov rdx, rax
call fcn.140006180
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140003119
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033c2
call fcn.1400187f4
test esi, esi
js 0x140003393
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140007420
nop
mov r8d, 4
lea rdx, str..sys
mov rcx, rax
call fcn.14000c3b0
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400031b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033c8
call fcn.1400187f4
movdqa xmm0, xmmword [0x1400946f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
cmp qword [rsp + 0x68], 0
jne 0x1400031d7
mov esi, 0xc0000001
jmp 0x140003355
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.14001ec00
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140007b90
nop
call fcn.140022424
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
movsxd r14, ecx
add r14, 0xdd9d
mov rcx, r14
call fcn.140018e34
mov rdi, rax
test r14, r14
je 0x140003282
nop word [rax + rax]
call fcn.140022424
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 0x140003250
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400088d0
lea rcx, [rbp - 0x78]
call fcn.140009430
test rax, rax
jne 0x1400032cb
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.140001ab0
mov rcx, rdi
call fcn.1400187f4
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 0x1400032d3
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.140008810
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.140017778
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140003393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000338e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033bc
call fcn.1400187f4
mov eax, esi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400187d0
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.140023b54
int3
call fcn.140023b54
nop
call fcn.140023b54
nop
int3