Function at 0x14a86ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x41c5d8
call fcn.014a9b3c
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x14a86e2
mov eax, dword [ebp - 0x1c]
jmp 0x14a8a5c
cmp dword [ebp + 0x14], 0
jne 0x14a86f2
mov eax, 3
jmp 0x14a8a5c
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.014b01ed
add esp, 4
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x234], 8
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x33c]
push eax
push 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x210
push ecx
push 2
call fcn.014a264c
add esp, 0x14
mov dword [ebp - 0x234], 8
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x22c]
push eax
push 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x314
push ecx
push 2
call fcn.014a264c
add esp, 0x14
mov edx, dword [ebp - 0x33c]
xor edx, dword [ebp - 0x22c]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x338]
xor eax, dword [ebp - 0x228]
mov dword [ebp - 0x120], eax
xor ecx, ecx
jne 0x14a877d
push 0x104
push 0
lea edx, [ebp - 0x340]
push edx
call fcn.014b025c
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.014b025c
add esp, 0xc
xor ecx, ecx
jne 0x14a8721
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 8
lea eax, [ebp - 0x124]
push eax
push 2
call fcn.014aa29c
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x100
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.014b025c
add esp, 0xc
xor edx, edx
jne 0x14a8721
cmp dword [ebp - 0x1c], 0
je 0x14a882b
mov eax, dword [ebp - 0x1c]
jmp 0x14a8a5c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.014a8a6c
add esp, 4
test eax, eax
je 0x14a890e
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jbe 0x14a887a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.014b01ed
add esp, 4
mov dword [ebp - 0x670], eax
mov eax, dword [ebp - 0x670]
mov dword [ebp - 0x344], eax
jmp 0x14a8884
mov dword [ebp - 0x344], 0
mov ecx, dword [ebp - 0x344]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.014a8afc
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
add edx, 0x10
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.014b01ed
add esp, 4
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
mov dword [ebp - 0x14], ecx
push 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.014b03bc
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x344]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.014b03bc
add esp, 0xc
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x678], edx
mov eax, dword [ebp - 0x678]
push eax
call fcn.014b01e8
add esp, 4
jmp 0x14a8922
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 4
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov dword [ebp - 0x55c], 8
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x664]
push ecx
push 8
mov edx, dword [ebp - 0x18]
add edx, 0x210
push edx
push 2
call fcn.014a264c
add esp, 0x14
mov dword [ebp - 0x55c], 8
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x554]
push ecx
push 8
mov edx, dword [ebp - 0x18]
add edx, 0x314
push edx
push 2
call fcn.014a264c
add esp, 0x14
mov eax, dword [ebp - 0x664]
xor eax, dword [ebp - 0x554]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x660]
xor ecx, dword [ebp - 0x550]
mov dword [ebp - 0x448], ecx
xor edx, edx
jne 0x14a897e
push 0x104
push 0
lea eax, [ebp - 0x668]
push eax
call fcn.014b025c
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x558]
push ecx
call fcn.014b025c
add esp, 0xc
xor edx, edx
jne 0x14a8922
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 8
lea ecx, [ebp - 0x44c]
push ecx
push 1
call fcn.014aa29c
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x100
push 0
lea edx, [ebp - 0x44c]
push edx
call fcn.014b025c
add esp, 0xc
xor eax, eax
jne 0x14a8922
cmp dword [ebp - 0x10], 0
je 0x14a8a3c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x67c], ecx
mov edx, dword [ebp - 0x67c]
push edx
call fcn.014b01e8
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x14a8a5a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x680], eax
mov ecx, dword [ebp - 0x680]
push ecx
call fcn.014b01e8
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret