Function at 0x5405c8
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.0042f66c
mov esi, eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebx + 0x70]
call fcn.0042a720
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.0041b154
lea edx, [esp + 0x14]
mov eax, esi
call fcn.0042ab40
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.00402c18
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.00402c18
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x174]
sub eax, esi
jl 0x54078b
inc eax
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042f7dc
mov edi, eax
mov ebp, dword [esp + 8]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x54077e
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc ebp
inc esi
dec dword [esp + 0x10]
jne 0x5406a7
inc dword [esp]
dec dword [esp + 0xc]
jne 0x540679
mov edx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x1f8]
call fcn.0042f7dc
mov edi, eax
mov ebp, dword [esp + 4]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x540893
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc ebp
inc esi
dec dword [esp + 0xc]
jne 0x5407bc
mov eax, dword [ebx + 0x174]
inc eax
mov edx, dword [ebx + 0x18c]
dec edx
sub edx, eax
jl 0x5409c3
inc edx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042f7dc
mov edi, eax
mov ebp, dword [esp + 4]
mov esi, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
dec eax
sub eax, esi
jl 0x5409b6
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc ebp
inc esi
dec dword [esp + 0x10]
jne 0x5408df
inc dword [esp]
dec dword [esp + 0xc]
jne 0x5408b1
mov eax, ebx
call fcn.005409d4
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret