Function at 0x101c6a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x17c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102eac44], 0x48
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101c6b77
lea eax, [0x102bf8bd]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x13c]
add esi, 0xdfe36
mov edi, dword [ebp - 0x13c]
add edi, 0x120d3b
mov ebx, dword [0x102eac40]
add ebx, 0xffffef1c
mov dword [0x102eac40], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], esi
call fcn.101c728e
mov dword [0x102eac44], 0x67f
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [esp + 0xc], edx
call fcn.101c7903
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x140]
mov dword [ecx], edx
mov dword [ecx + 4], 0x141c00
mov dword [0x102eac44], 0x2fe
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20b0
add esp, 0x17c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x6c
mov edi, edx
add edi, esi
add edi, 0x10
imul esi, ecx, 0x6c
add edx, esi
add edx, 0xc
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x3d1
mov eax, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x101c6b77
xor eax, eax
mov ecx, dword [0x102eac40]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102bf8de]
mov dh, byte [eax + 0x102bf8af]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x158], ecx
jne 0x101c6be6
lea eax, [ebp - 0x12c]
mov ecx, dword [ebp - 0x154]
add ecx, 0xffffef6c
mov dword [0x102eac44], ecx
mov dword [0x102eac40], 0x155d
mov dword [ebp - 0x15c], eax
call fcn.101c760b
mov dword [esp], eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
call fcn.101c6410
mov ecx, eax
mov dword [0x102eac5c], eax
mov eax, esp
mov edx, dword [ebp - 0x150]
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 [0x102eac40], 0x1240
mov edx, ecx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x10
imul esi, eax, 0x6c
mov ebx, edx
add ebx, esi
add ebx, 0xc
mov esi, eax
add esi, 1
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x13c]
add eax, ecx
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x168]
imul eax, eax, 0x6c
add edx, eax
mov eax, dword [edi]
mov edx, dword [edx]
movzx edi, word [ebx]
xor edi, eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x178], esi
call fcn.101c7708
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x174]
add eax, ecx
mov edx, dword [ebp - 0x178]
cmp edx, 0x3d1
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], eax
je 0x101c6aa4
jmp 0x101c6ca3