Function at 0x101c3eef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x178
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x10217620]
add edx, 0x314d
mov dword [0x10217620], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101c412c
lea eax, [ebp - 0x2c]
mov dword [0x10217624], 0x14f9
mov dword [ebp - 0x13c], eax
call fcn.101c3e42
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.101c3cdb
mov ecx, eax
mov dword [0x1021763c], 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 [0x10217620], 0xf9
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
mov esi, eax
add esi, 1
mov edi, dword [ebp - 0x144]
add edi, ecx
imul ebx, eax, 0xf4
mov dword [ebp - 0x150], eax
mov eax, edx
add eax, ebx
add eax, 0xf0
mov ebx, dword [ebp - 0x150]
imul ebx, ebx, 0xf4
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0xdc
mov ebx, dword [ebp - 0x150]
imul ebx, ebx, 0xf4
add edx, ebx
add edx, 0xee
mov ebx, dword [ebp - 0x154]
mov ebx, dword [ebx]
mov eax, dword [eax]
movzx edx, word [edx]
xor edx, ebx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.101c4e01
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
cmp edx, 0x4bf
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
jne 0x101c3fa0
lea eax, [0x101cbd43]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x144]
add esi, 0x3aa6f
mov edi, dword [ebp - 0x144]
add edi, 0x65b99
mov dword [0x10217620], 0x1503
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], esi
call fcn.101c4961
mov eax, dword [ebp - 0x16c]
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.101c5030
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
mov dword [ecx], edx
mov dword [ecx + 4], 0x13b400
mov edx, dword [ebp - 0x170]
mov dword [ecx + 8], edx
mov edx, dword [0x10217620]
add edx, 0xffffddba
mov dword [0x10217620], edx
mov dword [ecx + 0xc], 0x20d0
add esp, 0x178
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0xf4
mov ebx, edx
add ebx, edi
add ebx, 0xee
imul eax, eax, 0xf4
add edx, eax
add edx, 0xf0
mov eax, dword [edx]
movzx edx, word [ebx]
xor edx, eax
add edx, ecx
cmp esi, 0x4bf
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], esi
jne 0x101c412c
xor eax, eax
mov dword [0x10217620], 0x1938
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101cbd64]
mov dh, byte [eax + 0x101cbd35]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x174], ecx
je 0x101c3f2b
jmp 0x101c419b