Function at 0x1014a350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b23ad
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x10373f78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x514]
mov edi, dword [eax + 0x510]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x1c], ecx
cmp eax, 4
jae 0x1014a56c
mov esi, 0x4d0
push esi
call fcn.10264bfb
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
push esi
lea eax, [edi + esi]
mov dword [ebp - 0x2c], edi
push 0
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
call fcn.10267270
lea eax, [edi + esi]
mov dword [ebp - 0x10], edi
add esp, 0xc
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x14]
mov ecx, 0x134
add esi, 0x40
mov dword [ebp - 4], 1
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x514]
sub eax, dword [edi + 0x510]
sar eax, 2
test eax, eax
je 0x1014a51f
push 0x30
lea eax, [ebp - 0x74]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 0x84], xmm0
call fcn.10267270
add esp, 0xc
mov dword [ebp - 0x44], 0xfffffb30
mov ecx, edi
call fcn.101496f0
mov ecx, edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0xfffffb30
mov dword [ebp - 0x38], 0x4d0
mov dword [ebp - 0x34], 0x40
call fcn.101496f0
mov esi, dword [ebp - 0x10]
sub eax, 0x510
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0x550
movups xmmword [esi + 0x4d0], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x4e0], xmm0
mov ecx, dword [edi + 0x514]
mov eax, dword [edi + 0x510]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x1014a4de
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx ecx, al
xor edx, edx
xor eax, eax
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
mov ecx, dword [ebp - 0x10]
cmovae edx, eax
or dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
or edi, edx
add eax, esi
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x20]
jne 0x1014a485
mov dword [ebp - 0x80], edi
mov eax, dword [ebp - 0x84]
or edi, 0x80000000
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edi
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [esi + 0x510], xmm0
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [esi + 0x520], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [esi + 0x530], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [esi + 0x540], xmm0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub edx, esi
mov eax, dword [ecx]
push edx
push esi
mov eax, dword [eax + 4]
call eax
test al, al
setne al
mov byte [ebp + 0xb], al
test esi, esi
je 0x1014a5f7
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1014a5ea
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014a60a
jmp 0x1014a5ea
mov dword [ebp - 4], 0xffffffff
mov esi, 0x550
cmp edi, ecx
je 0x1014a593
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
add edi, 4
add esi, eax
cmp edi, dword [ebp - 0x1c]
jne 0x1014a580
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], edi
test esi, esi
je 0x1014a3cc
cmp esi, 0x7fffffff
ja 0x1014a60f
cmp esi, 0x1000
jb 0x1014a39d
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1014a614
push eax
call fcn.10264bfb
add esp, 4
test eax, eax
je 0x1014a60a
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [ebp - 0x18], edi
mov dword [edi - 4], eax
jmp 0x1014a3ab
push ecx
push esi
call fcn.1026505f
mov al, byte [ebp + 0xb]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.10275373
call fcn.100527d0
call fcn.10047c20
int3