Function at 0x53ac70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov eax, 0xffffffff
mov dword [ebp - 0x38], ecx
mov esi, edi
add esi, dword [ebp + 0x10]
cmovb esi, eax
add esi, ebx
cmovb esi, eax
test esi, esi
js 0x53aea1
je 0x53acc9
movzx eax, byte [0x5e1184]
mov edi, ebx
mov ebx, edx
xor ecx, ecx
mov edx, esi
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
mov edx, ebx
mov ebx, edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x53acce
mov ecx, 1
mov edx, esi
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
mov eax, 1
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 1
lea ecx, [ebp - 0x34]
push edi
call sym.std::sys::os_str::wtf8::Buf::push_slice::h4f16565ba27f87b2
add esp, 4
mov edi, 0x8bb84b93
mov esi, 0x2d358dcc
mov dword [ebp - 0x20], 0
jmp 0x53ad17
mov byte [ebp - 0x20], al
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x34]
push esi
call sym.std::sys::os_str::wtf8::Buf::push_slice::h4f16565ba27f87b2
add esp, 4
mov esi, 0x2d358dcc
sub ebx, 1
jb 0x53ae50
call sym.fastrand::global_rng::RNG::__u7b__u7b_closure_u7d__u7d_::h6979ec6c67b30931
mov edx, 0x962eacc9
test eax, eax
mov dword [ebp - 0x40], ebx
je 0x53ae7f
mov ebx, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax + 4]
mov ecx, 0xaa6c78a5
add ebx, ecx
adc eax, esi
mov dword [ebp - 0x10], ebx
mov esi, eax
mov dword [ebp - 0x14], eax
xor esi, edi
mov edi, ebx
xor edi, edx
mov eax, edi
mul ebx
mov dword [ebp - 0x1c], eax
mov eax, esi
mov dword [ebp - 0x18], edx
mul ebx
mov ecx, eax
mov eax, edi
mov edi, dword [ebp - 0x14]
mov ebx, edx
add ecx, dword [ebp - 0x18]
adc ebx, 0
mul edi
add eax, ecx
adc edx, ebx
imul esi, edi
mov ebx, edi
add esi, edx
mov edx, 0x3e
xor esi, dword [ebp - 0x1c]
mov eax, esi
lea ecx, [esi + esi]
shl esi, 6
sub esi, ecx
mul edx
cmp esi, 3
ja 0x53ae10
mov esi, dword [ebp - 0x10]
nop
mov eax, 0xaa6c78a5
add esi, eax
mov eax, 0x2d358dcc
adc ebx, eax
mov eax, 0x8bb84b93
mov edi, esi
mov dword [ebp - 0x14], ebx
xor ebx, eax
mov eax, 0x962eacc9
xor edi, eax
mov dword [ebp - 0x1c], ebx
mov eax, edi
mul esi
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x18], edx
mul esi
mov ebx, eax
mov ecx, edx
mov eax, edi
add ebx, dword [ebp - 0x18]
adc ecx, 0
mul dword [ebp - 0x14]
add eax, ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edi, edx
adc edi, ecx
mul ebx
add eax, edi
xor eax, dword [ebp - 0x10]
mov edx, eax
shl edx, 6
sub edx, eax
sub edx, eax
cmp edx, 4
jb 0x53ada0
mov ecx, 0x3e
mov edi, 0x8bb84b93
mul ecx
jmp 0x53ae18
mov esi, dword [ebp - 0x10]
mov edi, 0x8bb84b93
mov ecx, dword [ebp - 0x3c]
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.tmppathchanging_permissions_is_not_supported_on_this_platform_at_path]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ecx], esi
mov esi, 1
test al, al
jns 0x53ad00
mov ecx, eax
and al, 0xbf
mov esi, 2
shr cl, 6
mov byte [ebp - 0x1f], al
or cl, 0xc0
mov eax, ecx
jmp 0x53ad00
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
push dword [ebp + 0x10]
call sym.std::sys::os_str::wtf8::Buf::push_slice::h4f16565ba27f87b2
add esp, 4
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
movsd xmm1, qword [ebp - 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x21]
mov edx, 0x46
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
push 0x5b3c68
push 0x5b3a3c
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
ud2
call sym.alloc::raw_vec::capacity_overflow::h3a7a441d4f300da6
jmp 0x53aea8
cmp dword [ebp - 0x34], 0
mov esi, eax
je 0x53aec0
push dword [ebp - 0x30]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push esi
call sym.__Unwind_Resume
nop word cs:[eax + eax]