Function at 0x45aee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x110]
push ebx
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
xor ebx, ebx
push 0x2f
mov esi, ecx
lea ecx, [esp + 0x89]
push ebx
push ecx
mov edi, edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x90], bl
call fcn.0047c020
push 0x2f
lea edx, [esp + 0xc5]
push ebx
push edx
mov byte [esp + 0xcc], bl
call fcn.0047c020
xor eax, eax
lea esi, [esi + esi*2]
shl esi, 4
add esi, edi
mov ecx, 0xc
lea edi, [esp + 0xfc]
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov word [esp + 0x79], ax
mov byte [esp + 0x7b], al
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov word [esp + 0x99], ax
mov byte [esp + 0x9b], al
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
add esp, 0x18
lea eax, [esp + 0x84]
mov byte [esp + 0x24], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x64], bl
call fcn.0045b1e0
xor eax, eax
mov edi, edi
movzx ecx, byte [esp + eax + 0xe4]
xor cl, byte [esp + eax + 0x84]
movzx edx, byte [esp + eax + 0xe5]
xor dl, byte [esp + eax + 0x85]
mov byte [esp + eax + 0xb4], cl
movzx ecx, byte [esp + eax + 0x86]
xor cl, byte [esp + eax + 0xe6]
mov byte [esp + eax + 0xb5], dl
movzx edx, byte [esp + eax + 0x87]
xor dl, byte [esp + eax + 0xe7]
mov byte [esp + eax + 0xb6], cl
movzx ecx, byte [esp + eax + 0x88]
xor cl, byte [esp + eax + 0xe8]
mov byte [esp + eax + 0xb7], dl
movzx edx, byte [esp + eax + 0x89]
xor dl, byte [esp + eax + 0xe9]
mov byte [esp + eax + 0xb8], cl
mov byte [esp + eax + 0xb9], dl
add eax, 6
cmp eax, 0x30
jb 0x45b000
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.0045b290
lea eax, [esp + 0x24]
lea ecx, [esp + 0x64]
call fcn.0045b370
lea ecx, [esp + 0x24]
mov edx, ebp
sub edx, ecx
sub ecx, ebp
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x25]
sub ecx, ebp
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x45]
sub ecx, ebp
mov edi, 0xfffffffe
lea eax, [ebp + 2]
mov dword [esp + 0x20], ecx
sub edi, ebp
lea ecx, [edi + eax]
lea esi, [esp + ecx + 0x24]
movzx ebx, byte [esi + edx]
xor bl, byte [esi]
mov esi, dword [esp + 0x14]
mov byte [esp + ecx + 0x44], bl
movzx ebx, byte [esp + ecx + 0x25]
xor bl, byte [eax - 1]
add eax, 4
mov byte [esp + ecx + 0x45], bl
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [eax - 4]
mov byte [esi + eax - 4], cl
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [eax - 3]
mov esi, dword [esp + 0x20]
mov byte [esi + eax - 4], cl
lea ecx, [edi + eax]
cmp ecx, 0x20
jb 0x45b0e5
mov eax, dword [esp + 0x10]
mov edi, ebp
mov ecx, 8
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x44]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00476dfd
add esp, 0x108
ret 8