Function at 0x10005695
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x140
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.10004190
mov eax, esp
mov dword [0x10030628], 0xec4
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], edx
jmp 0x100057a0
lea eax, [0x10006917]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10030628], 0x1f64
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x128], ecx
call fcn.10004b37
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x130]
mov dword [esp + 0xc], edx
call fcn.10004ccd
add esp, 0x10
mov eax, dword [ebp - 0x12c]
add eax, 0x12112b
mov dword [ebp - 0x134], eax
xor eax, eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb149f
mov edx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x134]
mov dword [edx], esi
mov dword [edx + 4], 0x127e00
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2010
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0x130
mov esi, dword [edi]
imul edi, eax, 0x134
add edx, edi
add edx, 0x12c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x219
mov ecx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x100057a0
mov dword [0x1003062c], 0x1562
xor eax, eax
mov dword [ebp - 0x138], eax
jmp 0x1000580d
mov eax, dword [ebp - 0x138]
mov cl, byte [eax + 0x10006938]
mov dl, byte [eax + 0x10006909]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x138], eax
jne 0x1000580d
mov dword [0x10030628], 0xdb0
mov dword [0x1003062c], 0xffffeaa5
call fcn.10005265
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.1000537c
add esp, 8
mov ecx, eax
mov dword [0x10030640], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x130]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
xor ecx, ecx
mov edx, dword [0x10030628]
add edx, 0x1adc
mov dword [0x1003062c], edx
mov edx, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0x130
mov esi, dword [edi]
imul edi, eax, 0x134
mov ebx, edx
add ebx, edi
add ebx, 0x44
mov edi, dword [ebx]
imul ebx, eax, 0x134
add edx, ebx
add edx, 0x12c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x12c]
add esi, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], edx
call fcn.10004a74
add esp, 0xc
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
add eax, ecx
mov edx, dword [ebp - 0x144]
add edx, 1
cmp edx, 0x219
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], edx
je 0x100056ed
jmp 0x100058c2