Function at 0x4a312c
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.0042598c
mov esi, eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebx + 0x70]
call fcn.004203f4
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.004131f0
lea edx, [esp + 0x10]
mov eax, esi
call fcn.00420aa0
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.00402b14
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.00402b14
mov dword [esp + 8], eax
dec esi
sub esi, edi
jl 0x4a34ae
inc esi
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.00425afc
mov edi, eax
mov esi, dword [ebx + 0x184]
mov ebp, dword [ebx + 0x174]
sub ebp, esi
jl 0x4a32d8
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x4a31ff
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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 0x4a3499
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
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.00402b14
mov edx, eax
mov eax, ebx
call fcn.004a2e14
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x4a33c0
inc dword [esp + 4]
inc dword [esp + 8]
inc dword [esp]
dec dword [esp + 0xc]
jne 0x4a31da
mov eax, ebx
call fcn.004a38cc
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret