Function at 0x44a700
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
push esi
xor eax, eax
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0xc], eax
jle 0x44a7b4
mov edi, dword [ebx + 8]
lea ecx, [esi + 0xb7c]
mov dword [ebp - 0x1c], ecx
lea edx, [esi + 0x1d7c]
lea ecx, [esi + 0x3f1c]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
movzx esi, word [edi + 4]
add esi, dword [eax + 4]
mov eax, dword [ebp - 8]
push eax
push edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
push edi
push dword [ebp - 0x14]
lea ecx, [ecx + 0x1808]
call fcn.00449040
mov edx, dword [ebp - 0x14]
push esi
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push edi
call fcn.004492c0
mov eax, dword [ebp - 8]
add esi, 0x900
mov ecx, dword [ebp - 0x20]
inc eax
mov edx, dword [ebp - 0xc]
add ecx, 0x27
add esp, 0x1c
mov dword [ebp - 8], eax
add edi, 0x1c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
cmp eax, dword [ebx + 0xc]
jl 0x44a752
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov al, byte [ecx + 0x180b]
test al, 0x10
je 0x44a92b
mov edx, dword [ebx + 8]
lea eax, [esi + 0x3f43]
mov dword [ebp - 0x18], eax
mov al, byte [edx + 0xd]
mov ah, byte [edx + 0xe]
movzx ecx, al
mov byte [ebp - 1], ah
mov byte [ebp - 0x21], al
movzx eax, ah
add ecx, eax
xor eax, eax
cmp byte [ebp - 1], al
mov dword [ebp - 8], ecx
setne al
or edi, 0xffffffff
or ecx, edi
mov dword [ebp - 0x2c], edi
add esi, 0x147c
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ecx
lea eax, [eax*2 + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 8], edx
jbe 0x44a882
xorps xmm1, xmm1
nop dword [eax]
movzx edi, byte [edx + eax]
xor ecx, ecx
test edi, edi
je 0x44a870
nop word [eax + eax]
movss xmm0, dword [esi + ecx*4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x44a856
movss xmm0, dword [esi + ecx*4 + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x44a856
add ecx, 2
cmp ecx, edi
jl 0x44a830
jmp 0x44a86d
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
sub ecx, eax
mov dword [ebp + ecx*4 - 0x34], edx
mov eax, dword [ebp - 0x20]
inc edx
lea esi, [esi + edi*4]
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 8]
jl 0x44a820
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
cmp byte [ebp - 0x21], 0
je 0x44a8a6
mov edx, dword [ebp - 0x30]
mov eax, ecx
cmp ecx, edx
cmovl eax, edx
cmp eax, edi
jl 0x44a89d
cmp ecx, edx
cmovl ecx, edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 8]
xor eax, eax
mov esi, dword [ebp - 0xc]
xor ecx, ecx
cmp byte [ebp - 1], al
mov edx, edi
setne al
sub edx, esi
add edx, dword [ebp - 0x18]
lea eax, [eax*4 + 2]
sub esi, eax
sub edi, eax
nop dword [eax + eax]
lea eax, [edi + ecx]
cmp dword [ebp + ecx*4 - 0x34], eax
jl 0x44a8ec
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x1809]
and al, 8
neg al
sbb al, al
and al, 3
jmp 0x44a8ef
mov al, byte [esi + edx]
mov byte [edx], al
inc ecx
inc edx
cmp ecx, dword [ebp - 0xc]
jl 0x44a8d0
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movzx eax, word [esi + 0x24]
and eax, 1
lea ecx, [edi + 0xb7c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x1808
push eax
push dword [esi]
call fcn.00449b10
mov ecx, dword [ebp - 0x10]
add esp, 0x10
jmp 0x44a94a
and al, 0xe0
cmp al, 0x60
jne 0x44a944
lea ecx, [esi + 0xb7c]
mov edx, 0x240
call fcn.00449830
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 8]
cmp dword [ebx + 0xc], 0
jle 0x44abd5
lea eax, [ecx + 0x180a]
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 0x1809]
mov dword [ebp - 0x38], eax
lea ecx, [esi + 0xe]
mov dword [ebp - 0x40], edx
lea eax, [edi + 0xb7c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
nop dword [eax]
movzx eax, byte [edx]
mov edi, 0x1f
mov ecx, eax
shr eax, 3
shr ecx, 4
and eax, 1
and ecx, 1
add ecx, eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
lea edx, [ecx + ecx*2]
shr eax, 2
xor ecx, ecx
and eax, 3
add edx, eax
mov eax, 2
cmp edx, 2
mov edx, dword [ebp - 8]
sete cl
xor esi, esi
cmp byte [edx - 2], 0
cmovne esi, eax
shl esi, cl
cmp byte [edx], 0
mov dword [ebp - 0x18], esi
je 0x44aa56
movzx edi, byte [edx - 1]
lea eax, [esi - 1]
add edi, dword [edx - 0xe]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0xc], edi
movzx esi, byte [edi]
lea ecx, [edx + 0x1e1c]
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0xb7c]
add eax, edx
mov dword [ebp - 0x28], eax
mov edx, eax
test esi, esi
je 0x44aa36
mov edi, esi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + esi*4]
mov dword [ecx + 4], eax
mov eax, dword [edx + esi*8]
add edx, 4
mov dword [ecx + 8], eax
add ecx, 0xc
sub edi, 1
jne 0x44aa08
mov edi, dword [ebp - 0xc]
lea edx, [edx + esi*8]
add edi, 3
mov dword [ebp - 0xc], edi
movzx esi, byte [edi]
test esi, esi
jne 0x44aa06
mov eax, dword [ebp - 0x14]
add eax, 0x1e1c
sub ecx, eax
and ecx, 0xfffffffc
push ecx
push eax
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x3c]
mov edx, edi
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.00449d20
mov ecx, dword [ebp - 8]
mov al, byte [ecx - 3]
mov ecx, edi
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x10]
mov edx, eax
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x44aa99
push esi
push 0x4edd20
call fcn.00449e80
mov edx, dword [ebp - 0x10]
lea eax, [esi + esi*8]
lea ecx, [edi + eax*8]
add esp, 8
lea eax, [esi + esi*8]
mov dword [ebp - 0xc], ecx
lea edx, [edx + eax*4]
mov eax, 0x20
sub eax, esi
cmp byte [ebp - 1], 2
mov dword [ebp - 0x28], eax
jne 0x44ab50
lea eax, [edx + 0x18]
mov dword [ebp - 0x18], eax
movups xmm0, xmmword [ecx]
lea edi, [eax - 0x18]
lea esi, [ecx + 0x30]
movups xmmword [ebp - 0x88], xmm0
push eax
movups xmm0, xmmword [ecx + 0x10]
lea edx, [esi - 0x18]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ecx + 0x40]
movq qword [ebp - 0x48], xmm0
movups xmm0, xmmword [edi]
movups xmmword [ecx], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ecx + 0x10], xmm0
lea ecx, [ebp - 0x88]
call fcn.0044a4f0
add esp, 4
lea ecx, [ebp - 0x84]
mov edx, esi
push dword [ebp - 0x18]
call fcn.0044a4f0
add esp, 4
lea ecx, [ebp - 0x80]
mov edx, edi
push dword [ebp - 0x18]
call fcn.0044a4f0
mov edx, dword [ebp - 0x28]
add esp, 4
mov eax, dword [ebp - 0x18]
dec edx
mov ecx, dword [ebp - 0xc]
add eax, 0x24
add ecx, 0x48
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], ecx
test edx, edx
jg 0x44aab3
mov edi, dword [ebp - 0x20]
jmp 0x44ab6d
push eax
xor eax, eax
mov esi, 0x48
cmp byte [ebp - 1], 3
cmove eax, esi
add eax, 0x4edd20
push eax
call fcn.00449e80
add esp, 8
movss xmm1, dword [0x4f4eb0]
lea ecx, [edi + 0x48]
mov edx, 0x10
nop dword [eax]
mov eax, 1
nop word [eax + eax]
movss xmm0, dword [ecx + eax*4]
xorps xmm0, xmm1
movss dword [ecx + eax*4], xmm0
add eax, 2
cmp eax, 0x12
jl 0x44ab90
add ecx, 0x90
sub edx, 1
jne 0x44ab80
add dword [ebp - 0x1c], 0x20
add edi, 0x900
add dword [ebp - 0x10], 0x480
add dword [ebp - 8], 0x1c
sub dword [ebx + 0xc], 1
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], edi
jne 0x44a980
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret