Function at 0x10196499
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101966b3
lea eax, [ebp - 0x2c]
mov dword [0x101c3e1c], 0x14aa
mov dword [ebp - 0x13c], eax
call fcn.1019746a
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.101968ac
mov ecx, eax
mov dword [0x101c3e38], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x101c3e1c], 0xa
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x101965fe
lea eax, [ebp - 0x12c]
mov ecx, dword [0x101c3e18]
add ecx, 0xffffd95d
mov dword [0x101c3e1c], ecx
mov dword [ebp - 0x150], eax
lea eax, [0x101984df]
mov ecx, 0x20
mov edx, dword [ebp - 0x150]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x154], ecx
call fcn.1019702b
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10197319
xor eax, eax
mov dword [0x101c3e1c], 0xe94
mov ecx, dword [ebp - 0x144]
add ecx, 0x34c66
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x141a00
mov ecx, dword [ebp - 0x144]
add ecx, 0x2b240
mov dword [edx + 8], ecx
mov dword [0x101c3e18], 0xf18
mov dword [edx + 0xc], 0x1f50
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x74
imul esi, eax, 0x9c
mov ebx, edx
add ebx, esi
add ebx, 0x40
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [ebp - 0x158], eax
add eax, 1
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x158]
imul eax, eax, 0x9c
add edx, eax
add edx, 0x98
mov eax, dword [edx]
mov edx, dword [ebx]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
call fcn.10196bf1
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x417
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
je 0x1019653d
jmp 0x101965fe
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
imul esi, eax, 0x9c
add edx, esi
add edx, 0x74
add eax, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, ecx
cmp eax, 0x417
mov ecx, edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], eax
jne 0x101966b3
xor eax, eax
mov dword [0x101c3e1c], 0x2000
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10198500]
mov dh, byte [eax + 0x101984d1]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x168], ecx
je 0x101964c3
jmp 0x1019671e