Function at 0x100ccb8
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], edi
lea esi, [ebp + 4]
mov edi, dword [esi + 4]
sub esi, 4
mov eax, edi
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edi
mov eax, 0x1642dd95
mov edx, dword [0x1034d40]
mov ebx, dword [edi + 8]
mov eax, 0xfffffff
mov edi, dword [edi]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
and edi, eax
and ebx, eax
mov eax, 0x1000000
add edi, eax
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x18], ecx
jne 0x100cd5e
and dword [ebp - 4], 0
test ebx, ebx
jbe 0x100cf36
mov esi, 0x241a38a6
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edi]
add ecx, esi
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2272
rol eax, 6
ror ecx, 6
xor eax, ecx
mov ecx, esi
mul ecx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 4], ebx
jb 0x100cd26
jmp 0x100cf33
mov edx, dword [0x100003c]
lea ecx, [ebx + edi]
mov dword [ebp - 0x1c], ecx
mov ecx, edi
sub ecx, eax
mov esi, ecx
and esi, 0xfffff000
mov dword [ebp - 4], esi
mov esi, ecx
sub esi, dword [ebp - 4]
add ecx, ebx
mov ebx, ecx
and ebx, 0xfffff000
sub ecx, ebx
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + 0x10000a0]
mov dword [ebp - 0x38], ebx
mov ebx, dword [edx + 0x10000a4]
add ecx, eax
add ebx, ecx
jmp 0x100cdac
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jae 0x100cdb0
add ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x100cda2
and dword [ebp - 0x28], 0
cmp ecx, ebx
je 0x100cdeb
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jne 0x100cdeb
mov eax, dword [ecx + 4]
sub eax, 8
shr eax, 1
je 0x100cdeb
lea edx, [ecx + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
movzx edx, word [edx]
and edx, 0xfff
cmp edx, esi
jae 0x100cdeb
inc dword [ebp - 0x28]
add dword [ebp - 4], 2
cmp dword [ebp - 0x28], eax
jne 0x100cdcf
mov esi, 0x241a38a6
cmp ecx, ebx
je 0x100cef9
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x100cef9
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
shr edx, 1
mov eax, dword [ebp - 0x28]
cmp eax, edx
jne 0x100ce2e
add ecx, dword [ecx + 4]
cmp ecx, ebx
je 0x100cef9
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x100cef9
and dword [ebp - 0x28], 0
jmp 0x100ce03
mov edx, dword [ebp - 0x38]
cmp dword [ecx], edx
jne 0x100ce48
movzx eax, word [ecx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x34]
jae 0x100cef9
mov edx, 0xf000
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x28]
test word [ecx + eax*2 + 8], dx
je 0x100cdf0
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], edi
mov dword [ebp - 0x10], eax
je 0x100ceb5
mov eax, dword [ebp - 4]
movzx edx, byte [eax + edi]
add edx, esi
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0x2272
rol eax, 6
ror edx, 6
xor eax, edx
mov edx, esi
mul edx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100ce7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 8], eax
movzx edx, byte [ebp + edi - 8]
add edx, esi
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov eax, edx
imul eax, eax, 0x2272
rol eax, 6
ror edx, 6
xor eax, edx
mov edx, esi
mul edx
add eax, edx
add dword [ebp - 0x24], eax
inc edi
cmp edi, 4
mov dword [ebp - 0x20], eax
jb 0x100cebf
mov edi, dword [ebp - 0x10]
add edi, 4
jmp 0x100cdf0
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
sub eax, edi
mov dword [ebp - 0x1c], eax
je 0x100cf33
movzx ecx, byte [ebx + edi]
add ecx, esi
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2272
rol eax, 6
ror ecx, 6
xor eax, ecx
mov ecx, esi
mul ecx
add eax, edx
add dword [ebp - 0x24], eax
inc ebx
mov dword [ebp - 0x20], eax
cmp ebx, dword [ebp - 0x1c]
jb 0x100cf05
mov esi, dword [ebp - 0xc]
add dword [esi + 8], 0x10
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
and eax, 0xfffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x1000000]
jne 0x100cf5f
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x1000004]
je 0x100d00e
call fcn.010259c0
lea ecx, [esi + 0xc]
and ecx, 0xfffffffc
lea edi, [ecx + 0xfff]
mov edx, 0xfffff000
and eax, edx
mov dword [ebp - 0x1c], eax
mov dword [esi + 8], 0x103e45c
and edi, edx
xor eax, eax
mov edx, 0xffff
mov ebx, dword [0x104d00c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x104d00c], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x100cf8a
mov ebx, 0xffff
div ebx
mov eax, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x3c], eax
mov eax, ecx
cmp ecx, edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jae 0x100cfdb
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x100cfcf
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], 0x103e45c
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
mov edx, ecx
and eax, 0xfffffff
shl edx, 0x10
add eax, 0x1000000
xor edx, dword [eax]
xor edx, dword [0x104d0a0]
xor edx, ecx
and dword [ebp - 0x44], 0
mov dword [ebp - 0x50], edx
mov eax, 0x56ef0c6
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x50]
mov esp, ebp
pop ebp
popfd
ret