Function at 0x4416cc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x4e1810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x480], eax
xor edx, edx
push esi
mov esi, ecx
mov eax, ebx
div esi
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x478], esi
mov ecx, eax
mov dword [ebp - 0x4a4], eax
mov eax, 0x1000
div esi
mov dword [ebp - 0x4b0], eax
mov eax, dword [0x4e98a0]
cmp eax, esi
ja 0x44173d
xor eax, eax
inc eax
jmp 0x44174c
mov edx, 0x8000
cmp eax, edx
jb 0x441748
mov eax, edx
xor edx, edx
div esi
mov dword [ebp - 0x49c], eax
test ecx, ecx
je 0x4419ff
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x4a8], edx
cmp ecx, eax
jae 0x44177a
mov eax, ecx
mov dword [ebp - 0x484], ecx
jmp 0x441780
mov dword [ebp - 0x484], eax
lea ecx, [eax - 1]
mov ebx, ecx
imul ebx, esi
shr ebx, 0xc
mov dword [ebp - 0x498], ecx
mov dword [ebp - 0x488], ebx
test eax, eax
je 0x4417d8
mov ebx, dword [ebp - 0x4a8]
mov edx, eax
lea ecx, [ebp - 0x46c]
xor eax, eax
mov dword [ecx - 8], ebx
add ebx, esi
mov dword [ecx - 4], edi
adc edi, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
add ecx, 0x10
dec edx
jne 0x4417ab
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x4a8], ebx
mov ebx, dword [ebp - 0x488]
mov dword [ebp - 0x4a0], edi
mov ecx, eax
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x490]
shl ecx, 4
call fcn.0044064c
mov edi, eax
test edi, edi
js 0x4419ff
mov ecx, dword [ebp - 0x47c]
add ecx, 0x1000
test ebx, ebx
je 0x441822
lea eax, [ebp - 0x74]
mov edx, ebx
mov esi, ecx
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x1000
add eax, 0x10
movsd dword es:[edi], dword [esi]
dec edx
jne 0x44180e
mov esi, ebx
shl esi, 4
lea edi, [ebp - 0x74]
cmp esi, 0x10
jb 0x44184e
mov ebx, dword [ebp - 0x490]
shr esi, 4
push edi
mov edx, edi
mov ecx, ebx
call fcn.004c2fb0
add edi, 0x10
dec esi
jne 0x441838
mov ebx, dword [ebp - 0x488]
test ebx, ebx
je 0x441890
mov esi, dword [ebp - 0x4b0]
shl esi, 4
lea edi, [ebp - 0x46c]
lea edx, [ebp - 0x6c]
add edi, esi
mov dword [ebp - 0x48c], ebx
mov eax, dword [edi - 8]
xor dword [edx - 8], eax
mov eax, dword [edi - 4]
xor dword [edx - 4], eax
mov eax, dword [edi]
xor dword [edx], eax
mov eax, dword [edi + 4]
xor dword [edx + 4], eax
add edi, esi
add edx, 0x10
dec ebx
jne 0x44186c
mov ebx, dword [ebp - 0x488]
mov esi, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x478]
mov edi, dword [ebp - 0x484]
add esi, 0xfffffff0
add esi, eax
cmp edi, 1
jbe 0x4418ea
mov ebx, dword [ebp - 0x498]
lea edx, [ebp - 0x45c]
mov edi, eax
mov eax, dword [esi]
xor dword [edx - 8], eax
mov eax, dword [esi + 4]
xor dword [edx - 4], eax
mov eax, dword [esi + 8]
xor dword [edx], eax
mov eax, dword [esi + 0xc]
xor dword [edx + 4], eax
add esi, edi
add edx, 0x10
dec ebx
jne 0x4418ba
mov ebx, dword [ebp - 0x488]
mov edi, dword [ebp - 0x484]
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp - 0x490]
mov esi, eax
imul esi, edi
push esi
push dword [ebp - 0x47c]
lea edx, [ebp - 0x474]
mov dword [ebp - 0x48c], esi
call fcn.004c34ef
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x480]
cmp eax, ecx
je 0x44192e
push esi
push eax
push ecx
call fcn.0049d0c0
mov ecx, dword [ebp - 0x480]
add esp, 0xc
mov edx, dword [ebp - 0x478]
and dword [ebp - 0x4ac], 0
add edx, ecx
cmp edi, 1
jbe 0x44198a
mov edi, dword [ebp - 0x478]
mov ebx, dword [ebp - 0x498]
lea esi, [ebp - 0x45c]
mov eax, dword [esi - 8]
xor dword [edx], eax
mov eax, dword [esi - 4]
xor dword [edx + 4], eax
mov eax, dword [esi]
xor dword [edx + 8], eax
mov eax, dword [esi + 4]
xor dword [edx + 0xc], eax
add edx, edi
add esi, 0x10
dec ebx
jne 0x441954
mov ebx, dword [ebp - 0x488]
mov esi, dword [ebp - 0x48c]
mov edi, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x480]
lea edx, [ecx + 0x1000]
test ebx, ebx
je 0x4419bf
lea ecx, [ebp - 0x6c]
mov eax, dword [ecx - 8]
mov dword [edx], eax
mov eax, dword [ecx - 4]
mov dword [edx + 4], eax
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
add edx, 0x1000
add ecx, 0x10
dec ebx
jne 0x441997
mov ecx, dword [ebp - 0x480]
add dword [ebp - 0x47c], esi
sub dword [ebp - 0x494], esi
mov eax, dword [ebp - 0x49c]
add ecx, esi
mov esi, dword [ebp - 0x478]
mov dword [ebp - 0x480], ecx
mov ecx, dword [ebp - 0x4a4]
sub ecx, edi
mov edi, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], ecx
jne 0x44176c
mov edi, dword [ebp - 0x4ac]
push 0x70
pop ecx
lea eax, [ebp - 0x74]
mov byte [eax], 0
inc eax
dec ecx
jne 0x441a05
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434e57
leave
ret 0x18