Function at 0x180009ee0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0xf8], rbx
mov rax, qword [0x1800a0830]
xor rax, rsp
mov qword [rbp + 0x17], rax
movzx r13d, r9b
mov rdi, r8
movzx r15d, dl
mov r12, rcx
mov r14, qword [rbp + 0x7f]
mov qword [rbp + 0xf], 7
xor esi, esi
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
xor r8d, r8d
lea rdx, [0x18006ae40]
lea rcx, [rbp - 9]
call fcn.18000ae90
nop
mov rax, qword [0x1800a3100]
test rax, rax
jne 0x180009f81
mov ecx, 0x1a8
call fcn.18002f60c
mov qword [rbp - 0x51], rax
test rax, rax
je 0x180009f77
mov rcx, rax
call fcn.18001ff00
jmp 0x180009f7a
mov rax, rsi
mov qword [0x1800a3100], rax
mov rcx, rax
call fcn.180020030
or rbx, 0xffffffffffffffff
test rax, rax
je 0x180009fb7
cmp word [rax], 0
jne 0x180009f9d
mov r8, rsi
jmp 0x180009fab
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180009fa0
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.18000ae90
lea rdx, [0x18006ae40]
lea rcx, [rbp - 0x31]
call fcn.18000c150
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
lea rcx, [rbp - 0x31]
call fcn.18000c370
lea rdx, str.INTeZip.exe
lea rcx, [rbp - 0x31]
call fcn.18000c600
xor sil, sil
test r15b, r15b
je 0x18000a118
test rdi, rdi
je 0x18000a118
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18000a004
cmp rbx, 1
jbe 0x18000a118
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.18000c150
nop
mov ecx, dword [rbp - 0x49]
mov rdx, qword [rbp - 0x51]
movzx r8d, word [rdx + rcx*2 - 2]
cmp r8w, 0x5c
je 0x18000a071
cmp r8w, 0x2f
je 0x18000a071
cmp dword [rbp - 0x45], ecx
jne 0x18000a055
lea rcx, [rbp - 0x51]
call fcn.18000c880
mov ecx, dword [rbp - 0x49]
mov rdx, qword [rbp - 0x51]
mov eax, ecx
mov r8d, 0x5c
mov word [rdx + rax*2], r8w
inc ecx
xor r15d, r15d
mov word [rdx + rcx*2], r15w
mov dword [rbp - 0x49], ecx
jmp 0x18000a074
xor r15d, r15d
lea rdx, [0x18006ab80]
lea rcx, [rbp - 0x51]
call fcn.18000c600
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.18000ce10
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c4f0
nop
mov rcx, qword [rbp - 0x21]
call fcn.18002f650
lea rdx, str..zip.tmp
lea rcx, [rbp - 0x51]
call fcn.18000c600
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x18000a0f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x18000a10d
mov sil, 1
jmp 0x18000a10d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rbp - 0x51]
call fcn.18002f650
jmp 0x18000a11b
xor r15d, r15d
mov qword [rbp - 0x39], r15
xor r9d, r9d
mov r8, r12
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x39]
test sil, sil
je 0x18000a13e
mov byte [rsp + 0x20], 1
call fcn.18000eff0
jmp 0x18000a143
call fcn.18000ee70
mov edi, eax
test eax, eax
je 0x18000a1be
cmp eax, 0x4c7
je 0x18000a1fe
mov rbx, qword [rbp - 0x31]
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.18000d5e0
nop
test rbx, rbx
je 0x18000a17e
lea rcx, [rbp - 0x51]
call fcn.18000c680
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.18000c600
mov rbx, qword [rbp - 0x51]
mov edx, 0x251c
lea rcx, [rbp - 0x21]
call fcn.18000b500
mov r9d, 0x10
mov r8, qword [rax]
mov rdx, rbx
mov rcx, qword [0x1800a4108]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp - 0x21]
call fcn.18002f650
nop
mov rcx, qword [rbp - 0x51]
call fcn.18002f650
jmp 0x18000a1fe
test r13b, r13b
je 0x18000a1d2
or edx, 0xffffffff
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x18000a1fb
test r14, r14
je 0x18000a1fb
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x51], rax
mov rax, qword [r14]
mov qword [rbp - 0x49], rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x51]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, r15d
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18000a21b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x39]
test eax, eax
cmovne rcx, r15
mov qword [rbp - 0x39], rcx
mov rcx, qword [rbp - 0x31]
call fcn.18002f650
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x18000a23f
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.18000afe0
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18002f6f0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret