Function at 0x12c88c2
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe149ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc0
push esi
mov esi, ecx
mov byte [ebp - 0x11], dl
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1b], 0xa5a5e5
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x12c88e0
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x12c88f7
mov edi, dword [ebx + 0x34]
lea eax, [ebp - 0x1b]
sub edx, ecx
cmp edi, 0x10
push edx
mov edx, dword [ebx + 0x30]
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push eax
push 0
call fcn.01313bc0
add esp, 0xc
test eax, eax
je 0x12c897c
mov dword [ebp - 0x1b], 0xa4a5e5
xor ecx, ecx
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x12c8930
lea esi, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x12c8947
mov edx, dword [ebx + 0x30]
lea eax, [ebp - 0x1b]
sub esi, ecx
cmp edi, 0x10
push esi
push eax
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push 0
call fcn.01313bc0
add esp, 0xc
test eax, eax
je 0x12c8979
mov byte [ebp - 0x11], 0
jmp 0x12c8e77
mov esi, dword [ebp - 0x24]
mov eax, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, 5
jb 0x12c8eff
add eax, 0xfffffffb
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x58]
push eax
call fcn.012ab030
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x12c89f5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c89eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push ecx
push edx
call fcn.01385783
add esp, 8
movq xmm0, qword [ebp - 0x48]
movups xmm1, xmmword [ebp - 0x58]
mov dword [ebp - 0x60], 0
movq qword [ebx + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebx + 8], xmm1
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebp - 0x70]
movd eax, xmm1
cmovae ecx, eax
push ecx
call fcn.012c8760
add esp, 4
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebx + 8]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push eax
call fcn.0130e130
cmp byte [ebp - 0x11], 0
lea edx, [ebx + 8]
je 0x12c8b17
cmp dword [ebx + 0x1c], 0x10
lea edi, [ebx + 0x20]
mov esi, dword [ebx + 0x30]
cmovae edx, dword [ebx + 8]
cmp dword [ebx + 0x34], 0x10
cmovae edi, dword [ebx + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push dword [ebx + 0x18]
call fcn.012aa850
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, edi
push esi
call fcn.012aa850
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.012c8270
add esp, 0x30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x12c8ad6
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
cmp edx, eax
je 0x12c8ad4
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, edx
push eax
call fcn.0130e130
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov ecx, dword [ebp - 0x2c]
setne byte [ebp - 0x11]
cmp ecx, 0x10
jb 0x12c8e40
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8b08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f04
push ecx
push edx
call fcn.01385783
add esp, 8
jmp 0x12c8e40
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebp - 0xb8]
push dword [ebx + 0x18]
cmovae edx, dword [ebx + 8]
mov word [ebp - 0x23], 0x2a
mov byte [ebp - 0x21], 0
call fcn.012aa850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebx + 0x30]
cmovae edx, dword [ebx + 0x20]
mov word [ebp - 0x27], 0x5f
mov byte [ebp - 0x25], 0
call fcn.012aa850
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x20], 0xaed6dad6
mov dword [ebp - 0x1c], 0xc5b3abae
mov word [ebp - 0x18], 0x100
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 8
jb 0x12c8b82
push edx
lea edx, [ebp - 0x20]
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x88]
call fcn.013123b0
add esp, 4
lea ecx, [ebp - 0x27]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.0130e260
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1a]
lea ecx, [ebp - 0x58]
call fcn.01315da0
lea eax, [ebp - 0x23]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x58]
call fcn.0130e260
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x12c8c5d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8c53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f09
push ecx
push edx
call fcn.01385783
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x12c8cad
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f09
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x12c8ce8
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8cde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f09
push ecx
push edx
call fcn.01385783
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x12c8d3b
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8d31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f09
push ecx
push edx
call fcn.01385783
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x12c8d94
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8d8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f09
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
test ecx, ecx
je 0x12c8e08
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x12c8dce
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0130e130
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x12c8e02
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 0x11], 1
jmp 0x12c8e40
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x12c8e3c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8e32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x12c8e74
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8e6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push ecx
push edx
call fcn.01385783
add esp, 8
mov edi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x12c8eaa
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8e9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push ecx
push edx
call fcn.01385783
mov edi, dword [ebx + 0x34]
add esp, 8
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edi, 0x10
jb 0x12c8ee9
mov ecx, dword [ebx + 0x20]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x12c8edf
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8f0e
push edi
push ecx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.01311b10
call fcn.0138aa20
call fcn.0138aa20
call fcn.0138aa20
int3