Function at 0x3bec3c0
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 + 0x6d8]
call eax
push eax
mov eax, dword [esi + 0x6d4]
call eax
mov edi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x3bec3fc
mov ecx, dword [esi + 0x6e0]
push edi
call ecx
push ebx
push esi
call fcn.03bebc30
mov eax, dword [esi + 0x6d8]
add esp, 8
push 0x500
push 0
call eax
push eax
mov eax, dword [esi + 0x6d4]
call eax
mov ebx, eax
test ebx, ebx
jne 0x3bec42d
mov ecx, dword [esi + 0x6e0]
push edi
call ecx
cmp word [esi + 0x228], 0
je 0x3bec68a
mov dword [ebp - 0x54], 0xd7b3
mov eax, dword [ebp - 0x54]
xor eax, 0x53
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x54]
inc eax
xor eax, 0x65
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x54]
add eax, 2
xor eax, 0x63
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x54]
add eax, 3
xor eax, 0x75
mov word [ebp - 0x4a], ax
mov eax, dword [ebp - 0x54]
add eax, 4
xor eax, 0x72
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x54]
add eax, 5
xor eax, 0x69
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x54]
add eax, 6
xor eax, 0x74
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x54]
add eax, 7
xor eax, 0x79
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x54]
add eax, 8
xor eax, 0x20
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x54]
add eax, 9
xor eax, 0x45
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x54]
add eax, 0xa
xor eax, 0x72
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x54]
add eax, 0xb
xor eax, 0x72
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x54]
add eax, 0xc
xor eax, 0x6f
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x54]
add eax, 0xd
xor eax, 0x72
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x54]
add eax, 0xe
xor eax, 0x3a
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x54]
add eax, 0xf
xor eax, 0x20
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x54]
add eax, 0x10
xor eax, 0x25
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x54]
add eax, 0x11
xor eax, 0x30
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x54]
add eax, 0x12
xor eax, 0x38
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x54]
add eax, 0x13
xor eax, 0x58
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x54]
add eax, 0x14
xor eax, 0x2d
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x54]
add eax, 0x15
xor eax, 0x25
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x54]
add eax, 0x16
xor eax, 0x30
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x54]
add eax, 0x17
xor eax, 0x38
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x54]
add eax, 0x18
xor eax, 0x78
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x54]
add eax, 0x19
xor eax, 0xd
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1a
xor eax, 0xa
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1b
xor eax, 0xd
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1c
xor eax, 0xa
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1d
xor eax, 0x25
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1e
xor eax, 0x6c
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x54]
add eax, 0x1f
xor eax, 0x73
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x54]
add eax, 0x20
xor eax, 0xd
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x54]
add eax, 0x21
xor eax, 0xa
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x54]
add eax, 0x22
xor eax, 0xd
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x54]
add eax, 0x23
xor eax, 0xa
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x54]
add eax, 0x24
xor eax, 0x25
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x54]
add eax, 0x25
xor eax, 0x6c
mov word [ebp - 6], ax
mov eax, dword [ebp - 0x54]
add eax, 0x26
xor eax, 0x73
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]
mov ecx, dword [ebp - 0x54]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x50], cx
inc edx
cmp edx, 0x27
jb 0x3bec644
xor eax, eax
mov word [ebp - 2], ax
lea eax, [esi + 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push dword [esi + 0x224]
push edi
push eax
mov eax, dword [esi + 0x768]
push ebx
call eax
add esp, 0x18
jmp 0x3bec916
mov dword [ebp - 0x9c], 0xb572
mov eax, dword [ebp - 0x9c]
xor eax, 0x53
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0x9c]
inc eax
xor eax, 0x65
mov word [ebp - 0x96], ax
mov eax, dword [ebp - 0x9c]
add eax, 2
xor eax, 0x63
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x9c]
add eax, 3
xor eax, 0x75
mov word [ebp - 0x92], ax
mov eax, dword [ebp - 0x9c]
add eax, 4
xor eax, 0x72
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0x9c]
add eax, 5
xor eax, 0x69
mov word [ebp - 0x8e], ax
mov eax, dword [ebp - 0x9c]
add eax, 6
xor eax, 0x74
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x9c]
add eax, 7
xor eax, 0x79
mov word [ebp - 0x8a], ax
mov eax, dword [ebp - 0x9c]
add eax, 8
xor eax, 0x20
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x9c]
add eax, 9
xor eax, 0x45
mov word [ebp - 0x86], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xa
xor eax, 0x72
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xb
xor eax, 0x72
mov word [ebp - 0x82], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xc
xor eax, 0x6f
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xd
xor eax, 0x72
mov word [ebp - 0x7e], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xe
xor eax, 0x3a
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x9c]
add eax, 0xf
xor eax, 0x20
mov word [ebp - 0x7a], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x10
xor eax, 0x25
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x11
xor eax, 0x30
mov word [ebp - 0x76], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x12
xor eax, 0x38
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x13
xor eax, 0x58
mov word [ebp - 0x72], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x14
xor eax, 0x2d
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x15
xor eax, 0x25
mov word [ebp - 0x6e], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x16
xor eax, 0x30
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x17
xor eax, 0x38
mov word [ebp - 0x6a], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x18
xor eax, 0x78
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x19
xor eax, 0xd
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1a
xor eax, 0xa
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1b
xor eax, 0xd
mov word [ebp - 0x62], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1c
xor eax, 0xa
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1d
xor eax, 0x25
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1e
xor eax, 0x6c
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x9c]
add eax, 0x1f
xor eax, 0x73
mov word [ebp - 0x5a], ax
xor eax, eax
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x98]
xor eax, eax
nop dword [eax]
nop word [eax + eax]
mov cx, word [ebp + eax*2 - 0x98]
mov edx, dword [ebp - 0x9c]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0x98], dx
inc eax
cmp eax, 0x20
jb 0x3bec8d0
push dword [ebp + 8]
xor eax, eax
push dword [esi + 0x224]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x98]
push edi
push eax
mov eax, dword [esi + 0x768]
push ebx
call eax
add esp, 0x14
push 0xa0
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.03bebe50
add esp, 0xc
lea eax, [ebp - 0x13c]
push 0x10
push eax
mov eax, dword [esi + 0x764]
push ebx
push 0
call eax
mov eax, dword [esi + 0x6e0]
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8