Function at 0x134c5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x500
push 0
mov eax, dword [esi + 0x6dc]
call eax
push eax
mov eax, dword [esi + 0x6d8]
call eax
mov edi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x134c5dc
mov ecx, dword [esi + 0x6e4]
push edi
call ecx
push ebx
push esi
call fcn.0134be20
mov eax, dword [esi + 0x6dc]
add esp, 8
push 0x500
push 0
call eax
push eax
mov eax, dword [esi + 0x6d8]
call eax
mov ebx, eax
test ebx, ebx
jne 0x134c60d
mov ecx, dword [esi + 0x6e4]
push edi
call ecx
cmp word [esi + 0x22c], 0
je 0x134c796
mov dword [ebp - 0x54], 0x9f0e
mov eax, 0x9f5d
mov word [ebp - 0x50], ax
mov edx, 0x9f7c
mov eax, 0x9f6b
mov ecx, 0x9f2e
mov word [ebp - 0x4e], ax
mov eax, 0x9f6d
mov word [ebp - 0x4c], ax
mov eax, 0x9f7b
mov word [ebp - 0x4a], ax
mov eax, 0x9f67
mov word [ebp - 0x48], dx
mov word [ebp - 0x46], ax
mov eax, 0x9f7a
mov word [ebp - 0x44], ax
mov eax, 0x9f77
mov word [ebp - 0x42], ax
mov eax, 0x9f4b
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], ax
mov eax, 0x9f61
mov word [ebp - 0x3c], dx
mov word [ebp - 0x3a], dx
mov word [ebp - 0x38], ax
mov eax, 0x9f34
mov word [ebp - 0x36], dx
mov edx, 0x9f3e
mov word [ebp - 0x34], ax
mov eax, 0x9f2b
mov word [ebp - 0x32], cx
mov ecx, 0x9f36
mov word [ebp - 0x30], ax
mov eax, 0x9f56
mov word [ebp - 0x2e], dx
mov word [ebp - 0x2c], cx
mov word [ebp - 0x2a], ax
mov eax, 0x9f23
mov word [ebp - 0x28], ax
mov eax, 0x9f2b
mov word [ebp - 0x26], ax
mov eax, 0x9f76
mov word [ebp - 0x24], dx
mov edx, 0x9f04
mov word [ebp - 0x22], cx
mov ecx, 0x9f62
mov word [ebp - 0x20], ax
mov eax, 0x9f03
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov eax, 0x9f2b
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov eax, 0x9f7d
mov word [ebp - 0x14], cx
mov ecx, 0x9f03
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], cx
mov word [ebp - 0xe], dx
mov word [ebp - 0xc], cx
mov ecx, 0x9f2b
mov word [ebp - 0xa], dx
mov word [ebp - 8], cx
mov ecx, 0x9f62
mov word [ebp - 6], cx
mov word [ebp - 4], ax
xor eax, eax
mov word [ebp - 2], ax
xor edx, edx
mov ax, word [ebp - 0x50]
mov ax, word [ebp + edx*2 - 0x50]
movzx ecx, ax
movzx eax, word [ebp - 0x54]
xor ecx, eax
mov word [ebp + edx*2 - 0x50], cx
inc edx
cmp edx, 0x27
jb 0x134c751
xor eax, eax
mov word [ebp - 2], ax
lea eax, [esi + 0x22c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push dword [esi + 0x228]
push edi
push eax
mov eax, dword [esi + 0x770]
push ebx
call eax
add esp, 0x18
jmp 0x134c915
mov dword [ebp - 0x9c], 0xe418
mov eax, 0xe44b
mov word [ebp - 0x98], ax
mov edx, 0xe46a
mov eax, 0xe47d
mov ecx, 0xe438
mov word [ebp - 0x96], ax
mov eax, 0xe47b
mov word [ebp - 0x94], ax
mov eax, 0xe46d
mov word [ebp - 0x92], ax
mov eax, 0xe471
mov word [ebp - 0x90], dx
mov word [ebp - 0x8e], ax
mov eax, 0xe46c
mov word [ebp - 0x8c], ax
mov eax, 0xe461
mov word [ebp - 0x8a], ax
mov eax, 0xe45d
mov word [ebp - 0x88], cx
mov word [ebp - 0x86], ax
mov eax, 0xe477
mov word [ebp - 0x84], dx
mov word [ebp - 0x82], dx
mov word [ebp - 0x80], ax
mov eax, 0xe422
mov word [ebp - 0x7e], dx
mov edx, 0xe428
mov word [ebp - 0x7c], ax
mov eax, 0xe43d
mov word [ebp - 0x7a], cx
mov ecx, 0xe420
mov word [ebp - 0x78], ax
mov eax, 0xe440
mov word [ebp - 0x76], dx
mov word [ebp - 0x74], cx
mov word [ebp - 0x72], ax
mov eax, 0xe435
mov word [ebp - 0x70], ax
mov eax, 0xe43d
mov word [ebp - 0x6e], ax
mov eax, 0xe460
mov word [ebp - 0x6c], dx
mov word [ebp - 0x6a], cx
mov ecx, 0xe415
mov word [ebp - 0x68], ax
mov eax, 0xe412
mov word [ebp - 0x66], cx
mov word [ebp - 0x64], ax
mov word [ebp - 0x62], cx
mov word [ebp - 0x60], ax
mov eax, 0xe43d
mov word [ebp - 0x5e], ax
mov eax, 0xe474
mov word [ebp - 0x5c], ax
mov eax, 0xe46b
mov word [ebp - 0x5a], ax
xor eax, eax
mov word [ebp - 0x58], ax
xor edx, edx
mov ax, word [ebp - 0x98]
nop dword [eax + eax]
mov ax, word [ebp + edx*2 - 0x98]
movzx ecx, ax
movzx eax, word [ebp - 0x9c]
xor ecx, eax
mov word [ebp + edx*2 - 0x98], cx
inc edx
cmp edx, 0x20
jb 0x134c8d0
push dword [ebp + 8]
xor eax, eax
push dword [esi + 0x228]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x98]
push edi
push eax
mov eax, dword [esi + 0x770]
push ebx
call eax
add esp, 0x14
push 0xa0
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.0134c020
add esp, 0xc
lea eax, [ebp - 0x13c]
push 0x10
push eax
mov eax, dword [esi + 0x76c]
push ebx
push 0
call eax
mov eax, dword [esi + 0x6e4]
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8