Function at 0x409100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440ed5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call dword [sym.imp.archive.dll_archive_read_new]
mov esi, eax
push esi
call dword [sym.imp.archive.dll_archive_read_support_filter_all]
add esp, 4
push esi
call dword [sym.imp.archive.dll_archive_read_support_format_all]
add esp, 4
call dword [sym.imp.archive.dll_archive_write_disk_new]
mov edi, eax
push 4
push edi
call dword [sym.imp.archive.dll_archive_write_disk_set_options]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
push 0x2800
cmova ecx, dword [ebp + 8]
push ecx
push esi
call dword [sym.imp.archive.dll_archive_read_open_filename]
add esp, 0x14
test eax, eax
je 0x4091da
movaps xmm0, xmmword [0x4aa3b0]
xor ecx, ecx
mov dword [ebp - 0x44], 0x17
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xfdfbf1e3
mov dword [ebp - 0x2c], 0x98b9f3e3
lea eax, [ecx - 0x7f]
xor byte [ebp + ecx - 0x40], al
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x4091a0
push 0x40cd40
mov byte [ebp + eax - 0x40], 0
lea edx, [ebp - 0x40]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.0040cfc0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor bl, bl
jmp 0x409294
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.archive.dll_archive_read_next_header]
add esp, 8
test eax, eax
jne 0x40926a
mov ebx, dword [sym.imp.archive.dll_archive_read_data_block]
push dword [ebp - 0x24]
call dword [sym.imp.archive.dll_archive_entry_pathname]
add esp, 4
push eax
push dword [ebp - 0x24]
call dword [sym.imp.archive.dll_archive_entry_set_pathname]
push dword [ebp - 0x24]
push edi
call dword [sym.imp.archive.dll_archive_write_header]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
add esp, 0x20
test eax, eax
jne 0x40924e
push dword [ebp - 0x14]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.archive.dll_archive_write_data]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
add esp, 0x10
test eax, eax
je 0x409228
push edi
call dword [sym.imp.archive.dll_archive_write_finish_entry]
add esp, 4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.archive.dll_archive_read_next_header]
add esp, 8
test eax, eax
je 0x4091f2
push esi
call dword [sym.imp.archive.dll_archive_read_close]
add esp, 4
push esi
call dword [sym.imp.archive.dll_archive_read_free]
add esp, 4
push edi
call dword [sym.imp.archive.dll_archive_write_close]
add esp, 4
push edi
call dword [sym.imp.archive.dll_archive_write_free]
add esp, 4
mov bl, 1
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4092c4
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4092ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4092fc
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x40930c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409302
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409302
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret