Function at 0x1011ca1c
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]
mov dword [0x101d6be8], 0x23d1
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x1011caef
lea eax, str.WB_v
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.1011da9b
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.1011cd35
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x73810
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12fc00
mov ecx, dword [ebp - 0x144]
add ecx, 0x38a60
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov dword [0x101d6bec], 0xe43
add esp, 0x16c
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, eax, 0x17c
mov edi, edx
add edi, esi
add edi, 0x11c
mov esi, dword [edi]
imul edi, eax, 0x17c
add edx, edi
add edx, 0xec
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x12b
mov ecx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x1011caef
xor eax, eax
mov ecx, dword [0x101d6bec]
mov edx, ecx
add edx, 0x411
mov dword [0x101d6bec], edx
add ecx, 0x5d3
mov dword [0x101d6be8], ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov cl, byte [eax + 0x101b9be8]
mov dl, byte [eax + 0x101b9bb9]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x14c], eax
jne 0x1011cb70
lea eax, [ebp - 0x12c]
mov dword [0x101d6be8], 0x1b8b
mov dword [ebp - 0x150], eax
call fcn.1011d76e
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.1011d1c9
mov ecx, eax
mov dword [0x101d6c08], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
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 [0x101d6be8], 0x829
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, ecx, 0x17c
mov edi, edx
add edi, esi
add edi, 0xd8
imul esi, ecx, 0x17c
mov ebx, edx
add ebx, esi
add ebx, 0x11c
mov esi, ecx
add esi, 1
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x160], ecx
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov ecx, dword [ebp - 0x160]
imul ecx, ecx, 0x17c
add edx, ecx
add edx, 0xec
mov ecx, dword [ebx]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], esi
call fcn.1011ccd5
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x168]
cmp edx, 0x12b
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], eax
je 0x1011ca50
jmp 0x1011cc17