Function at 0x5725fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5728d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3d]
mov cl, 0x65
mov edx, 0x21
call fcn.00402b14
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x3d]
mov edx, dword [0x5c5648]
call fcn.00407bf0
lea eax, [ebp - 0x3d]
mov dword [ebp - 4], eax
pushal
mov edi, dword [ebp - 4]
mov eax, 0x3617e418
xor dword [edi], eax
mov eax, 0xa935fc2e
xor dword [edi + 4], eax
mov eax, 0x57d872b9
xor dword [edi + 8], eax
mov eax, 0x493db437
xor dword [edi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [edi + 4]
mov ebx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
popal
mov eax, dword [0x5c564c]
call fcn.00403c8c
cmp eax, 0x10
jge 0x5726d2
mov dl, 1
mov eax, dword [0x40d128]
call fcn.00402e3c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5726cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.00410c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5728b2
mov eax, dword [ebp - 0x1c]
call fcn.00402e64
ret
lea eax, [ebp - 0x14]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [0x5c564c]
call fcn.00403e90
lea eax, [ebp - 0x18]
push eax
mov ecx, 8
mov edx, 9
mov eax, dword [0x5c564c]
call fcn.00403e90
lea ecx, [ebp - 0x44]
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.00407490
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.00403d9c
jne 0x572892
lea ecx, [ebp - 0x44]
mov edx, 8
mov eax, dword [ebp - 0xc]
call fcn.00407490
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
call fcn.00403d9c
jne 0x572892
mov eax, 0x5c5634
mov edx, dword [0x5c5648]
call fcn.00403a64
mov eax, 0x5c5638
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00403cd8
mov dl, 1
mov eax, dword [0x40d128]
call fcn.00402e3c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00410c84
mov edx, 0x200
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, 8
lea edx, [ebp - 0x3d]
mov ecx, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00410828
dec ebx
jne 0x572798
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x1ff
pushal
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
xor edx, edx
mov ebx, 0x3617e418
mov eax, ebx
xor byte [esi + edx], al
ror ebx, 1
xor ebx, 0xa5a5a5a5
inc edx
dec ecx
jne 0x57284d
popal
mov ecx, dword [esi + 0x230]
mov edx, dword [0x5c6ed0]
mov edx, dword [edx]
lea eax, [ebp - 0x44]
call fcn.00403cd8
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
call fcn.00410c00
mov eax, dword [ebp - 0x1c]
call fcn.00410c84
mov eax, dword [ebp - 0x1c]
call fcn.00402e64
jmp 0x5728b2
mov eax, 0x5c5634
mov edx, dword [0x5c5644]
call fcn.00403a64
mov eax, 0x5c5638
mov edx, dword [0x5c5650]
call fcn.00403a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5728dc
lea eax, [ebp - 0x44]
call fcn.00403a10
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403a34
ret