Function at 0x12c6afc
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 0xe147e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.0130e550
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x12c69d4
mov edx, dword [ebp - 0x48]
nop dword [eax + eax]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x48]
cmovae eax, edx
xor byte [eax + esi], 0x36
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov edx, dword [ebp - 0x48]
cmovae ecx, edx
setae byte [ebp - 0x11]
cmp byte [ecx + esi], 0
jne 0x12c68f8
cmp byte [ebp - 0x11], 0
cmovne eax, edx
mov byte [eax + esi], 0x55
jmp 0x12c69c7
mov cl, byte [ebp - 0x11]
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x55
lea eax, [ebp - 0x48]
jne 0x12c6917
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xff
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xff
lea eax, [ebp - 0x48]
jne 0x12c6933
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xfd
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xfd
lea eax, [ebp - 0x48]
jne 0x12c694c
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xde
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xde
lea eax, [ebp - 0x48]
jne 0x12c6965
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 5
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 5
lea eax, [ebp - 0x48]
jne 0x12c697e
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 1
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 1
lea eax, [ebp - 0x48]
jne 0x12c6997
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xa
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xa
lea eax, [ebp - 0x48]
jne 0x12c69b0
test cl, cl
cmovne eax, edx
mov byte [eax + esi], pe_nt_image_headers32
jmp 0x12c69c7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x80
jne 0x12c69ca
test cl, cl
lea eax, [ebp - 0x48]
cmovne eax, edx
mov byte [eax + esi], 0
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, dword [ebp - 0x38]
jb 0x12c68c0
movups xmm0, xmmword [ebp - 0x48]
lea eax, [ebp - 0x78]
mov byte [ebp - 0x48], 0
push eax
movups xmmword [ebp - 0x78], xmm0
lea ecx, [ebx + 8]
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
call fcn.0130e3d0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x12c6a38
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c6a2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c6c4b
push ecx
push edx
call fcn.01385783
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 0
push 0xce43b
mov byte [ebp - 4], 1
call fcn.012b0520
add eax, dword [ebx + 0x18]
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
ja 0x12c6a82
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], eax
cmovae ecx, dword [ebp - 0x60]
mov byte [ecx + eax], 0
jmp 0x12c6a8f
sub eax, ecx
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.01310e10
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
lea esi, [ebp - 0x60]
push 0xce443
mov dword [eax], 0xabbadaad
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebx + 0x18]
cmovae esi, dword [ebp - 0x60]
call fcn.012b0520
push 0
push 0xce43f
mov dword [eax + esi], edi
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae esi, dword [ebp - 0x60]
call fcn.012b0520
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [eax + esi], ecx
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x12c6b16
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
push eax
cmovae esi, dword [ebp - 0x60]
push 0
push 0xce43b
call fcn.012b0520
add esp, 8
add eax, esi
push eax
call fcn.013871e0
add esp, 0xc
push 0
push 0xce447
call fcn.012b0520
mov ecx, dword [ebp - 0x50]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x12c6bb7
mov edi, dword [0xe1c0d8]
nop dword [eax + eax]
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x60]
sub ecx, esi
add eax, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2d], 0xc5d4c7c4
mov dword [ebp - 0x29], 0xfdf6f2
mov byte [ebp - 0x25], 1
lea ecx, [eax - 0x6d]
xor byte [ebp + eax - 0x2d], cl
inc eax
cmp eax, 7
jb 0x12c6b70
push 0xe30c10
mov byte [ebp - 0x25], 0
call 0x13e9947
ret
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x12c6beb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c6be1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c6c50
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x12c6c35
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c6c2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c6c50
jmp 0x12c6c2b
push ecx
push edx
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.0138aa20
call fcn.0138aa20
int3