Function at 0x5750e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
xor eax, eax
push ebp
push 0x57547c
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, 0x3e00
mov esi, dword [0x604c08]
mov esi, dword [esi]
dec esi
test esi, esi
jl 0x57514b
inc esi
mov eax, dword [0x605180]
inc eax
mov edx, dword [0x6051dc]
movzx ebx, cx
shr ebx, 8
xor bl, byte [eax]
mov byte [edx], bl
xor ebx, ebx
mov bl, byte [eax]
add cx, bx
imul cx, cx, 0xd413
add cx, 0x46cd
inc edx
inc eax
dec esi
jne 0x57512b
mov eax, dword [0x604c08]
dec dword [eax]
lea eax, [ebp - 0x28]
mov edx, 0x14
call fcn.0040566c
lea eax, [ebp - 0x28]
call fcn.00405538
mov edx, eax
mov eax, dword [0x6051dc]
mov ecx, 0x14
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
lea edx, [ebp - 0x20]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 4
lea edx, [ebp - 0x1c]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 8
lea edx, [ebp - 0x18]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 0xc
lea edx, [ebp - 0x14]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 0x10
lea edx, [ebp - 0x10]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 2
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 0xa
lea edx, [ebp - 8]
mov ecx, 4
call fcn.0040310c
lea eax, [ebp - 0x28]
call fcn.00405538
add eax, 6
lea edx, [ebp - 4]
mov ecx, 4
call fcn.0040310c
push ebp
lea eax, [ebp - 0x20]
call fcn.005750d0
pop ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 5]
mov ecx, 0xa
xor edx, edx
div ecx
mov edi, edx
add edi, 5
mov ebx, 0x14
xor esi, esi
jmp 0x57531f
lea edx, [ebp - 0x48]
mov eax, dword [0x6051dc]
add eax, ebx
mov ecx, 4
call fcn.0040310c
lea edx, [ebp - 0x44]
mov eax, dword [0x6051dc]
lea eax, [eax + ebx + 4]
mov ecx, 4
call fcn.0040310c
lea edx, [ebp - 0x40]
mov eax, dword [0x6051dc]
lea eax, [eax + ebx + 8]
mov ecx, 4
call fcn.0040310c
lea edx, [ebp - 0x3c]
mov eax, dword [0x6051dc]
lea eax, [eax + ebx + 0xc]
mov ecx, 4
call fcn.0040310c
push ebp
lea eax, [ebp - 0x48]
mov edx, edi
call fcn.00574f88
pop ecx
mov eax, dword [0x6051dc]
lea edx, [eax + esi]
lea eax, [ebp - 0x48]
mov ecx, 4
call fcn.0040310c
mov eax, dword [0x6051dc]
lea edx, [eax + esi + 4]
lea eax, [ebp - 0x44]
mov ecx, 4
call fcn.0040310c
mov eax, dword [0x6051dc]
lea edx, [eax + esi + 8]
lea eax, [ebp - 0x40]
mov ecx, 4
call fcn.0040310c
mov eax, dword [0x6051dc]
lea edx, [eax + esi + 0xc]
lea eax, [ebp - 0x3c]
mov ecx, 4
call fcn.0040310c
add esi, 0x10
add ebx, 0x10
lea eax, [ebx + 0xf]
mov edx, dword [0x604c08]
cmp eax, dword [edx]
jle 0x575260
mov edx, dword [0x604c08]
mov edx, dword [edx]
sub edx, 0x14
lea eax, [ebp - 0x30]
call fcn.0040566c
lea eax, [ebp - 0x30]
call fcn.00405538
mov edx, eax
mov ecx, dword [0x604c08]
mov ecx, dword [ecx]
sub ecx, 0x14
mov eax, dword [0x6051dc]
call fcn.0040310c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.005f5f58
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0040542c
je 0x575392
mov eax, 0x575494
call fcn.005e389c
mov eax, dword [0x604c08]
xor edx, edx
mov dword [eax], edx
jmp 0x575461
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
call fcn.004052e0
mov edx, eax
sub edx, 3
mov ecx, 4
mov eax, dword [ebp - 0x30]
call fcn.00405540
lea eax, [ebp - 0x34]
call fcn.00405538
lea edx, [ebp - 0x38]
mov ecx, 4
call fcn.0040310c
mov eax, dword [ebp - 0x30]
call fcn.004052e0
mov edx, eax
sub edx, 3
lea eax, [ebp - 0x30]
mov ecx, 4
call fcn.00405580
mov eax, dword [ebp - 0x30]
call fcn.00573c88
cmp eax, dword [ebp - 0x38]
je 0x575401
mov eax, 0x5754c8
call fcn.005e389c
mov eax, dword [0x604c08]
xor edx, edx
mov dword [eax], edx
jmp 0x575461
lea edx, [ebp - 0x22]
mov eax, dword [0x6051dc]
mov ecx, 2
call fcn.0040310c
mov eax, dword [0x604c08]
mov eax, dword [eax]
sub eax, 0x1a
movzx edx, word [ebp - 0x22]
cmp eax, edx
jge 0x57543a
mov eax, 0x5754fc
call fcn.005e389c
mov eax, dword [0x604c08]
xor edx, edx
mov dword [eax], edx
jmp 0x575461
movzx eax, word [ebp - 0x22]
mov edx, dword [0x604c08]
mov dword [edx], eax
mov ecx, dword [0x604c08]
mov ecx, dword [ecx]
mov edx, dword [0x605180]
mov eax, dword [0x6051dc]
add eax, 2
call fcn.0040310c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575483
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405034
ret