Function at 0x10184ee1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x144
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.101848b0
mov eax, esp
mov dword [0x101a6810], 0xbba
mov dword [0x101a680c], 0x163b
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], edx
jmp 0x10184f73
mov eax, dword [ebp - 0x124]
mov cl, byte [eax + 0x10187140]
mov dl, byte [eax + 0x10187111]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x124], eax
je 0x10184fed
jmp 0x10184f40
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, eax, 0x78
mov edi, edx
add edi, esi
add edi, 0x5c
imul esi, eax, 0x78
add edx, esi
add edx, 0x58
add eax, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, ecx
cmp eax, 0x411
mov ecx, edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x120], eax
jne 0x10184f73
mov dword [0x101a680c], 0x3bc
mov dword [0x101a6810], 0xfdc
xor eax, eax
mov dword [ebp - 0x124], eax
jmp 0x10184f40
mov dword [0x101a680c], 0x51c
mov dword [0x101a6810], 0xfffff6ed
call fcn.101861cd
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.10184a84
add esp, 8
mov ecx, eax
mov dword [0x101a6828], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x128]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
mov dword [0x101a6810], 0x1739
mov dword [ebp - 0x12c], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], eax
jmp 0x1018506b
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
lea edx, section..data
imul esi, eax, 0x78
mov edi, edx
add edi, esi
imul esi, eax, 0x78
mov ebx, edx
add ebx, esi
add ebx, 0x58
imul esi, eax, 0x78
add edx, esi
add edx, 0x5c
mov esi, dword [ebp - 0x12c]
add esi, ecx
add eax, 1
mov edx, dword [edx]
mov edi, dword [edi]
movzx ebx, word [ebx]
xor ebx, edx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ebx
call fcn.1018603a
add esp, 0xc
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
add eax, ecx
mov edx, dword [ebp - 0x138]
cmp edx, 0x411
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], eax
jne 0x1018506b
lea eax, [ebp - 0x10c]
mov dword [0x101a6810], 0x22ea
mov dword [ebp - 0x144], eax
lea eax, [0x1018711f]
mov ecx, 0x20
mov edx, dword [ebp - 0x12c]
add edx, 0x34e82
mov esi, dword [ebp - 0x12c]
add esi, 0x37252
mov dword [0x101a680c], 0x2547
sub esp, 0xc
mov edi, dword [ebp - 0x144]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], esi
call fcn.10184d76
add esp, 0xc
mov dword [0x101a680c], 0x1a7
sub esp, 0x10
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x128]
mov dword [esp + 0xc], edx
call fcn.101857be
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x150]
mov dword [ecx], edx
mov dword [ecx + 4], 0x142000
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2000
mov dword [0x101a680c], 0x1434
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret