Function at 0x1400e9d10
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rsi, rcx
mov qword [rsp + 0x110], rcx
mov r13, qword [rcx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 3
jb 0x1400ea409
mov qword [rsp + 0x38], rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e9d79
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
lea r12, [r13 + 3]
mov ebx, 7
lea rdi, [rsp + 0x118]
lea r15d, [rax + 0xa]
cmp r12, rbx
jbe 0x1400e9df1
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x1400e9dbe
mov rbx, rcx
jmp 0x1400e9dc5
cmp rbx, r15
cmovb rbx, r15
mov rdx, rbx
add rdx, 1
mov r14, 0xffffffffffffffff
cmovb rdx, r14
lea rcx, [rsp + 0x118]
call fcn.140023c30
mov rdi, rax
mov qword [rsp + 0x118], rax
jmp 0x1400e9df8
mov r14, 0xffffffffffffffff
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x130], rbx
lea rbx, [r13*2]
mov r8, rbx
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1401cfe40
mov eax, dword [0x1402446e8]
mov dword [rbx + rdi], eax
movzx eax, word [0x1402446ec]
mov word [rbx + rdi + 4], ax
xor edx, edx
mov word [rdi + r12*2], dx
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x38], rcx
movabs r8, 0x7ffffffffffffffe
mov rax, r8
sub rax, rcx
cmp rax, 0xa
jb 0x1400ea40f
lea r13, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae r13, qword [rsp + 0x118]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rdx
lea r12, [rcx + 0xa]
mov ebx, 7
lea rdi, [rsp + 0x40]
cmp r12, rbx
jbe 0x1400e9ed5
mov rbx, r12
or rbx, 7
cmp rbx, r8
jbe 0x1400e9eb0
mov rbx, r8
jmp 0x1400e9eb8
cmp rbx, 0xa
cmovb rbx, r15
mov rdx, rbx
add rdx, 1
cmovb rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140023c30
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [str._tgzip_a__]
movups xmmword [rdi], xmm0
mov ecx, dword [0x140244708]
mov dword [rdi + 0x10], ecx
lea rcx, [rdi + 0x14]
mov r8, qword [rsp + 0x38]
add r8, r8
mov rdx, r13
call fcn.1401cfe40
xor r15d, r15d
mov word [rdi + r12*2], r15w
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1400e9f5c
lea rdi, [rcx + 3]
mov qword [rsp + 0x50], rdi
lea rbx, [rsp + 0x40]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rcx*2]
lea r8d, [r15 + 6]
lea rdx, [0x1402446f0]
call fcn.1401cfe40
mov word [rbx + rdi*2], r15w
lea rax, [rsp + 0x40]
jmp 0x1400e9f81
mov qword [rsp + 0x20], 3
lea r9, [0x1402446f0]
movzx r8d, byte [rsp + 0x30]
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.14002dc10
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e9fcd
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.140023760
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400ea053
lea rcx, [rdx + 1]
mov qword [rsp + 0x70], rcx
lea rax, [rsp + 0x60]
cmp r8, 8
cmovae rax, qword [rsp + 0x60]
mov r8d, 0x22
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
lea rax, [rsp + 0x60]
jmp 0x1400ea078
mov qword [rsp + 0x20], 1
lea r9, [0x14022f938]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14002dc10
mov qword [rsp + 0x158], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x168], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x168], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400ea0f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea0f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ea415
call fcn.1401a9a50
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rsp + 0xb8]
cmp rdx, 8
jb 0x1400ea151
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea14c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ea41b
call fcn.1401a9a50
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], 7
mov word [rsp + 0xa0], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400ea1b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea1ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ea421
call fcn.1401a9a50
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x180]
call fcn.1401d04f0
mov r8d, 0x104
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x180]
nop dword [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400ea220
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x150], 7
mov word [rsp + 0x138], r15w
mov r8, r14
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x138]
call fcn.140018360
nop
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xf0]
call fcn.140069070
nop
mov rcx, rax
call fcn.14009b5f0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140018e70
nop
lea rcx, [rsp + 0xf0]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x138]
call fcn.1400272a0
nop
mov r8d, 7
lea rdx, str.7z.exe
lea rcx, [rsp + 0xc0]
call fcn.140023760
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r8d, 0xffffffff
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x80]
call fcn.1400e5af0
test eax, eax
sete bl
mov r8, qword [rsp + 0x98]
cmp r8, 8
jb 0x1400ea353
inc r8
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x80]
call fcn.140023c60
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], r15w
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x1400ea396
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.140023c60
test bl, bl
je 0x1400ea3ae
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400ea3a7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x1400ea3b8
lea rcx, [rsp + 0x158]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x118]
call fcn.1400272a0
nop
mov rcx, rsi
call fcn.1400272a0
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400153e0
nop
call fcn.1400153e0
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
int3