Function at 0x5e0ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x64d388
push 0x60a920
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x659af8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x33d], 0
mov dword [ebp - 0x320], 0
mov edx, dword [0x6612c4]
mov dword [ebp - 0x33c], edx
mov al, byte [0x4aca34]
xor al, 0x2a
mov byte [ebp - 0x28], al
mov al, byte [0x4aca35]
xor al, 0xc1
mov byte [ebp - 0x27], al
mov al, byte [0x4aca36]
xor al, 0x68
mov byte [ebp - 0x26], al
mov ecx, dword [0x4aca37]
xor cl, 0x7e
mov byte [ebp - 0x25], cl
mov al, ch
xor al, 0x2a
mov byte [ebp - 0x24], al
mov al, byte [0x4aca39]
xor al, 0xc1
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0
mov eax, dword [edx + 0x218]
call eax
mov dword [ebp - 0x350], eax
mov ecx, 0x41
mov dword [ebp - 0x344], ecx
test eax, eax
je 0x5e137a
test al, 1
je 0x5e1363
mov eax, dword [ebp - 0x344]
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x21c]
call eax
sub eax, 2
je 0x5e0fa3
sub eax, 2
jmp 0x5e0faa
cmp dword [ebp - 0x344], 0x41
je 0x5e1357
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x208]
call eax
mov esi, eax
mov dword [ebp - 0x34c], esi
cmp esi, 0xffffffff
je 0x5e1164
xorps xmm0, xmm0
movups xmmword [ebp - 0x338], xmm0
movq qword [ebp - 0x328], xmm0
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x320]
sub esp, 0xc
mov eax, esp
movq xmm0, qword [ebp - 0x370]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
push esi
call fcn.005e0850
add esp, 0x10
test eax, eax
je 0x5e115f
mov al, byte [ebp - 0x335]
test al, al
je 0x5e115f
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [ebp - 0x345], al
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
push 0x210
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.0060a6d0
add esp, 0xc
mov byte [ebp - 0x47], 2
mov word [ebp - 0x43], 0x101
mov byte [ebp - 0x3f], 0xb0
mov al, byte [ebp - 0x345]
mov byte [ebp - 0x3e], al
push 0
lea eax, [ebp - 0x320]
push eax
push 0x210
lea eax, [ebp - 0x31c]
push eax
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0x7c088
push esi
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x210]
call eax
test eax, eax
je 0x5e115f
xor esi, esi
nop dword [eax]
movzx eax, byte [ebp + esi - 0x2da]
push eax
call fcn.005466bc
xor al, 0xc1
mov byte [ebp + esi - 0x73], al
movzx eax, byte [ebp + esi - 0x2d9]
push eax
call fcn.005466bc
add esp, 8
xor al, 0xc1
mov byte [ebp + esi - 0x74], al
add esi, 2
cmp esi, 0x28
jl 0x5e10d0
lea edi, [esi - 1]
xor esi, esi
mov eax, dword [0x4ac9a0]
test eax, eax
je 0x5e1154
xor ecx, ecx
push dword [ecx + 0x4ac9a4]
push eax
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.005e16b0
add esp, 0x10
test eax, eax
je 0x5e1142
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.005e09a0
add esp, 8
mov byte [ebp - 0x33d], al
test al, al
jne 0x5e1154
inc esi
lea ecx, [esi*8]
mov eax, dword [ecx + 0x4ac9a0]
test eax, eax
jne 0x5e1113
push dword [ebp - 0x34c]
jmp 0x5e1340
cmp esi, 0xffffffff
jne 0x5e1196
push 0
push 0x40000000
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x208]
call eax
mov esi, eax
mov dword [ebp - 0x34c], eax
cmp esi, 0xffffffff
je 0x5e1357
push 0x96
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.0060a6d0
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x378], eax
lea ecx, [ebp - 0x320]
mov eax, esp
movq xmm0, qword [ebp - 0x37c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
push esi
call fcn.005e0750
add esp, 0x10
test eax, eax
je 0x5e133f
cmp dword [ebp - 0x10c], 0x28
jne 0x5e133f
mov dword [ebp - 0x358], 0x4985d8
xor ecx, ecx
mov dword [ebp - 0x354], ecx
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x5e1252
lea edi, [ebp - 0x10c]
add edi, eax
mov dword [ebp - 0x358], edi
xor esi, esi
cmp byte [edi], cl
je 0x5e1245
movsx eax, byte [edi + esi]
push eax
call fcn.005466bc
add esp, 4
xor al, 0xc1
mov byte [edi + esi], al
inc esi
cmp byte [edi + esi], 0
jne 0x5e1226
mov ecx, dword [ebp - 0x354]
test esi, esi
je 0x5e1252
lea ecx, [esi - 1]
mov dword [ebp - 0x354], ecx
mov edi, 0x4985d8
xor esi, esi
mov dword [ebp - 0x35c], esi
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x5e12a0
lea edi, [ebp - 0x10c]
add edi, eax
cmp byte [edi], 0
je 0x5e1295
movsx eax, byte [edi + esi]
push eax
call fcn.005466bc
add esp, 4
xor al, 0xc1
mov byte [edi + esi], al
inc esi
cmp byte [edi + esi], 0
jne 0x5e1276
mov ecx, dword [ebp - 0x354]
test esi, esi
je 0x5e12a0
dec esi
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x360], 0
mov esi, dword [0x4ac9a0]
test esi, esi
je 0x5e1339
xor eax, eax
nop word [eax + eax]
mov eax, dword [eax + 0x4ac9a4]
mov dword [ebp - 0x364], eax
push eax
push esi
push ecx
push dword [ebp - 0x358]
call fcn.005e16b0
add esp, 0x10
test eax, eax
jne 0x5e1332
push dword [ebp - 0x364]
push esi
mov esi, dword [ebp - 0x35c]
push esi
push edi
call fcn.005e16b0
add esp, 0x10
test eax, eax
je 0x5e1310
push esi
push edi
call fcn.005e09a0
add esp, 8
mov byte [ebp - 0x33d], al
test al, al
jne 0x5e1339
mov eax, dword [ebp - 0x360]
inc eax
mov dword [ebp - 0x360], eax
shl eax, 3
mov esi, dword [eax + 0x4ac9a0]
test esi, esi
mov ecx, dword [ebp - 0x354]
jne 0x5e12c0
jmp 0x5e1339
mov byte [ebp - 0x33d], 1
mov esi, dword [ebp - 0x34c]
push esi
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x214]
call eax
cmp byte [ebp - 0x33d], 0
jne 0x5e137a
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x344]
shr eax, 1
mov dword [ebp - 0x350], eax
inc ecx
mov dword [ebp - 0x344], ecx
test eax, eax
jne 0x5e0f76
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], 0
push 0x210
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.0060a6d0
add esp, 0xc
mov al, byte [ebp - 0x33d]
test al, al
jne 0x5e13d9
cmp byte [ebp + 8], al
je 0x5e13d5
mov dword [ebp - 4], 0
int 8
mov dword [ebp - 4], 0xfffffffe
jmp 0x5e13d5
test al, al
je 0x5e13e8
call fcn.004c4d70
mov dword [eax], 6
mov al, 1
jmp 0x5e13ea
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret