Function at 0x135c3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
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 0x135c41c
mov ecx, dword [esi + 0x6e4]
push edi
call ecx
push ebx
push esi
call fcn.0135bc90
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 0x135c44d
mov ecx, dword [esi + 0x6e4]
push edi
call ecx
cmp word [esi + 0x22c], 0
lea edx, [esi + 0x22c]
je 0x135c60f
mov eax, 0x5d
mov ecx, 0x2a
mov word [ebp - 0x98], ax
mov eax, 0x6f
mov word [ebp - 0x96], ax
mov eax, 0x6d
mov word [ebp - 0x94], ax
mov eax, 0x7f
mov word [ebp - 0x92], ax
mov eax, 0x7c
mov word [ebp - 0x90], ax
mov eax, 0x73
mov word [ebp - 0x8e], ax
mov eax, 0x7e
mov word [ebp - 0x8c], ax
mov eax, 0x83
mov word [ebp - 0x8a], ax
mov eax, 0x4f
mov word [ebp - 0x88], cx
mov word [ebp - 0x86], ax
mov eax, 0x7c
mov word [ebp - 0x84], ax
mov word [ebp - 0x82], ax
mov eax, 0x79
mov word [ebp - 0x80], ax
mov eax, 0x7c
mov word [ebp - 0x7e], ax
mov eax, 0x44
mov word [ebp - 0x7c], ax
mov eax, 0x2f
mov word [ebp - 0x7a], cx
mov ecx, 0x42
mov word [ebp - 0x78], ax
mov eax, 0x3a
mov word [ebp - 0x76], ax
mov eax, 0x62
mov word [ebp - 0x74], cx
mov word [ebp - 0x72], ax
mov eax, 0x37
mov word [ebp - 0x70], ax
mov eax, 0x2f
mov word [ebp - 0x6e], ax
mov eax, 0x3a
mov word [ebp - 0x6c], ax
mov eax, 0x82
mov word [ebp - 0x6a], cx
mov ecx, 0x17
mov word [ebp - 0x68], ax
mov eax, 0x14
mov word [ebp - 0x66], cx
mov word [ebp - 0x64], ax
mov word [ebp - 0x62], cx
mov word [ebp - 0x60], ax
mov eax, 0x2f
mov word [ebp - 0x5e], ax
mov eax, 0x76
mov word [ebp - 0x5c], ax
mov eax, 0x7d
mov word [ebp - 0x5a], ax
mov eax, 0x14
mov word [ebp - 0x58], cx
mov word [ebp - 0x56], ax
mov word [ebp - 0x54], cx
mov word [ebp - 0x52], ax
mov eax, 0x2f
mov word [ebp - 0x50], ax
mov eax, 0x76
mov word [ebp - 0x4e], ax
mov eax, 0x7d
mov word [ebp - 0x4c], ax
xor eax, eax
mov word [ebp - 0x4a], ax
xor ecx, ecx
mov ax, word [ebp - 0x98]
nop dword [eax + eax]
mov ax, word [ebp + ecx*2 - 0x98]
movzx eax, ax
add eax, 0xfffffff6
mov word [ebp + ecx*2 - 0x98], ax
inc ecx
cmp ecx, 0x27
jb 0x135c5d0
push edx
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push dword [esi + 0x228]
push edi
push eax
mov eax, dword [esi + 0x770]
push ebx
call eax
add esp, 0x18
jmp 0x135c759
mov dword [ebp - 0x48], 0x63fe
mov eax, 0x63ad
mov word [ebp - 0x44], ax
mov edx, 0x638c
mov eax, 0x639b
mov ecx, 0x63de
mov word [ebp - 0x42], ax
mov eax, 0x639d
mov word [ebp - 0x40], ax
mov eax, 0x638b
mov word [ebp - 0x3e], ax
mov eax, 0x6397
mov word [ebp - 0x3c], dx
mov word [ebp - 0x3a], ax
mov eax, 0x638a
mov word [ebp - 0x38], ax
mov eax, 0x6387
mov word [ebp - 0x36], ax
mov eax, 0x63bb
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], ax
mov eax, 0x6391
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], dx
mov word [ebp - 0x2c], ax
mov eax, 0x63c4
mov word [ebp - 0x2a], dx
mov edx, 0x63ce
mov word [ebp - 0x28], ax
mov eax, 0x63db
mov word [ebp - 0x26], cx
mov ecx, 0x63c6
mov word [ebp - 0x24], ax
mov eax, 0x63a6
mov word [ebp - 0x22], dx
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], ax
mov eax, 0x63d3
mov word [ebp - 0x1c], ax
mov eax, 0x63db
mov word [ebp - 0x1a], ax
mov eax, 0x6386
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], cx
mov ecx, 0x63f3
mov word [ebp - 0x14], ax
mov eax, 0x63f4
mov word [ebp - 0x12], cx
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], cx
mov word [ebp - 0xc], ax
mov eax, 0x63db
mov word [ebp - 0xa], ax
mov eax, 0x6392
mov word [ebp - 8], ax
mov eax, 0x638d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
xor edx, edx
mov ax, word [ebp - 0x44]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x44]
movzx ecx, ax
movzx eax, word [ebp - 0x48]
xor ecx, eax
mov word [ebp + edx*2 - 0x44], cx
inc edx
cmp edx, 0x20
jb 0x135c720
push dword [ebp + 8]
xor eax, eax
push dword [esi + 0x228]
mov word [ebp - 4], ax
lea eax, [ebp - 0x44]
push edi
push eax
mov eax, dword [esi + 0x770]
push ebx
call eax
add esp, 0x14
push 0xa0
lea eax, [ebp - 0x138]
push eax
push esi
call fcn.0135bea0
add esp, 0xc
lea eax, [ebp - 0x138]
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