Function at 0x136ac47
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ebx
lea ebx, [ebp + 4]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], edi
mov esi, dword [ebx + 4]
push esi
push esi
sub ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], esi
mov eax, 0x9981df32
mov edi, 0x1000000
mov eax, 0xfffffff
mov edx, dword [0x13ca1e8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [esi]
and esi, eax
and ecx, eax
add esi, edi
mov eax, edi
sub eax, edx
mov dword [ebp - 0x18], eax
jne 0x136acf0
and dword [ebp - 4], 0
test ecx, ecx
jbe 0x136aecb
mov edi, 0x6056ace2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
sub eax, edi
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mov edx, 0x9fa9531e
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xc010
rol edx, 0xe
ror eax, 0xe
xor edx, eax
add dword [ebp - 0x24], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
mov dword [ebp - 0x20], edx
jb 0x136acb5
jmp 0x136aecb
mov edx, esi
lea eax, [esi + ecx]
sub edx, edi
mov edi, edx
and edi, 0xfffff000
add ecx, edx
mov dword [ebp - 4], edi
mov edi, edx
mov edx, ecx
sub edi, dword [ebp - 4]
and edx, 0xfffff000
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100003c]
mov ebx, dword [eax + 0x10000a4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x10000a0]
add ecx, 0x1000000
add ebx, ecx
mov dword [ebp - 0x38], edx
jmp 0x136ad41
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jae 0x136ad45
add ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x136ad37
and dword [ebp - 0x28], 0
cmp ecx, ebx
je 0x136ad78
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jne 0x136ad78
mov eax, dword [ecx + 4]
sub eax, 8
shr eax, 1
je 0x136ad78
mov edx, dword [ebp - 0x28]
movzx edx, word [ecx + edx*2 + 8]
and edx, 0xfff
cmp edx, edi
jae 0x136ad78
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jne 0x136ad5e
mov edi, 0x6056ace2
cmp ecx, ebx
je 0x136ae8b
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x136ae8b
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov eax, dword [ebp - 0x28]
shr edx, 1
cmp eax, edx
jne 0x136adbb
add ecx, dword [ecx + 4]
cmp ecx, ebx
je 0x136ae8b
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x136ae8b
and dword [ebp - 0x28], 0
jmp 0x136ad90
mov edx, dword [ebp - 0x38]
cmp dword [ecx], edx
jne 0x136add5
movzx eax, word [ecx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x34]
jae 0x136ae8b
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x28]
test word [ecx + eax*2 + 8], 0xf000
je 0x136ad7d
mov edx, dword [ecx]
movzx eax, word [ecx + eax*2 + 8]
and dword [ebp - 4], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 8], eax
sub dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
je 0x136ae44
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
mov edx, 0x9fa9531e
sub eax, edi
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xc010
rol edx, 0xe
ror eax, 0xe
xor edx, eax
mov eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
mov dword [ebp - 0x20], edx
jb 0x136ae06
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 8], eax
movzx eax, byte [ebp + esi - 8]
sub eax, edi
mov edx, 0x9fa9531e
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xc010
rol edx, 0xe
ror eax, 0xe
xor edx, eax
add dword [ebp - 0x24], edx
inc esi
cmp esi, 4
mov dword [ebp - 0x20], edx
jb 0x136ae4e
mov esi, dword [ebp - 0x10]
add esi, 4
jmp 0x136ad7d
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], eax
je 0x136aec8
movzx eax, byte [ebx + esi]
sub eax, edi
add dword [ebp - 0x24], eax
mov ecx, 0x9fa9531e
add eax, dword [ebp - 0x20]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0xc010
rol ecx, 0xe
ror eax, 0xe
xor ecx, eax
add dword [ebp - 0x24], ecx
inc ebx
cmp ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
jb 0x136ae97
mov ebx, dword [ebp - 0xc]
add dword [ebx + 8], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, 0xfffffff
cmp ecx, dword [eax + 0x1000000]
jne 0x136aef4
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x1000004]
je 0x136af9e
call fcn.012a18fc
mov dword [ebx + 8], 0x103a6aa
lea ecx, [ebx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
mov edi, eax
mov eax, 0xfffff000
mov edx, 0xffff
and edi, eax
and esi, eax
xor eax, eax
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x136af1e
mov ebx, 0xffff
xor edx, edx
div ebx
mov dword [ebp - 0x44], edi
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], 0
jmp 0x136af64
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x136af5c
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0x103a6aa
mov ecx, dword [ebp - 0x3c]
mov edx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
and eax, 0xfffffff
shl edx, 0x10
mov dword [ebp - 0x50], ecx
add eax, 0x1000000
xor edx, dword [eax]
xor edx, dword [0x14288cc]
xor edx, ecx
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], edx
mov eax, 0xc7a28bfb
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
popfd
ret