Function at 0x5c1d36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1003c050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
mov edi, edx
lea edx, [ebp - 0x84]
push 0
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
call fcn.005e0266
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.005e0266
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*2]
add esp, 0x18
xor eax, eax
add ecx, ecx
lea ecx, [edx + ecx*8 + 1]
jmp 0x5c1d96
mov edx, dword [eax*4 + 0x10034bd8]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 1]
add eax, 6
mov byte [ebp + eax - 0x4a], dl
mov edx, dword [eax*4 + 0x10034bc4]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 6]
mov byte [ebp + eax - 0x49], dl
mov edx, dword [eax*4 + 0x10034bc8]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 5]
mov byte [ebp + eax - 0x48], dl
mov edx, dword [eax*4 + 0x10034bcc]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 4]
mov byte [ebp + eax - 0x47], dl
mov edx, dword [eax*4 + 0x10034bd0]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 3]
mov byte [ebp + eax - 0x46], dl
mov edx, dword [eax*4 + 0x10034bd4]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 2]
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x30
jl 0x5c1d96
xor ecx, ecx
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x3f]
jmp 0x5c1e26
movsx esi, byte [eax - 5]
movsx ebx, byte [eax]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 1]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x10034d18]
mov esi, dword [esi*4 + 0x10035d18]
movsx ebx, byte [eax + 6]
mov dword [edx - 4], esi
movsx esi, byte [eax + 1]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 5]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x10034e18]
mov esi, dword [esi*4 + 0x10035d18]
movsx ebx, byte [eax + 0xc]
mov dword [edx], esi
movsx esi, byte [eax + 7]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 8]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 9]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xa]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xb]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x10034f18]
mov esi, dword [esi*4 + 0x10035d18]
movsx ebx, byte [eax + 0x12]
mov dword [edx + 4], esi
movsx esi, byte [eax + 0xd]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xe]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xf]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x10]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x11]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x10035018]
mov esi, dword [esi*4 + 0x10035d18]
mov dword [edx + 8], esi
add ecx, 8
add edx, 0x10
add eax, 0x18
cmp ecx, 0x10
jl 0x5c1e26
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
lea esi, [edx + 2]
mov ecx, 0x10034c9c
sub edx, eax
mov dword [ebp - 0x88], 8
jmp 0x5c1f46
mov ebx, dword [ecx - 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [edx + eax]
add eax, 4
mov byte [eax - 4], bl
mov ebx, dword [ecx]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 1]
add esi, 4
mov byte [eax - 3], bl
mov ebx, dword [ecx + 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 4]
add ecx, 0x10
mov byte [eax - 2], bl
mov ebx, dword [ecx - 8]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 3]
dec dword [ebp - 0x88]
mov byte [eax - 1], bl
jne 0x5c1f46
mov esi, edi
mov edi, dword [ebp - 0x8c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd577
mov esp, ebp
pop ebp
ret