Function at 0x140008a70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14008e7c0]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rbx, rdx
mov r14, rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
lea rcx, [rsp + 0x70]
call fcn.140007510
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140008adf
mov rdi, qword [rax]
lea rax, [0x140003ec0]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r13
lea rax, [rbp - 0x20]
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x20]
call fcn.140003d50
test eax, eax
jne 0x140008b08
mov dil, 1
jmp 0x140008b46
lea rdx, [0x140082548]
mov rcx, rdi
call fcn.140003a00
mov rcx, rax
test rax, rax
jne 0x140008b34
lea rcx, [rbp - 0x20]
call fcn.140003c20
mov dword [rbp - 4], reloc.WS2_32.dll_recvfrom
mov dil, 1
jmp 0x140008b46
mov rax, qword [rbp + 0x48]
mov qword [rax + 0x70], rcx
mov dword [rbp - 8], 4
xor dil, dil
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140008b85
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
test dil, dil
je 0x140008bcb
lea rdx, str.Failed_to_create_zip_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4a0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140008bab
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000bbc0
lea rdx, [0x14000a8f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140008fe5
mov rsi, qword [r14]
mov r12, qword [r14 + 8]
cmp rsi, r12
je 0x140008fb0
nop dword [rax + rax]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008bed
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140008c10
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000b1b0
nop
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140007510
mov r15, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140008c41
mov r15, qword [rax]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
lea r14, [rdx + rax*2]
lea rbx, [rbp - 0x48]
cmova rbx, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
cmp rbx, r14
jne 0x140008c84
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rax
mov byte [rsp + 0x70], 0
jmp 0x140008d90
sub r14, rbx
sar r14, 1
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14000902a
mov edi, reloc.WS2_32.dll_ntohs
cmp r14, rdi
jbe 0x140008d47
mov rdi, r14
or rdi, 0xf
cmp rdi, rax
jbe 0x140008cd2
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140008d0c
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140008cf6
mov rax, r13
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rdi
jmp 0x140008d4c
cmp rcx, 0x1000
jb 0x140008d37
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009024
mov rcx, rax
call fcn.14006f210
mov rcx, rax
test rax, rax
je 0x14000900f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rdi
jmp 0x140008d4c
call fcn.14006f210
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rdi
jmp 0x140008d4c
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x70]
cmp rdi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140008d83
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x140008d70
mov qword [rbp - 0x80], r14
mov byte [r8 + r14], 0
mov rax, qword [rbp - 0x78]
lea r14, [rsp + 0x70]
cmp rax, 0xf
cmova r14, qword [rsp + 0x70]
mov qword [rbp - 0x50], r13
mov rcx, r15
call fcn.140003970
mov rdi, rax
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x140008dd9
mov dword [rbp - 4], reloc.WS2_32.dll_socket
mov ebx, r13d
jmp 0x140008e89
mov rax, qword [rbp + 0x78]
mov qword [rbp - 0x50], rax
lea rdx, [0x140082544]
mov rcx, r15
call fcn.140003a00
mov rdi, rax
test rax, rax
jne 0x140008e07
mov dword [rbp - 4], reloc.WS2_32.dll_recvfrom
mov ebx, r13d
jmp 0x140008e89
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov rbx, rax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], 9
mov word [rsp + 0x38], r13w
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, [0x140005030]
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.140004400
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140008ec5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000900f
call fcn.14006f55c
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140008f11
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009016
call fcn.14006f55c
test ebx, ebx
jne 0x140008f53
lea rdx, str.Failed_to_add_file_to_zip:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4a0
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008f35
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14000bbc0
lea rdx, [0x14000a8f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140008f67
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008f60
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140008fa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000901d
call fcn.14006f55c
add rsi, 0x20
cmp rsi, r12
jne 0x140008be0
lea rdx, str.Compression_successful
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a280
lea rdx, [0x14000a460]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x20]
call fcn.1400050a0
lea rcx, [rbp - 0x20]
call fcn.140003c20
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.14006ef50
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400055c0
int3
call fcn.140005660
int3