Function at 0x43fae4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
cmp dword [0x527b38], 0
push ebx
push esi
push edi
je 0x43fb38
push 0xd8
push 0x527b88
push 0x13
push 5
call fcn.00417128
add esp, 0x10
call fcn.00417110
cmp eax, dword [0x527b3c]
sete al
and eax, 1
mov dword [ebp - 0x10], eax
push 0xda
push 0x527ba0
push 0x13
push 6
call fcn.00417128
add esp, 0x10
jmp 0x43fb3d
xor edx, edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x43fb59
push 0xdf
push 0x527bb8
push 0x12
push 9
call fcn.00417128
add esp, 0x10
mov ebx, dword [0x527b20]
mov eax, dword [0x527b24]
mov dword [ebp - 0xc], eax
mov edx, dword [0x527b28]
mov dword [ebp - 8], edx
push 0x14
push 0x53c217
lea ecx, [ebp - 0x24]
push ecx
call fcn.004099dc
add esp, 0xc
mov eax, dword [ebp + 0xc]
add dword [0x527b20], eax
cmp dword [0x527b20], 0x3ff
jl 0x43fbb7
mov ecx, 0x3ff
mov eax, dword [0x527b20]
cdq
idiv ecx
mov dword [0x527b20], edx
mov dword [0x527b1c], 0x3ff
jmp 0x43fbd3
mov eax, dword [0x527b1c]
cmp eax, 0x3ff
jge 0x43fbd3
mov edx, dword [0x527b20]
cmp eax, edx
jge 0x43fbd3
mov dword [0x527b1c], edx
mov eax, dword [ebp + 0xc]
mov ecx, 0x14
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, 0x14
cdq
idiv esi
test edx, edx
setg al
and eax, 1
add ecx, eax
add dword [0x527b28], ecx
cmp dword [ebp - 0x10], 0
jne 0x43fc17
push 0xff
push 0x527bd0
push 0x12
push 0xa
call fcn.00417128
add esp, 0x10
lea edx, [ebp - 0x34]
push edx
call fcn.00442fb8
pop ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x43fd28
mov edi, dword [ebp + 0xc]
sub edi, dword [ebp - 4]
cmp edi, 0x14
jle 0x43fc44
mov eax, 0x14
jmp 0x43fc46
mov eax, edi
mov edi, eax
push 0
call fcn.0044345c
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.00443010
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.0044314c
add esp, 0xc
lea esi, [edi + ebx - 0x3ff]
test esi, esi
jle 0x43fca6
mov eax, edi
mov edx, 0x53be04
sub eax, esi
add edx, ebx
push eax
push edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.0044314c
add esp, 0xc
lea eax, [ebp - 0x34]
push esi
push 0x53be04
push eax
call fcn.0044314c
add esp, 0xc
jmp 0x43fcbb
push edi
mov edx, 0x53be04
add edx, ebx
push edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.0044314c
add esp, 0xc
push edi
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0044314c
add esp, 0xc
push 8
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.0044314c
add esp, 0xc
push 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.00443190
add esp, 0xc
inc dword [ebp - 8]
add dword [ebp + 8], edi
xor esi, esi
lea eax, [ebp - 0x24]
cmp edi, esi
jle 0x43fd18
mov dl, byte [eax]
xor byte [ebx + 0x53be04], dl
inc ebx
cmp ebx, 0x3ff
jl 0x43fd12
xor ebx, ebx
inc esi
inc eax
cmp edi, esi
jg 0x43fcff
add dword [ebp - 4], 0x14
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jl 0x43fc32
lea edx, [ebp - 0x34]
push edx
call fcn.0044339c
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43fd4e
push 0x12a
push 0x527be8
push 0x12
push 9
call fcn.00417128
add esp, 0x10
xor esi, esi
mov edx, 0x53c217
lea eax, [ebp - 0x24]
mov cl, byte [eax]
xor byte [edx], cl
inc esi
inc edx
inc eax
cmp esi, 0x14
jl 0x43fd58
fld qword [0x527b2c]
fcomp dword [0x43fda8]
fnstsw ax
sahf
jae 0x43fd84
fld qword [ebp + 0x10]
fadd qword [0x527b2c]
fstp qword [0x527b2c]
cmp dword [ebp - 0x10], 0
jne 0x43fda0
push 0x135
push 0x527c00
push 0x12
push 0xa
call fcn.00417128
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret