Function at 0x101d9caa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x102bbbcc], 0xe6a
mov dword [0x102bbbd0], 0x1c1d
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x101d9e2c
lea eax, [ebp - 0x12c]
mov dword [0x102bbbd0], 0x1490
mov dword [0x102bbbcc], 0x2176
mov dword [ebp - 0x13c], eax
call fcn.101d98cb
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.101d99fe
mov ecx, eax
mov dword [0x102bbbe8], 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 edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x101d9ec6
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x150], eax
lea eax, [0x101db1b7]
mov ecx, 0x20
mov edx, dword [ebp - 0x144]
add edx, 0x18f6cb
mov esi, dword [ebp - 0x144]
add esi, 0x9969a
mov dword [0x102bbbcc], 0x1cea
mov edi, dword [ebp - 0x150]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], esi
call fcn.101d948f
mov eax, dword [ebp - 0x150]
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.101d8bbd
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x158]
mov dword [ecx], edx
mov dword [ecx + 4], 0x139a00
mov edx, dword [ebp - 0x15c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1fe0
mov dword [0x102bbbcc], 0x25ad
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xac
mov ebx, esi
add ebx, edi
add ebx, 0xa8
mov edi, dword [ebx]
imul ebx, eax, 0xac
add esi, ebx
add esi, 0x7c
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x7ca
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x160], edx
jne 0x101d9e2c
mov eax, dword [ebp - 0x160]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101db1d8]
mov dh, byte [eax + 0x101db1a9]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x160], ecx
je 0x101d9ce8
jmp 0x101d9e8d
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0xac
mov edi, edx
add edi, esi
add edi, 0xa8
mov esi, dword [edi]
imul edi, eax, 0xac
mov ebx, edx
add ebx, edi
add ebx, 0x20
mov edi, dword [ebx]
imul ebx, eax, 0xac
add edx, ebx
add edx, 0x7c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
call fcn.101d8b5d
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
add eax, ecx
mov edx, dword [ebp - 0x164]
add edx, 1
cmp edx, 0x7ca
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
je 0x101d9d65
jmp 0x101d9ec6