Function at 0x5067e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd8
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 + 0x18]
push eax
mov ecx, dword [ebx + 0x1a0]
mov edi, dword [ebx + 0x19c]
mov edx, edi
mov eax, edi
call fcn.00417de8
lea edx, [esp + 0x14]
mov eax, esi
call fcn.00426148
mov eax, dword [ebx + 0x188]
mov esi, dword [ebx + 0x184]
sub eax, esi
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [ebx + 0x230]
fdiv dword [eax + 0x20]
call fcn.00402cc4
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x188]
sub eax, dword [ebx + 0x184]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [ebx + 0x208]
fdiv dword [eax + 0x20]
call fcn.00402cc4
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x174]
sub eax, esi
jl 0x5069a3
inc eax
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042ade4
mov edi, eax
mov ebp, dword [esp + 8]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x506996
inc eax
mov dword [esp + 0x10], eax
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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 ebp
inc esi
dec dword [esp + 0x10]
jne 0x5068bf
inc dword [esp]
dec dword [esp + 0xc]
jne 0x506891
mov edx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x1f8]
call fcn.0042ade4
mov edi, eax
mov ebp, dword [esp + 4]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x506aab
inc eax
mov dword [esp + 0xc], eax
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c0]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c4]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x230]
fmul dword [eax + 0x1c]
mov eax, dword [ebx + 0x230]
fild dword [eax + 0x18]
faddp st(1)
fmul dword [ebx + 0x1c8]
call fcn.00402cc4
mov edx, eax
mov eax, ebx
call fcn.00506134
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc ebp
inc esi
dec dword [esp + 0xc]
jne 0x5069d4
mov eax, dword [ebx + 0x174]
inc eax
mov edx, dword [ebx + 0x18c]
dec edx
sub edx, eax
jl 0x506bdb
inc edx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042ade4
mov edi, eax
mov ebp, dword [esp + 4]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x506bce
inc eax
mov dword [esp + 0x10], eax
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebx + 0x1cc]
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 ebp
inc esi
dec dword [esp + 0x10]
jne 0x506af7
inc dword [esp]
dec dword [esp + 0xc]
jne 0x506ac9
mov eax, ebx
call fcn.00506bec
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret