Function at 0x453910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4b3af4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x10
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x74], edx
jle 0x453b5b
xor eax, eax
mov ecx, 0xffff
mov dword [ebp - 0x78], eax
mov bl, 1
shr eax, 3
mov edx, 0
movzx esi, cx
shr si, 1
test byte [eax + edi + 0x7c], bl
mov eax, esi
setne dl
xor eax, 0x8408
xor dl, cl
movzx ecx, ax
test dl, 1
movzx eax, si
mov esi, dword [ebp + 8]
cmove ecx, eax
mov eax, dword [ebp - 0x78]
inc eax
movzx edx, cx
rol bl, 1
mov ecx, edx
mov dword [ebp - 0x78], eax
cmp eax, esi
jl 0x453941
mov eax, edx
mov ecx, 0xf0b8
cmp ax, cx
jne 0x453b5b
mov ebx, dword [ebp - 0x74]
lea eax, [esi - 0x10]
mov dword [edi + 0x50], eax
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [edi + 0x4c], eax
mov ecx, dword [ebx]
test cl, 1
je 0x4539d5
movss xmm0, dword [ebx + 8]
ucomiss xmm0, dword [0x48956c]
lahf
test ah, 0x44
jnp 0x4539d5
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log10f
mulss xmm0, dword [0x48bd30]
mov ecx, dword [ebx]
movss dword [ebx + 8], xmm0
test cl, 2
je 0x4539ea
lea eax, [edi + 0x100]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
movaps xmm0, xmmword [0x48bd90]
mov al, byte [edi + 0x2c]
mov esi, dword [edi + 0x50]
movups xmmword [ebp - 0x70], xmm0
mov byte [edi + 0x10c], al
movaps xmm0, xmmword [0x48bd40]
movups xmmword [ebp - 0x60], xmm0
mov dword [edi + 0x108], esi
movaps xmm0, xmmword [0x48bd60]
mov al, byte [edi + 0x7c]
movups xmmword [ebp - 0x50], xmm0
movzx ecx, al
movaps xmm0, xmmword [0x48bd70]
movups xmmword [ebp - 0x40], xmm0
shr al, 2
movaps xmm0, xmmword [0x48bd50]
dec al
mov dword [ebp - 0x10], 0x48
mov dword [ebp - 0xc], 0x3c
mov dword [ebp - 8], 0x60
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x48bd80]
movups xmmword [ebp - 0x20], xmm0
cmp al, 0x1a
ja 0x453b03
mov eax, ecx
shr eax, 2
cmp esi, dword [ebp + eax*4 - 0x74]
jl 0x453b03
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x60]
call fcn.0045ff90
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
test eax, 0xfffffffc
je 0x453b46
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test ecx, ecx
jne 0x453aa2
cmp eax, 0x80000000
je 0x453aac
mov edx, ebx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
jmp 0x453aae
mov edx, ebx
mov ebx, dword [edi + 0x14]
xor esi, esi
sub ebx, dword [edi + 0x10]
sar ebx, 2
dec ebx
test ebx, ebx
jle 0x453ada
nop
mov eax, dword [edi + 0x10]
push edx
push 1
lea edx, [edi + 0x60]
mov ecx, dword [eax + esi*4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
inc esi
cmp esi, ebx
jl 0x453ac0
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x74]
push edx
push 1
mov ecx, dword [eax + ebx*4]
lea edx, [edi + 0x60]
push edx
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004762da
mov esp, ebp
pop ebp
ret 8
push 0x4140e0
push esi
push str._and_length
shr ecx, 2
push ecx
push str.AIS:_invalid_message_of_type
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00413270
add esp, 8
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___unsigned_int_]
push eax
call fcn.00413270
add esp, 8
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___int_]
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_____]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004762da
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004762da
mov esp, ebp
pop ebp
ret 8