Function at 0x143dc
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov ecx, 0xfffffff
mov dword [ebp - 0x48], edx
lea edx, [ebp + 4]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
mov esi, 0x10000
mov dword [ebp - 0x3c], edi
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
mov eax, dword [edx + 4]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, esi
sub edx, 4
and ebx, ecx
and edi, ecx
add ebx, esi
mov ecx, dword [0x177cc]
mov dword [ebp - 4], edx
sub eax, ecx
mov dword [ebp - 0x18], eax
jne 0x1449d
and dword [ebp - 8], 0
test edi, edi
jbe 0x146ef
mov esi, 0x97f235dd
mov ecx, 0x7fffffff
mov eax, dword [ebp - 8]
movzx edx, byte [eax + ebx]
sub edx, 0x680dca23
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0xa4c3
rol eax, 0xd
ror edx, 0xd
xor eax, edx
mov edx, esi
mul edx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 8], edi
jb 0x14446
jmp 0x146ec
mov ecx, ebx
sub ecx, esi
lea eax, [ebx + edi]
mov esi, ecx
and esi, 0xfffff000
mov dword [ebp - 8], esi
mov esi, ecx
sub esi, dword [ebp - 8]
add ecx, edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
and edi, 0xfffff000
sub ecx, edi
mov eax, dword [0x1003c]
mov dword [ebp - 0x38], edi
mov edi, dword [eax + 0x100a0]
mov eax, dword [eax + 0x100a4]
mov dword [ebp - 0x34], ecx
add edi, 0x10000
add eax, edi
mov dword [ebp - 0x30], eax
jmp 0x144f1
mov ecx, dword [ebp - 8]
cmp dword [edi], ecx
jae 0x144f5
add edi, dword [edi + 4]
cmp edi, eax
jne 0x144e7
and dword [ebp - 0x28], 0
cmp edi, eax
je 0x14536
mov ecx, dword [ebp - 8]
cmp dword [edi], ecx
jne 0x14536
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x10], ecx
je 0x14536
lea ecx, [edi + 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx]
and ecx, 0xfff
cmp ecx, esi
jae 0x14536
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], 2
cmp dword [ebp - 0x28], ecx
jne 0x14517
mov ecx, 0x7fffffff
mov esi, 0x97f235dd
jmp 0x14548
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
cmp edi, eax
je 0x14693
mov eax, dword [ebp - 0x38]
cmp dword [edi], eax
ja 0x14693
mov eax, dword [edi + 4]
lea edx, [eax - 8]
shr edx, 1
mov eax, dword [ebp - 0x28]
cmp eax, edx
jne 0x14587
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x30]
je 0x14690
mov eax, dword [ebp - 0x38]
cmp dword [edi], eax
ja 0x14690
and dword [ebp - 0x28], 0
jmp 0x1455b
mov edx, dword [ebp - 0x38]
cmp dword [edi], edx
jne 0x145a1
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x34]
jae 0x14690
mov eax, dword [ebp - 0x28]
mov edx, 0xf000
inc dword [ebp - 0x28]
test word [edi + eax*2 + 8], dx
je 0x14542
mov edx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and dword [ebp - 8], 0
and eax, 0xfff
lea eax, [eax + edx + 0x10000]
mov dword [ebp - 0xc], eax
sub dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
je 0x1462d
mov eax, dword [ebp - 8]
movzx edx, byte [eax + ebx]
sub edx, 0x680dca23
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0xa4c3
rol eax, 0xd
ror edx, 0xd
xor eax, edx
mov edx, esi
mul edx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x145d5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0xc], eax
movzx edx, byte [ebp + ebx - 0xc]
sub edx, 0x680dca23
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0xa4c3
rol eax, 0xd
ror edx, 0xd
xor eax, edx
mov edx, esi
mul edx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc ebx
cmp ebx, 4
jb 0x14637
mov ebx, dword [ebp - 0x10]
add ebx, 4
jmp 0x14542
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
mov dword [ebp - 0x1c], eax
je 0x146ef
movzx edx, byte [edi + ebx]
sub edx, 0x680dca23
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0xa4c3
rol eax, 0xd
ror edx, 0xd
xor eax, edx
mov edx, esi
mul edx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x1469f
mov edx, dword [ebp - 4]
add dword [edx + 8], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x10004]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x147cc
call fcn.00011286
mov edi, eax
mov eax, 0xfffff000
lea ecx, [edx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and esi, eax
sub esi, dword [0x1629e]
and edi, eax
mov dword [edx + 8], fcn.00016263
mov edx, 0xffff
xor eax, eax
mov ebx, dword [0x19da0]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x19da0], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x14749
mov ebx, 0xffff
div ebx
mov eax, ecx
inc edx
mov dword [ebp - 0x48], edi
cmp ecx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jae 0x14797
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x1478b
mov eax, dword [ebp - 4]
mov dword [eax + 8], fcn.00016263
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, ecx
and eax, 0xfffffff
shl edx, 0x10
add eax, 0x10000
mov dword [ebp - 0x3c], ecx
xor edx, dword [eax]
xor edx, dword [0x19098]
xor edx, ecx
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], edx
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
popfd
ret