Function at 0x14008ca70
Capabilities:
Delete file

Disassembly:
push rsi
sub rsp, 0x120
mov rax, qword [rsp + 0x168]
mov eax, dword [rsp + 0x160]
mov ax, word [rsp + 0x158]
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x100], r8
mov qword [rsp + 0xf8], r9
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x80]
call fcn.140077670
cmp dword [rsp + 0x160], 0
jge 0x14008caf0
mov dword [rsp + 0x160], 6
cmp qword [rsp + 0x110], 0
je 0x14008cb5d
cmp qword [rsp + 0x108], 0
je 0x14008cb5d
cmp qword [rsp + 0xf8], 0
je 0x14008cb2c
cmp qword [rsp + 0x100], 0
je 0x14008cb5d
cmp word [rsp + 0x158], 0
je 0x14008cb4a
cmp qword [rsp + 0x150], 0
je 0x14008cb5d
mov eax, dword [rsp + 0x160]
and eax, 0xf
cmp eax, 0xa
jbe 0x14008cb8a
cmp qword [rsp + 0x168], 0
je 0x14008cb7a
mov rax, qword [rsp + 0x168]
mov dword [rax], 0x18
mov dword [rsp + 0x11c], 0
jmp 0x14008ce68
mov rcx, qword [rsp + 0x108]
call fcn.140083890
cmp eax, 0
jne 0x14008cbcd
cmp qword [rsp + 0x168], 0
je 0x14008cbbd
mov rax, qword [rsp + 0x168]
mov dword [rax], 0x19
mov dword [rsp + 0x11c], 0
jmp 0x14008ce68
mov rcx, qword [rsp + 0x110]
lea rdx, [rsp + 0x50]
call fcn.14009bad0
cmp eax, 0
je 0x14008cc53
mov rdx, qword [rsp + 0x110]
mov r9d, dword [rsp + 0x160]
lea rcx, [rsp + 0x80]
xor eax, eax
mov r8d, eax
call fcn.140080ab0
cmp eax, 0
jne 0x14008cc43
cmp qword [rsp + 0x168], 0
je 0x14008cc33
mov ecx, dword [rsp + 0x9c]
mov rax, qword [rsp + 0x168]
mov dword [rax], ecx
mov dword [rsp + 0x11c], 0
jmp 0x14008ce68
mov dword [rsp + 0xf0], 1
jmp 0x14008cd28
mov rdx, qword [rsp + 0x110]
mov r8d, dword [rsp + 0x160]
or r8d, 0x800
lea rcx, [rsp + 0x80]
xor eax, eax
mov r9d, eax
mov qword [rsp + 0x20], 0
call fcn.140079370
cmp eax, 0
jne 0x14008ccbe
cmp qword [rsp + 0x168], 0
je 0x14008ccae
mov ecx, dword [rsp + 0x9c]
mov rax, qword [rsp + 0x168]
mov dword [rax], ecx
mov dword [rsp + 0x11c], 0
jmp 0x14008ce68
mov rdx, qword [rsp + 0x110]
mov r8d, dword [rsp + 0x160]
lea rcx, [rsp + 0x80]
call fcn.140080f90
cmp eax, 0
jne 0x14008cd23
cmp qword [rsp + 0x168], 0
je 0x14008cd04
mov ecx, dword [rsp + 0x9c]
mov rax, qword [rsp + 0x168]
mov dword [rax], ecx
lea rcx, [rsp + 0x80]
xor edx, edx
call fcn.1400776c0
mov dword [rsp + 0x11c], 0
jmp 0x14008ce68
jmp 0x14008cd28
mov rdx, qword [rsp + 0x108]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0xf8]
mov r11, qword [rsp + 0x150]
mov r10w, word [rsp + 0x158]
mov eax, dword [rsp + 0x160]
lea rcx, [rsp + 0x80]
xor esi, esi
xor esi, esi
mov qword [rsp + 0x20], r11
mov word [rsp + 0x28], r10w
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
call fcn.140081a00
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x80]
call fcn.14008b750
cmp eax, 0
jne 0x14008cdd2
cmp dword [rsp + 0x4c], 0
jne 0x14008cdc7
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0xf4], 0
mov edx, dword [rsp + 0xf4]
lea rcx, [rsp + 0x80]
call fcn.140080770
cmp eax, 0
jne 0x14008ce10
cmp dword [rsp + 0x4c], 0
jne 0x14008ce05
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0xf4], 0
cmp dword [rsp + 0xf4], 0
jne 0x14008ce3d
cmp dword [rsp + 0xf0], 0
je 0x14008ce3d
mov rcx, qword [rsp + 0x110]
call sub.msvcrt.dll_remove
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x168], 0
je 0x14008ce5a
mov ecx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x168]
mov dword [rax], ecx
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x11c]
add rsp, 0x120
pop rsi
ret