Function at 0x12e8640
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 0xe17218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
mov eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x24], edi
call fcn.012e74e0
mov edx, eax
test edx, edx
je 0x12e8abd
mov ecx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e86d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.012ab030
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1e], 0xf9e1c7cf
mov dword [ebp - 0x1a], 0xfffef9e5
mov word [ebp - 0x16], 0x100
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x12e8700
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0130e260
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.012e7720
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x12e8a85
nop dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x12e8ad8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0xe30800
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.01315f90
or edi, 8
mov dword [ebp - 0x24], edi
push esi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.0130e2d0
or edi, 0x10
mov dword [ebp - 0x24], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x12e8808
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e87fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
movaps xmm0, xmmword [0xe35da0]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xc3d78ad7
mov dword [ebp - 0x2c], 0x10098c4
nop
lea ecx, [eax - 0x6d]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x16
jb 0x12e8840
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x29], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e8857
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x12e8ad8
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.01315f90
or edi, 4
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push eax
cmovae ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x88]
call fcn.012e79a0
sub esp, 0x14
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.0130e550
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0xb8]
call fcn.012e7f20
add esp, 0x18
push esi
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.0130e550
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd4]
call fcn.0130e550
or edi, 2
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x12e894e
call fcn.01321ec0
add dword [edx + 4], 0x30
jmp 0x12e8956
push ecx
mov ecx, edx
call fcn.01319ca0
lea ecx, [ebp - 0xec]
call fcn.012c62d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x12e899f
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e8995
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0x10
jb 0x12e89f5
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e89eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x12e8a2d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e8a23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x12e8a79
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e8a6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x12e8750
lea ecx, [ebp - 0x20]
call fcn.01310740
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x12e8abd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e8ab3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e8ad3
push ecx
push edx
call fcn.01385783
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0138aa20
call fcn.012aa840
int3