Function at 0x101ab5d1
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]
xor ecx, ecx
mov dword [0x101c0378], 0x1fc2
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101ab6e7
lea eax, [0x101ad5bf]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x13c]
add esi, 0x68001
mov edi, dword [ebp - 0x13c]
add edi, 0x72b19
mov dword [0x101c0378], 0x20aa
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.101aaf1c
mov eax, dword [0x101c0374]
add eax, 0xffffded0
mov dword [0x101c0374], eax
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.101ac0b4
xor eax, eax
mov dword [0x101c0378], 0x24c3
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x140]
mov dword [ecx], edx
mov dword [ecx + 4], 0x13d600
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20c0
mov edx, dword [0x101c0378]
add edx, 0x13ce
mov dword [0x101c0378], edx
add esp, 0x170
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, 0xe0
mov edi, edx
add edi, esi
add edi, 0x50
imul esi, eax, 0xe0
add edx, esi
add edx, 0xa8
add eax, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, ecx
cmp eax, 0x14d
mov ecx, esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x138], eax
jne 0x101ab6e7
xor eax, eax
mov dword [0x101c0378], 0xbaf
mov ecx, dword [0x101c0374]
add ecx, 0xffffeb03
mov dword [0x101c0374], ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad5e0]
mov dh, byte [eax + 0x101ad5b1]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x154], ecx
jne 0x101ab764
lea eax, [ebp - 0x2c]
mov dword [0x101c0378], 0x1775
mov dword [0x101c0374], 0x2310
mov dword [ebp - 0x158], eax
call fcn.101ab447
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.101aacb3
mov ecx, eax
mov dword [0x101c0390], 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 [0x101c0374], 0x1394
mov edx, ecx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
lea edx, section..data
mov esi, dword [ebp - 0x13c]
add esi, eax
imul edi, ecx, 0xe0
mov ebx, edx
add ebx, edi
add ebx, 0x50
imul edi, ecx, 0xe0
mov dword [ebp - 0x164], eax
mov eax, edx
add eax, edi
add eax, 0xa8
mov edi, ecx
add edi, 1
imul ecx, ecx, 0xe0
add edx, ecx
add edx, 0x34
mov eax, dword [eax]
mov ecx, dword [edx]
movzx edx, word [ebx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], edi
call fcn.101abe9c
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x16c]
cmp edx, 0x14d
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], eax
je 0x101ab605
jmp 0x101ab813