Function at 0x1801a07b0
Capabilities:
Delete file

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
mov byte [rsp + 0x32], 1
mov rax, qword [rsp + 0xd0]
add rax, 0xd8
mov rcx, rax
call fcn.1800736f0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0xd0]
call fcn.1801a31a0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
add rax, 0xf8
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.180073190
lea rcx, [rsp + 0xa0]
call fcn.180073360
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180140660
nop
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 3
je 0x1801a0862
cmp dword [rsp + 0x44], 4
jne 0x1801a087b
mov byte [rsp + 0x3a], 1
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x3a]
jmp 0x1801a0dc2
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xb
ja case.default.0x1801a08ab
movsxd rax, dword [rsp + 0x48]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x1a0dcc]
add rax, rcx
jmp rax
mov rcx, qword [rsp + 0xd0]
call fcn.18019f960
mov byte [rsp + 0x30], al
jmp 0x1801a099b
mov rcx, qword [rsp + 0xd0]
call fcn.18019f8d0
mov byte [rsp + 0x30], al
jmp 0x1801a099b
mov rcx, qword [rsp + 0xd0]
call fcn.18019f2c0
mov byte [rsp + 0x30], al
jmp 0x1801a099b
lea rdx, [rsp + 0x32]
mov rcx, qword [rsp + 0xd0]
call fcn.18019ef00
mov byte [rsp + 0x30], al
jmp 0x1801a099b
lea rax, [rsp + 0x32]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
mov r8d, dword [rsp + 0xd8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.18019e060
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1801a0961
mov rax, qword [rsp + 0xd0]
add rax, 0xd8
mov rcx, rax
call fcn.180003ba0
test rax, rax
je 0x1801a0961
xor eax, eax
test eax, eax
jne 0x1801a095b
jmp 0x1801a099b
mov byte [rsp + 0x39], 1
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x39]
jmp 0x1801a0dc2
xor eax, eax
test eax, eax
jne case.default.0x1801a08ab
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x37]
jmp 0x1801a0dc2
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x1801a09c4
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x35], al
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x35]
jmp 0x1801a0dc2
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 2
je 0x1801a09ef
movzx r9d, byte [rsp + 0x30]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.18019fef0
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1801a0aad
mov rcx, qword [rsp + 0xd0]
call fcn.1801a02f0
movzx eax, al
test eax, eax
jne 0x1801a0a29
mov byte [rsp + 0x36], 1
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x36]
jmp 0x1801a0dc2
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
call fcn.1801a31a0
nop
lea rcx, [rsp + 0x78]
call fcn.180073860
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xd0]
add rcx, 0xf8
call fcn.180073860
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call fcn.18017c7d8
test eax, eax
je 0x1801a0a9d
xor eax, eax
test eax, eax
jne 0x1801a0a73
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x78]
call fcn.180073360
nop
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x38]
jmp 0x1801a0dc2
xor eax, eax
test eax, eax
jne 0x1801a0a9d
lea rcx, [rsp + 0x78]
call fcn.180073360
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x30]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x30], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1801a0c53
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x34], eax
mov byte [rsp + 0x31], 0
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 2
je 0x1801a0c4e
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801a0b2e
cmp dword [rsp + 0x40], 1
je 0x1801a0ba6
cmp dword [rsp + 0x40], 2
je 0x1801a0b2e
jmp 0x1801a0c39
xor eax, eax
test eax, eax
jne 0x1801a0b2e
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1801a0b65
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x10], 0
jle 0x1801a0b65
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x10]
dec eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x10], eax
jmp 0x1801a0ba1
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0xc], 2
jne 0x1801a0b92
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 9
jne 0x1801a0b92
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 1
jmp 0x1801a0ba1
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 3
jmp 0x1801a0c4e
mov rax, qword [rsp + 0xd0]
add rax, 0xb8
mov rcx, rax
call fcn.1800738f0
movzx eax, al
test eax, eax
jne 0x1801a0be2
mov rax, qword [rsp + 0xd0]
add rax, 0xb8
mov rcx, rax
call fcn.180073860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
test eax, eax
jne 0x1801a0be2
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1801a0c28
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x14], 0
jle 0x1801a0c28
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x14]
dec eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 0
jmp 0x1801a0c37
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 3
jmp 0x1801a0c4e
xor eax, eax
test eax, eax
jne 0x1801a0c39
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 3
jmp 0x1801a0d85
xor eax, eax
test eax, eax
jne 0x1801a0c53
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1801a0c76
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x18]
and eax, 0x80
test eax, eax
je 0x1801a0c7b
jmp 0x1801a0d85
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1801a0ca4
cmp dword [rsp + 0x3c], 1
je 0x1801a0d05
cmp dword [rsp + 0x3c], 2
je 0x1801a0d16
jmp 0x1801a0d76
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 6
je 0x1801a0cc3
cmp dword [rsp + 0x4c], 9
je 0x1801a0cd4
jmp 0x1801a0ceb
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 4
jmp 0x1801a0d00
xor eax, eax
test eax, eax
jne 0x1801a0cd4
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 2
jmp 0x1801a0d00
xor eax, eax
test eax, eax
jne 0x1801a0ceb
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 1
jmp 0x1801a0d85
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 4
jmp 0x1801a0d85
mov eax, dword [0x1803bac40]
not eax
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x20]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x20], 0
jne 0x1801a0d74
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 9
jne 0x1801a0d65
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 1
jmp 0x1801a0d74
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 4
jmp 0x1801a0d85
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], 3
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1801a0d95
mov byte [rsp + 0x33], 1
jmp 0x1801a0d9a
mov byte [rsp + 0x33], 0
movzx r8d, byte [rsp + 0x33]
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.1801a2c80
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x50]
call fcn.180140da0
movzx eax, byte [rsp + 0x34]
add rsp, 0xc8
ret