Function at 0x12ea0f0
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 0xe17410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x4e0
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x20], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
push 0x64000
mov dword [ebp - 0x20], 1
call fcn.01385791
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x3c], xmm0
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push esi
push 0
push 0x1fffff
mov dword [ebp - 4], 1
push eax
call 0x144ed19
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x12ea1f2
push dword [ebp - 0x24]
call fcn.013857c2
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x12ea1dd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea1d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12ea6ce
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
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.01387760
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push 0
push 0
mov ecx, esi
call fcn.012e9ec0
add esp, 0x18
mov ecx, eax
add ecx, 0x208
mov dword [ebp - 0x44], ecx
mov ecx, edx
adc ecx, 0
mov dword [ebp - 0x48], ecx
test edx, edx
jne 0x12ea24d
test eax, eax
je 0x12ea691
test edx, edx
jne 0x12ea24d
cmp eax, 0xffff
jbe 0x12ea263
push 0
push 0x208
lea ecx, [ebp - 0x2e8]
push ecx
push eax
push esi
push eax
call 0x152c2e9
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12ea270
sub ecx, edx
lea eax, [ebp - 0x2e8]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0130e130
cmp dword [ebp - 0x2c], 0x12c
jbe 0x12ea663
xorps xmm0, xmm0
push 0x50
movups xmmword [ebp - 0x60], xmm0
call fcn.01385502
movups xmm0, xmmword [0xe30c88]
mov esi, eax
mov dword [ebp - 0x50], 0x41
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], 0x4f
movups xmmword [esi], xmm0
movups xmm0, xmmword [0xe30c98]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0xe30ca8]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0xe30cb8]
movups xmmword [esi + 0x30], xmm0
mov al, byte [0xe30cc8]
mov byte [esi + 0x40], al
mov byte [esi + 0x41], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
push 0x41
push esi
push ecx
call fcn.01313ac0
mov ecx, eax
add esp, 0xc
lea eax, [ebp - 0x3c]
cmp ecx, 0xffffffff
je 0x12ea35d
cmp dword [ebp - 0x2c], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
cmovb ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.012ab030
or dword [ebp - 0x20], 6
jmp 0x12ea36d
push eax
lea ecx, [ebp - 0xac]
call fcn.0130e550
or dword [ebp - 0x20], 2
push 0x50
push esi
call fcn.01385783
add esp, 8
cmp dword [ebp - 0x9c], 0
je 0x12ea626
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0xb4], esp
push 1
movups xmmword [esi], xmm0
push 0xe3081c
push esi
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
call fcn.013871e0
add esp, 0xc
mov byte [esi + 1], 0
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0xe36a70]
movups xmmword [ebp - 0x92], xmm0
mov dword [ebp - 0x72], 0xf3e7e3e1
movaps xmm0, xmmword [0xe366b0]
movups xmmword [ebp - 0x82], xmm0
mov dword [ebp - 0x6e], 0xd3fc88e2
mov dword [ebp - 0x6a], 0x908df4f2
mov word [ebp - 0x66], 0x100
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x92], al
inc ecx
cmp ecx, 0x2c
jb 0x12ea3f5
sub esp, 0x18
mov byte [ebp - 0x65], 0
mov edx, esp
mov dword [ebp - 0xb8], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x92]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12ea432
sub ecx, esi
lea eax, [ebp - 0x92]
push ecx
push eax
mov ecx, edx
call fcn.012ab030
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0130e550
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.012e99e0
add esp, 0x48
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.012aad40
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x12ea4b4
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea4aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12ea6ce
push ecx
push edx
call fcn.01385783
add esp, 8
sub esp, 0x28
mov dword [ebp - 0x50], 0
mov eax, esp
mov dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0xe0]
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0xc8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.01312990
add esp, 0x30
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x16], 0xe6e7fa
mov byte [ebp - 0x12], 1
nop dword [eax + eax]
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 3
jb 0x12ea500
lea eax, [ebp - 0x16]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.01312600
cmp byte [eax], 3
jne 0x12ea5dd
mov dword [ebp - 0x1b], 0xe6e7fa
xor eax, eax
mov byte [ebp - 0x17], 1
lea ecx, [eax - 0x6d]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 3
jb 0x12ea537
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.01312600
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.01312740
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x12ea56d
mov eax, dword [eax]
push 5
push 0xe30d54
mov ecx, eax
call fcn.0131e290
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x12ea5b8
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea5ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12ea6ce
push ecx
push edx
call fcn.01385783
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x12ea5dd
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [edi + 8]
je 0x12ea5d5
mov ecx, eax
call fcn.0130e550
add dword [edi + 4], 0x18
jmp 0x12ea5dd
push eax
mov ecx, edi
call fcn.0131b260
lea ecx, [ebp - 0xc8]
call fcn.0130bff0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0x10
jb 0x12ea626
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea61c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12ea6ce
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x12ea660
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea656
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12ea6ce
push ecx
push edx
call fcn.01385783
add esp, 8
mov esi, dword [ebp - 0x40]
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.01387760
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push dword [ebp - 0x48]
push dword [ebp - 0x44]
jmp 0x12ea219
push dword [ebp - 0x24]
call fcn.013857c2
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x12ea1dd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12ea1d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x12ea1d3
call fcn.0138aa20
int3