Function at 0x50644c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebx, eax
mov eax, dword [ebx + 0x1f8]
call fcn.0042ac74
mov esi, eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebx + 0x70]
call fcn.00425a68
mov eax, dword [ebx + 0x1a4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, dword [ebx + 0x1a0]
mov edi, dword [ebx + 0x19c]
mov edx, edi
mov eax, edi
call fcn.00417de8
lea edx, [esp + 0x10]
mov eax, esi
call fcn.00426148
mov esi, dword [ebx + 0x18c]
mov eax, esi
mov edi, dword [ebx + 0x184]
sub eax, edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [ebx + 0x230]
fdiv dword [eax + 0x20]
call fcn.00402cc4
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18c]
sub eax, dword [ebx + 0x184]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [ebx + 0x208]
fdiv dword [eax + 0x20]
call fcn.00402cc4
mov dword [esp + 8], eax
dec esi
sub esi, edi
jl 0x5067ce
inc esi
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042ade4
mov edi, eax
mov esi, dword [ebx + 0x184]
mov ebp, dword [ebx + 0x174]
sub ebp, esi
jl 0x5065f8
inc ebp
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1a8]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx + 2], al
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1ac]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx + 1], al
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1b0]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x50651f
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov esi, dword [ebx + 0x230]
fmul dword [esi + 0x1c]
fild dword [esi + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c0]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
mov edx, dword [ebx + 0x174]
lea edx, [edx + edx*2]
mov byte [edi + edx + 2], al
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov esi, dword [ebx + 0x230]
fmul dword [esi + 0x1c]
fild dword [esi + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c4]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
mov edx, dword [ebx + 0x174]
lea edx, [edx + edx*2]
mov byte [edi + edx + 1], al
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov esi, dword [ebx + 0x230]
fmul dword [esi + 0x1c]
fild dword [esi + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c8]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
mov edx, dword [ebx + 0x174]
lea edx, [edx + edx*2]
mov byte [edi + edx], al
mov esi, dword [ebx + 0x174]
inc esi
mov ebp, dword [ebx + 0x188]
dec ebp
sub ebp, esi
jl 0x5067b9
inc ebp
mov eax, dword [esp + 8]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x208]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x208]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1b4]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx + 2], al
mov eax, dword [esp + 8]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x208]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x208]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1b8]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx + 1], al
mov eax, dword [esp + 8]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x208]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x208]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1bc]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x5066e0
inc dword [esp + 4]
inc dword [esp + 8]
inc dword [esp]
dec dword [esp + 0xc]
jne 0x5064fa
mov eax, ebx
call fcn.00506bec
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret