Function at 0x445390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef372
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x535b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
cmp eax, dword [edi + 0x14]
jl 0x4454ec
lea eax, [edi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
sar eax, 2
lea esi, [eax + eax]
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00445070
mov ebx, dword [ebp - 0x30]
lea eax, [esi - 1]
mov esi, dword [edi + 4]
lea edx, [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x44546e
mov edi, dword [esi]
test edi, edi
je 0x44545e
mov esi, dword [ebp - 0x18]
nop
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
shl ecx, 9
not ecx
add eax, ecx
mov ecx, eax
shr ecx, 0xe
xor ecx, eax
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [edi]
mov eax, edx
shr eax, 0xa
xor edx, eax
and edx, esi
mov eax, dword [ebx + edx*4]
mov dword [edi], eax
mov dword [ebx + edx*4], edi
mov edi, ecx
test ecx, ecx
jne 0x445420
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add esi, 4
mov dword [ebp - 0x14], esi
cmp esi, eax
jne 0x445415
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x30]
cmp edx, eax
je 0x44548c
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [edx], ebx
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
jmp 0x44548f
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 2
mov dword [ebp - 4], 0xffffffff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x500ca8]
cvttsd2si eax, xmm0
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
test ebx, ebx
je 0x4454ec
sub ecx, ebx
mov eax, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4454e2
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4455af
push ecx
push ebx
call fcn.004a5a88
add esp, 8
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
sub eax, edx
mov ecx, dword [edi + 0x10]
and ecx, dword [ebp + 8]
sar eax, 2
cmp ecx, eax
jae 0x445506
lea ebx, [edx + ecx*4]
jmp 0x445508
xor ebx, ebx
push 0xc
call fcn.004a5807
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x445592
mov ecx, dword [ebx]
mov dword [edi], ecx
mov dword [edi + 4], 0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x44553b
mov ecx, esi
call fcn.00419c90
mov dword [edi + 8], esi
mov esi, dword [ebp + 0xc]
push 0
push 0x53ad00
push 0x53ab64
push 0
push esi
mov byte [ebp - 4], 3
call fcn.004bcefb
add esp, 0x14
test eax, eax
je 0x445576
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [edi + 4]
mov esi, eax
call fcn.00419e30
mov dword [edi + 4], esi
jmp 0x445594
mov ecx, dword [edi + 4]
cmp ecx, esi
je 0x445594
call fcn.00419e30
test esi, esi
je 0x44558d
mov ecx, esi
call fcn.00419c90
mov dword [edi + 4], esi
jmp 0x445594
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx], edi
inc dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004c687a
int3