Function at 0x301407b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1e8]
push edi
xor edi, edi
cmp dword [ebp + 0x20], 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 8], edi
mov dword [eax], edi
jle 0x30140806
lea eax, [ebp - 4]
push eax
push edi
push 4
push dword [ebp + 0x20]
xor ebx, ebx
push dword [esi + 8]
inc ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
call fcn.3011a9ef
cmp eax, edi
je 0x30140806
push eax
push dword [ebp - 4]
push ebx
jmp 0x30140a80
mov ebx, dword [ebp + 0x40]
push ebx
push dword [ebp + 0x48]
mov eax, dword [esi]
push dword [ebp + 0x44]
push dword [ebp - 4]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x24]
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x98]
cmp eax, edi
je 0x30140840
push eax
jmp 0x30140a7a
mov eax, dword [ebx]
cmp eax, edi
jg 0x3014084d
push 0xffffffffffffffff
jmp 0x30140a7a
cmp eax, 0x78
jle 0x301408c6
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x58]
mov dword [eax], 1
mov eax, dword [ebp + 0x50]
mov dword [eax], edi
mov dword [ecx], edi
mov ecx, dword [ebp + 0x54]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x5c]
push eax
mov dword [ecx], edi
mov ecx, dword [ebp + 0x60]
push edi
push 4
mov dword [ecx], edi
push dword [ebx]
push dword [esi + 8]
call fcn.3011a9ef
cmp eax, edi
jne 0x3014083a
push dword [ebp + 0x54]
push edi
push 4
push dword [ebx]
push dword [esi + 8]
call fcn.3011a9ef
cmp eax, edi
jne 0x3014083a
push dword [ebp + 0x5c]
push edi
push 8
push dword [ebx]
push dword [esi + 8]
call fcn.3011a9ef
cmp eax, edi
jne 0x3014083a
push dword [ebp + 0x60]
push edi
push 1
push dword [ebx]
push dword [esi + 8]
call fcn.3011a9ef
cmp eax, edi
jne 0x3014083a
mov eax, dword [ebx]
shl eax, 2
push eax
mov eax, dword [ebp + 0x54]
push edi
push dword [eax]
call sub.MSVCR80.dll_memset
push dword [ebx]
mov eax, dword [ebp + 0x60]
push edi
push dword [eax]
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x60]
add esp, 0x18
push dword [eax]
push dword [ebp + 0x34]
push dword [ebx]
push dword [ebp + 0x20]
push dword [ebp + 0x38]
call fcn.3012c509
cmp eax, edi
jne 0x3014083a
cmp dword [ebp + 0x20], edi
jle 0x3014092f
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
sub ecx, eax
mov dword [ebp + 8], edx
mov edx, dword [ecx + eax]
shl edx, 0x11
xor edx, dword [eax]
and edx, 0x20000
xor dword [eax], edx
add eax, 4
dec dword [ebp + 8]
jne 0x30140917
mov ecx, dword [ebp + 0x5c]
push dword [ecx]
mov ecx, dword [ebp + 0x50]
push dword [ecx]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 0x14]
mov eax, dword [esi]
push dword [ebx]
push dword [ecx]
mov ecx, dword [ebp + 0x44]
push dword [ecx]
push dword [ebp + 0x20]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x9c]
cmp eax, edi
jne 0x3014083a
cmp dword [esi + 0xc0], edi
je 0x30140a00
mov eax, dword [ebp + 0x4c]
cmp dword [eax], edi
je 0x3014099d
push dword [ebp + 0x58]
push edi
push 4
push dword [ebx]
push dword [esi + 8]
call fcn.3011a9ef
cmp eax, edi
jne 0x3014083a
cmp dword [esi + 0xc4], edi
jne 0x301409e8
mov ecx, dword [ebp + 0x5c]
push dword [ecx]
mov ecx, dword [ebp + 0x58]
push dword [ecx]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 0x14]
mov eax, dword [esi]
push dword [ebx]
push dword [ecx]
mov ecx, dword [ebp + 0x44]
push dword [ecx]
push dword [ebp + 0x20]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x24]
push edi
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x9c]
cmp eax, edi
je 0x30140a00
jmp 0x3014083a
mov eax, dword [ebx]
shl eax, 2
push eax
mov eax, dword [ebp + 0x50]
push dword [eax]
mov eax, dword [ebp + 0x58]
push dword [eax]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x1c]
test byte [eax + 8], 2
je 0x30140a45
mov eax, dword [ebp + 0x60]
push dword [eax]
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x34]
mov ecx, dword [ebp + 0x28]
push dword [eax]
mov eax, dword [ebp + 0x50]
push dword [eax]
mov eax, dword [ebp + 0x18]
push dword [ebx]
mov ebx, dword [ebp + 0x20]
push dword [ebp + 0x24]
push dword [eax + ecx*4 - 4]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.3014038b
cmp eax, edi
jne 0x3014083a
push dword [ebp + 0x64]
mov eax, dword [ebp + 0x60]
push dword [eax]
mov eax, dword [ebp + 0x54]
push dword [eax]
mov eax, dword [ebp + 0x50]
push dword [eax]
mov ecx, dword [ebp + 0x6c]
push dword [ebp + 0x30]
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.30140484
cmp eax, edi
jne 0x3014083a
push edi
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, esi
call fcn.3014062b
pop edi
pop esi
pop ebx
leave
ret 0x68