Function at 0x1001146d
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 - 0x50], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
lea edi, [ebp + 4]
mov ebx, dword [edi + 4]
sub edi, 4
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov eax, 0xd88e3eb5
mov esi, dword [0x1001256c]
mov eax, dword [ebx]
mov edx, 0xfffffff
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
shr eax, 2
pop ecx
mov ecx, dword [ebx + 0xc]
and ecx, edx
and eax, edx
mov edx, 0x10000000
add ecx, 0x10000000
sub edx, esi
mov dword [ebp - 0x14], edx
jne 0x10011514
and dword [ebp - 4], 0
test eax, eax
jbe 0x1001170d
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx]
sub edx, 0x2ec09e1f
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
imul edx, edx, 0xd13f61e1
ror edx, 6
mov esi, edx
imul esi, esi, 0x5246
rol esi, 1
ror edx, 1
xor esi, edx
add dword [ebp - 0x24], esi
inc dword [ebp - 4]
mov dword [ebp - 0x20], esi
cmp dword [ebp - 4], eax
jb 0x100114d7
jmp 0x1001170d
lea edx, [ecx + eax]
mov esi, ecx
sub esi, 0x10000000
mov ebx, esi
and ebx, 0xfffff000
mov dword [ebp - 4], ebx
add eax, esi
mov ebx, esi
sub ebx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov esi, eax
mov edx, dword [0x1000003c]
and esi, 0xfffff000
sub eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x100000a0]
mov edx, dword [edx + 0x100000a4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x38], esi
add eax, 0x10000000
add edx, eax
jmp 0x1001156c
mov esi, dword [eax]
cmp esi, dword [ebp - 4]
jae 0x10011570
add eax, dword [eax + 4]
cmp eax, edx
jne 0x10011562
and dword [ebp - 0x28], 0
cmp eax, edx
je 0x100116d0
mov esi, dword [ebp - 4]
cmp dword [eax], esi
jne 0x100115ba
mov esi, dword [eax + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 8], esi
je 0x100115ba
lea esi, [eax + 8]
mov dword [ebp - 4], esi
jmp 0x1001159b
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
movzx esi, word [esi]
and esi, 0xfff
cmp esi, ebx
jae 0x100115ba
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
add dword [ebp - 4], 2
cmp esi, dword [ebp - 8]
jne 0x10011598
cmp eax, edx
je 0x100116d0
mov esi, dword [eax]
cmp esi, dword [ebp - 0x38]
ja 0x100116d0
mov esi, dword [eax + 4]
lea ebx, [esi - 8]
mov esi, dword [ebp - 0x28]
shr ebx, 1
cmp esi, ebx
jne 0x100115f8
add eax, dword [eax + 4]
cmp eax, edx
je 0x100116d0
mov esi, dword [ebp - 0x38]
cmp dword [eax], esi
ja 0x100116d0
and dword [ebp - 0x28], 0
jmp 0x100115cd
mov ebx, dword [ebp - 0x38]
cmp dword [eax], ebx
jne 0x10011613
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, dword [ebp - 0x34]
jae 0x100116d0
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x28]
mov ebx, 0xf000
test word [eax + esi*2 + 8], bx
je 0x100115ba
movzx esi, word [eax + esi*2 + 8]
mov ebx, dword [eax]
and esi, 0xfff
lea ebx, [esi + ebx + 0x10000000]
xor esi, esi
mov dword [ebp - 4], ebx
sub dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
je 0x10011684
movzx esi, byte [esi + ecx]
sub esi, 0x2ec09e1f
add dword [ebp - 0x24], esi
add esi, dword [ebp - 0x20]
imul esi, esi, 0xd13f61e1
ror esi, 6
mov ebx, esi
imul ebx, ebx, 0x5246
rol ebx, 1
ror esi, 1
xor ebx, esi
mov esi, ebx
add dword [ebp - 0x24], esi
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], esi
cmp esi, dword [ebp - 4]
jb 0x10011649
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
xor ebx, ebx
movzx ecx, byte [ebp + ebx - 0x18]
sub ecx, 0x2ec09e1f
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
imul ecx, ecx, 0xd13f61e1
ror ecx, 6
mov esi, ecx
imul esi, esi, 0x5246
rol esi, 1
ror ecx, 1
xor esi, ecx
add dword [ebp - 0x24], esi
inc ebx
cmp ebx, 4
mov dword [ebp - 0x20], esi
jb 0x10011691
mov ecx, dword [ebp - 0xc]
add ecx, 4
jmp 0x100115ba
xor esi, esi
mov ebx, dword [ebp - 0x1c]
sub ebx, ecx
je 0x1001170a
movzx eax, byte [esi + ecx]
sub eax, 0x2ec09e1f
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
imul eax, eax, 0xd13f61e1
ror eax, 6
mov edx, eax
imul edx, edx, 0x5246
rol edx, 1
ror eax, 1
xor edx, eax
add dword [ebp - 0x24], edx
inc esi
cmp esi, ebx
mov dword [ebp - 0x20], edx
jb 0x100116d9
mov ebx, dword [ebp - 0x10]
add dword [edi + 8], 0x10
mov ecx, dword [ebx + 8]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000000]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x10000004]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x100117e2
call fcn.100ae1cc
lea ecx, [edi + 0xc]
mov edx, 0xfffff000
and eax, edx
and ecx, 0xfffffffc
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0xfff]
and eax, edx
mov edx, 0xffff
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [edi + 8], 0x100f1b6e
mov esi, dword [0x1012ee38]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x1012ee38], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x10011762
mov esi, 0xffff
div esi
inc edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jmp 0x100117ab
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, dword [ebp - 0x10]
jb 0x100117a3
mov dword [edi + 8], 0x100f1b6e
mov ebx, dword [ebx + 4]
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffff
mov dword [ebp - 0x40], eax
mov ecx, eax
shl ecx, 0x10
add ebx, 0x10000000
xor ecx, dword [ebx]
xor ecx, dword [0x10120764]
xor ecx, eax
and dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], ecx
mov eax, 0x9db8201d
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
popfd
ret