Function at 0x45b93c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x4c0548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x484], edx
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0x18]
div esi
mov dword [ebp - 0x490], ecx
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x49c], eax
mov eax, 0x1000
mov dword [ebp - 0x488], esi
div esi
push edi
mov dword [ebp - 0x4a8], eax
xor edi, edi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45b9a6
test dword [eax], 0x800
je 0x45b9a6
mov eax, dword [eax + 0x10]
jmp 0x45b9ab
mov eax, dword [0x4c0814]
cmp eax, esi
ja 0x45b9b4
xor eax, eax
inc eax
jmp 0x45b9c3
mov edx, 0x8000
cmp eax, edx
jb 0x45b9bf
mov eax, edx
xor edx, edx
div esi
mov dword [ebp - 0x4a0], eax
test ecx, ecx
je 0x45bc53
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x494], edx
cmp ecx, eax
jae 0x45b9ef
mov dword [ebp - 0x47c], ecx
jmp 0x45b9f7
mov ecx, eax
mov dword [ebp - 0x47c], eax
lea eax, [ecx - 1]
mov ebx, eax
mov dword [ebp - 0x498], eax
imul ebx, esi
shr ebx, 0xc
mov dword [ebp - 0x48c], ebx
test ecx, ecx
je 0x45ba51
mov ebx, dword [ebp - 0x494]
lea eax, [ebp - 0x470]
mov edx, ecx
xor ecx, ecx
mov dword [eax - 8], ebx
add ebx, esi
mov dword [eax - 4], edi
adc edi, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
lea eax, [eax + 0x10]
sub edx, 1
jne 0x45ba22
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x494], ebx
mov ebx, dword [ebp - 0x48c]
mov dword [ebp - 0x4a4], edi
lea eax, [ebp - 0x478]
push eax
mov eax, ecx
lea edx, [ebp - 0x478]
mov ecx, dword [ebp - 0x490]
shl eax, 4
push eax
call fcn.0045a550
mov edi, eax
test edi, edi
js 0x45bc53
mov ecx, dword [ebp - 0x484]
add ecx, 0x1000
test ebx, ebx
je 0x45baa4
lea eax, [ebp - 0x78]
mov edx, ebx
mov esi, ecx
mov edi, eax
add ecx, 0x1000
add eax, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub edx, 1
jne 0x45ba8e
mov esi, ebx
lea edi, [ebp - 0x78]
shl esi, 4
cmp esi, 0x10
jb 0x45bad2
mov ebx, dword [ebp - 0x490]
shr esi, 4
push edi
mov edx, edi
mov ecx, ebx
call fcn.0047c4a4
add edi, 0x10
sub esi, 1
jne 0x45baba
mov ebx, dword [ebp - 0x48c]
test ebx, ebx
je 0x45bb0c
mov edx, dword [ebp - 0x4a8]
lea esi, [ebp - 0x470]
shl edx, 4
lea ecx, [ebp - 0x70]
add esi, edx
mov edi, ebx
mov eax, dword [esi - 8]
xor dword [ecx - 8], eax
mov eax, dword [esi - 4]
xor dword [ecx - 4], eax
mov eax, dword [esi]
xor dword [ecx], eax
lea ecx, [ecx + 0x10]
mov eax, dword [esi + 4]
add esi, edx
xor dword [ecx - 0xc], eax
sub edi, 1
jne 0x45baec
mov eax, dword [ebp - 0x484]
mov esi, dword [ebp - 0x488]
mov edi, dword [ebp - 0x47c]
lea edx, [eax - 0x10]
add edx, esi
cmp edi, 1
jbe 0x45bb60
mov edi, dword [ebp - 0x498]
lea ecx, [ebp - 0x460]
mov eax, dword [edx]
xor dword [ecx - 8], eax
mov eax, dword [edx + 4]
xor dword [ecx - 4], eax
mov eax, dword [edx + 8]
xor dword [ecx], eax
lea ecx, [ecx + 0x10]
mov eax, dword [edx + 0xc]
add edx, esi
xor dword [ecx - 0xc], eax
sub edi, 1
jne 0x45bb34
mov edi, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x490]
lea edx, [ebp - 0x478]
imul esi, edi
push esi
push dword [ebp - 0x480]
mov dword [ebp - 0x48c], esi
push eax
call fcn.0047c560
mov ecx, dword [ebp - 0x480]
and dword [ebp - 0x4ac], 0
add ecx, dword [ebp - 0x488]
cmp edi, 1
jbe 0x45bbd8
mov edi, dword [ebp - 0x488]
lea edx, [ebp - 0x460]
mov esi, dword [ebp - 0x498]
mov eax, dword [edx - 8]
xor dword [ecx], eax
mov eax, dword [edx - 4]
xor dword [ecx + 4], eax
mov eax, dword [edx]
lea edx, [edx + 0x10]
xor dword [ecx + 8], eax
mov eax, dword [edx - 0xc]
xor dword [ecx + 0xc], eax
add ecx, edi
sub esi, 1
jne 0x45bbac
mov esi, dword [ebp - 0x48c]
mov edi, dword [ebp - 0x47c]
mov edx, dword [ebp - 0x480]
add edx, 0x1000
test ebx, ebx
je 0x45bc18
lea ecx, [ebp - 0x70]
mov eax, dword [ecx - 8]
mov dword [edx], eax
lea edx, [edx + 0x1000]
mov eax, dword [ecx - 4]
mov dword [edx - 0xffc], eax
mov eax, dword [ecx]
lea ecx, [ecx + 0x10]
mov dword [edx - 0xff8], eax
mov eax, dword [ecx - 0xc]
mov dword [edx - 0xff4], eax
sub ebx, 1
jne 0x45bbeb
mov ecx, dword [ebp - 0x49c]
add dword [ebp - 0x480], esi
add dword [ebp - 0x484], esi
sub dword [ebp + 0x10], esi
sub ecx, edi
mov esi, dword [ebp - 0x488]
mov eax, dword [ebp - 0x4a0]
mov edi, dword [ebp - 0x4a4]
mov dword [ebp - 0x49c], ecx
jne 0x45b9e3
mov edi, dword [ebp - 0x4ac]
push 0x70
pop ecx
lea eax, [ebp - 0x78]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x45bc59
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055b8
mov esp, ebp
pop ebp
ret 0x18