Function at 0x540234
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.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 + 0x14]
push eax
mov ecx, dword [ebx + 0x1a0]
mov edi, dword [ebx + 0x19c]
mov edx, edi
mov eax, edi
call fcn.0041b154
lea edx, [esp + 0x10]
mov eax, esi
call fcn.0042ab40
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.00402c18
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.00402c18
mov dword [esp + 8], eax
dec esi
sub esi, edi
jl 0x5405b6
inc esi
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov edx, dword [esp]
mov eax, dword [ebx + 0x1f8]
call fcn.0042f7dc
mov edi, eax
mov esi, dword [ebx + 0x184]
mov ebp, dword [ebx + 0x174]
sub ebp, esi
jl 0x5403e0
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x540307
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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 0x5405a1
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
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.00402c18
mov edx, eax
mov eax, ebx
call fcn.0053ff1c
lea edx, [esi + esi*2]
mov byte [edi + edx], al
inc esi
dec ebp
jne 0x5404c8
inc dword [esp + 4]
inc dword [esp + 8]
inc dword [esp]
dec dword [esp + 0xc]
jne 0x5402e2
mov eax, ebx
call fcn.005409d4
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret