Function at 0x12db600
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 0xe1633a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0x13], 0x28
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x3b], 0xd7d0c6d0
mov dword [ebp - 0x37], 0xceb9ddc3
mov dword [ebp - 0x33], 0xdbd1deda
mov word [ebp - 0x2f], 0xbf
mov byte [ebp - 0x2d], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xd
jb 0x12db675
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12db690
mov esi, 0x7fffffff
sub ecx, edx
mov edx, dword [ebx + 0x30]
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x12dbcb9
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push edx
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
lea eax, [ebp - 0x3b]
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.01315f90
mov dword [ebp - 0x18], 2
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8c]
call fcn.0130e260
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x18], 7
cmp ecx, 0x10
jb 0x12db75f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12db755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcbe
push ecx
push edx
call fcn.01385783
add esp, 8
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebx + 8]
call fcn.012bccf0
test eax, eax
jne 0x12dbc09
mov dword [ebp - 0x14], 0x100afba
xor ecx, ecx
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0x12db783
movaps xmm0, xmmword [0xe35790]
xor ecx, ecx
mov byte [ebp - 0x11], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x1008ccc
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0x12
jb 0x12db7a8
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x2d], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12db7c0
sub ecx, edx
mov edx, dword [ebx + 0x30]
sub esi, edx
cmp esi, ecx
jb 0x12dbcc3
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push edx
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.01315f90
mov dword [ebp - 0x18], 0x17
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x74]
call fcn.0130e260
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], 0x1f
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x12db881
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12db877
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcc8
push ecx
push edx
call fcn.01385783
add esp, 8
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x5c]
cmovae edx, dword [ebp - 0x5c]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.0136ae90
mov esi, dword [ebp - 0x24]
add esp, 0x14
test eax, eax
jne 0x12dbb4e
mov dword [ebp - 0x20], 0
mov ecx, esi
call fcn.013477c0
cmp eax, 0x64
jne 0x12dbb4e
mov eax, 1
test esi, esi
je 0x12db92c
cmp dword [esi + 0x2c], 0
je 0x12db907
cmp ax, word [esi + 0x30]
jae 0x12db907
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x12db8ff
push eax
call dword [0xe43d30]
add esp, 4
mov ecx, dword [esi + 0x2c]
add ecx, 0x28
jmp 0x12db931
mov eax, dword [esi]
test eax, eax
je 0x12db92c
mov eax, dword [eax + 0x44]
test eax, eax
je 0x12db91e
push eax
call dword [0xe43d30]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.01336170
add esp, 0xc
mov ecx, 0xe2e4d8
mov dl, 1
call fcn.01344690
mov edi, eax
mov dword [ebp - 0x24], edi
test esi, esi
je 0x12db997
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x12db977
cmp byte [edi + 0x1e], 0
jne 0x12db95a
mov edx, edi
cmp ecx, 0xc0a
jne 0x12db972
push 0
push 7
push edi
call fcn.01336170
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x12db97e
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x12db994
push eax
call dword [0xe43d38]
add esp, 4
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0
jne 0x12db9ab
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.0130e260
jmp 0x12dbaa0
mov ecx, edi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12db9c5
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.012ab030
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x14], 0x100b4bf
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0x12db9e5
lea eax, [ebp - 0x44]
mov byte [ebp - 0x11], 0
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x8c]
call fcn.013123b0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0130e2d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x12dba53
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dba49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcbe
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0x10
jb 0x12dbaa0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dba96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcbe
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, edi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12dbac0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.012ab030
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x12dbb02
movups xmm0, xmmword [ebp - 0x44]
mov ecx, 0xf
mov byte [ebp - 0x44], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x12dbb11
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, edi
call fcn.0131b140
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x12dbb46
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dbb3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbccd
push ecx
push edx
call fcn.01385783
add esp, 8
inc dword [ebp - 0x20]
jmp 0x12db8c7
test esi, esi
je 0x12dbbc6
mov edi, dword [esi]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x12dbb68
push eax
call dword [0xe43d30]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x24], 0
cmp eax, 0xbdf20da3
je 0x12dbb80
cmp eax, 0x519c2973
jne 0x12dbb8a
mov ecx, esi
call fcn.013465c0
mov dword [ebp - 0x24], eax
mov ecx, esi
call fcn.013467d0
test edi, edi
je 0x12dbbb5
cmp byte [edi + 0x1e], 0
jne 0x12dbba4
cmp dword [ebp - 0x24], 0xc0a
jne 0x12dbbb5
push 0
push 7
push edi
call fcn.01336170
add esp, 0xc
mov byte [edi + 0x1e], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x12dbbc6
push eax
call dword [0xe43d38]
add esp, 4
mov ecx, dword [ebp - 0x28]
call fcn.012bd120
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x12dbc06
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dbbfc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbccd
push ecx
push edx
call fcn.01385783
add esp, 8
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x100afba
xor ecx, ecx
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0x12dbc12
lea eax, [ebp - 0x14]
mov byte [ebp - 0x11], 0
push eax
mov ecx, edi
call fcn.0130e260
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x12dbc62
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dbc58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcd2
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x12dbca4
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12dbc9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12dbcd2
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.012aa840
call fcn.0138aa20
call fcn.012aa840
call fcn.0138aa20
call fcn.0138aa20
call fcn.0138aa20
int3