Function at 0x140004720
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x48], rdx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
xor r8d, r8d
lea rdx, [0x14004b553]
lea rcx, [rsp + 0x70]
call fcn.140012be0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
xor r8d, r8d
lea rdx, [0x14004b553]
lea rcx, [rbp - 0x70]
call fcn.140012be0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
xor r8d, r8d
lea rdx, [0x14004b553]
lea rcx, [rbp - 0x40]
call fcn.140012be0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
xor r8d, r8d
lea rdx, [0x14004b553]
lea rcx, [rbp - 0x20]
call fcn.140012be0
nop
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rdi
sar rax, 5
cmp rax, 7
je 0x140004813
lea rcx, str.Invalid_number_of_arguments
jmp 0x1400053f1
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140004820
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, 8
jne 0x1400053ea
lea rdx, str.SENDFILE
call fcn.14003e6f0
test eax, eax
jne 0x1400053ea
lea rax, [rdi + 0x40]
lea rcx, [rsp + 0x70]
cmp rcx, rax
je 0x14000489e
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14000485d
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp - 0x78]
cmp rsi, rax
ja 0x140004891
lea rdi, [rsp + 0x70]
cmp rax, 0xf
cmova rdi, qword [rsp + 0x70]
mov qword [rbp - 0x80], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call fcn.14003dcb0
mov byte [rdi + rsi], 0
jmp 0x14000489e
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140012ce0
mov rax, qword [rbx]
add rax, 0x20
lea rcx, [rbp - 0x70]
cmp rcx, rax
je 0x1400048f9
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400048bb
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp - 0x58]
cmp rsi, rax
ja 0x1400048ed
lea rdi, [rbp - 0x70]
cmp rax, 0xf
cmova rdi, qword [rbp - 0x70]
mov qword [rbp - 0x60], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call fcn.14003dcb0
mov byte [rdi + rsi], 0
jmp 0x1400048f9
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140012ce0
mov rcx, qword [rbx]
add rcx, 0x60
mov r8d, 0x10
call fcn.140001410
mov dword [rbp - 0x50], eax
mov rcx, qword [rbx]
sub rcx, 0xffffffffffffff80
mov r8d, 0x10
call fcn.140001410
mov dword [rbp - 0x4c], eax
mov rcx, qword [rbx]
add rcx, 0xa0
mov r8d, 0x10
call fcn.140001410
mov dword [rbp - 0x48], eax
mov rcx, qword [rbx]
add rcx, 0xc0
mov r8d, 0x10
call fcn.140001410
mov dword [rbp - 0x44], eax
lea rcx, [rsp + 0x70]
test eax, eax
je 0x140004a2f
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000498c
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
seta r12b
mov r14, qword [rsp + 0x70]
cmova rdi, r14
mov rax, 0xffffffffffffffff
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x140004be0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x6d]
call fcn.14003e350
mov byte [rbp + 0x6c], 1
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x10], 0
jne 0x140004a27
nop dword [rax]
cmp r8, rdi
je 0x140004bd9
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x10], 0
je 0x140004a10
sub r8, rdi
jmp 0x140004be3
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000498c
lea rcx, str.File_already_exists
call fcn.1400019f0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x140004a6d
call fcn.140012a90
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 4
lea rdx, str.FAIL
lea rcx, [rsp + 0x50]
call fcn.140012be0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004ac3
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 8], 0x20
jmp 0x140004ad5
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140013350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004b0d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552c
call fcn.14001a090
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 0x13
lea rdx, str.File_already_exists
lea rcx, [rsp + 0x50]
call fcn.140012be0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004b63
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 8], 0x20
jmp 0x140004b75
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140013350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004bad
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ba8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552c
call fcn.14001a090
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012010
mov rdx, rax
mov rcx, r15
call fcn.140002e30
test eax, eax
jne 0x1400053f7
lea rcx, str.Failed_to_send_reply
jmp 0x1400053f1
mov rax, 0xffffffffffffffff
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x70]
test r12b, r12b
cmovne rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140012be0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140004c4d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552c
call fcn.14001a090
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x30], xmm1
lea rcx, [rbp - 0x40]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rcx, rdx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140004d43
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 6
jb 0x140005526
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.mkdir
lea rcx, [rsp + 0x50]
call fcn.140013210
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140004d11
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552c
call fcn.14001a090
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x10], xmm1
lea rcx, [rbp - 0x20]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rcx, rdx
call fcn.14002721c
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140004f41
lea rcx, str.Failed_to_open_file_for_writing
call fcn.1400019f0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140004dce
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005538
call fcn.14001a090
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140004e19
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005514
call fcn.14001a090
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140004e64
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000551a
call fcn.14001a090
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140004eb0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004eab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000551a
call fcn.14001a090
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004f15
mov rdx, qword [rbx + 8]
call fcn.140012a90
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140004f05
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005520
mov rcx, rdi
call fcn.14001a090
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14001a070
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x140004f59
call fcn.140012a90
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 2
lea rdx, [0x14004bac0]
lea rcx, [rsp + 0x50]
call fcn.140012be0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004faf
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 8], 0x20
jmp 0x140004fc1
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140013350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004ff9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552c
call fcn.14001a090
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012010
mov rdx, rax
mov rcx, r15
call fcn.140002e30
test eax, eax
jne 0x140005021
lea rcx, str.Failed_to_send_reply
jmp 0x140005399
mov esi, r13d
cmp dword [rbp - 0x50], r13d
jbe 0x140005164
nop
mov dword [rsp + 0x40], r13d
mov r8, qword [r15 + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140002b70
test eax, eax
je 0x140005392
mov r8d, dword [rsp + 0x40]
add esi, r8d
mov dword [rbp], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp]
mov rdx, qword [r15 + 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov edi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
test edi, edi
je 0x140005389
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x14000509b
call fcn.140012a90
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 2
lea rdx, [0x14004bac0]
lea rcx, [rsp + 0x50]
call fcn.140012be0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400050f1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 8], 0x20
jmp 0x140005103
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140013350
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000513b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005532
call fcn.14001a090
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012010
mov rdx, rax
mov rcx, r15
call fcn.140002e30
test eax, eax
je 0x140005015
cmp esi, dword [rbp - 0x50]
jb 0x140005030
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, str.File_received_successfully
call fcn.1400017e0
cmp dword [rbp - 0x4c], 0
je 0x1400053f7
lea rcx, str.Decompressing_file
call fcn.1400017e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
lea rax, str.7z_x64.dll
mov qword [rbp], rax
lea rax, str.C:Program_Files7_Zip7z.dll
mov qword [rbp + 8], rax
mov rdi, r13
mov r14, qword [rbp + rdi*8]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400051d1
inc rdi
cmp rdi, 2
jl 0x1400051b0
mov r14, qword [rsp + 0x50]
test r14, r14
jne 0x1400051e2
lea rcx, str.7z.dll_not_found.
call fcn.1400019f0
mov r12, r13
mov ecx, 0x104
call fcn.14001a1a4
mov rsi, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
mov edx, 0x104
mov rcx, rsi
call fcn.1400275c4
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp dword [rbp - 0x48], r13d
je 0x140005260
mov ecx, 0x80
call fcn.14001a1a4
mov r12, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rdx, str.Infected
mov rcx, r12
sub rcx, rdx
movzx eax, word [rdx]
mov word [rdx + rcx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140005250
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdi, qword [rsp + 0x70]
mov r8, 0xffffffffffffffff
mov rcx, r8
nop word [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140005280
inc rcx
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14001a1a4
mov r15, rax
mov rax, 0xffffffffffffffff
mov rcx, rax
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400052b0
inc ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r15
mov r9d, eax
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400052e0
inc rcx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14001a1a4
mov rdi, rax
mov rax, 0xffffffffffffffff
mov rcx, rax
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140005310
inc ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, eax
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9, r14
mov r8, rdi
mov rdx, r12
mov rcx, r15
call fcn.140016060
test eax, eax
je 0x1400053ae
mov ecx, eax
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rcx, r15
call fcn.14001a090
mov rcx, rdi
call fcn.14001a090
lea rcx, str.Failed_to_decompress_file
call fcn.1400019f0
mov rcx, rsi
call fcn.14001a090
jmp 0x1400053f7
lea rcx, str.Failed_to_write_file_data
jmp 0x140005399
lea rcx, str.Failed_to_receive_file_data
call fcn.1400019f0
test r14, r14
je 0x1400053f7
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x1400053f7
mov rcx, r15
call fcn.14001a090
mov rcx, rdi
call fcn.14001a090
lea rcx, str.File_decompressed_successfully
call fcn.1400017e0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov rcx, rsi
call fcn.14001a090
jmp 0x1400053f7
lea rcx, str.Invalid_command
call fcn.1400019f0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140005432
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000542d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005538
call fcn.14001a090
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000547d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005478
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005514
call fcn.14001a090
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400054c4
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000551a
call fcn.14001a090
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140004eb0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004eab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000551a
jmp 0x140004eab
call fcn.1400271a4
nop
call fcn.1400271a4
nop
call fcn.1400271a4
nop
call fcn.1400013f0
int3
call fcn.1400271a4
int3
call fcn.1400271a4
nop
call fcn.1400271a4
int3