Function at 0x1001b47e
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 dword [0x1025fb24], 0x1988
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1001b4e0
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x1001d3e0]
mov dl, byte [eax + 0x1001d3b1]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x1001b556
jmp 0x1001b4af
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, [0x1022d46c]
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xec
mov dword [ebp - 0x140], eax
mov eax, esi
add eax, ebx
add eax, 0xe8
imul ecx, ecx, 0xec
add esi, ecx
add esi, 0xe6
mov eax, dword [eax]
movzx ecx, word [esi]
xor ecx, eax
mov eax, dword [ebp - 0x140]
add ecx, eax
cmp edi, 0x36b
mov eax, ecx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], eax
je 0x1001b4af
jmp 0x1001b4e0
lea eax, [ebp - 0x12c]
mov dword [0x1025fb24], 0xef7
mov dword [ebp - 0x148], eax
call fcn.1001ca66
mov dword [esp], eax
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], eax
call fcn.1001b9c0
mov ecx, eax
mov dword [0x1025fb40], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
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 [0x1025fb28], 0xf38
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, [0x1022d46c]
mov esi, dword [ebp - 0x14c]
add esi, ecx
imul edi, eax, 0xec
mov ebx, edx
add ebx, edi
add ebx, 0xe8
imul edi, eax, 0xec
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, edi
add eax, 0x9c
mov edi, dword [ebp - 0x158]
imul edi, edi, 0xec
add edx, edi
add edx, 0xe6
mov edi, dword [ebp - 0x158]
add edi, 1
mov ebx, dword [ebx]
mov eax, dword [eax]
movzx edx, word [edx]
xor edx, ebx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], edx
call fcn.1001b91b
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x36b
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], eax
jne 0x1001b5ce
lea eax, [0x1001d3bf]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x1025fb24], 0x1e59
mov esi, dword [ebp - 0x14c]
add esi, 0x2d9fa
mov edi, dword [ebp - 0x14c]
add edi, 0x12bdc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x174], esi
call fcn.1001be7f
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.1001bd0a
xor eax, eax
mov dword [0x1025fb24], 0x1930
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x174]
mov dword [ecx], edx
mov dword [ecx + 4], 0x14be00
mov edx, dword [ebp - 0x168]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2010
add esp, 0x178
pop esi
pop edi
pop ebx
pop ebp
ret