Function at 0x464f77
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x228
mov eax, dword [0x48f034]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x230]
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
mov esi, dword [esp + 0x240]
push edi
push 0x20
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.0046e6e0
push 0x20
lea eax, [esp + 0x204]
push esi
push eax
call fcn.0046e6e0
and byte [esp + 0x22b], 0x7f
lea eax, [esp + 0x20c]
push eax
lea eax, [esp + 0x1e8]
push eax
call fcn.0046257b
lea eax, [esp + 0x174]
push eax
call fcn.0046107f
push 0x28
xor ebx, ebx
lea eax, [esp + 0x12c]
push ebx
push eax
call fcn.0046ec60
push 0xa
pop ecx
lea eax, [esp + 0x15c]
lea esi, [esp + 0x1fc]
lea edi, [esp + 0x1ac]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0046107f
mov ecx, 0xfe
add esp, 0x34
mov dword [esp + 0x10], ecx
mov eax, ecx
movzx ecx, cl
shr eax, 3
and ecx, 7
movzx esi, byte [esp + eax + 0x214]
lea eax, [esp + 0x17c]
shr esi, cl
and esi, 1
xor ebx, esi
push ebx
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.00461158
push ebx
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.00461158
lea eax, [esp + 0x144]
mov ebx, esi
push eax
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0046273c
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0046273c
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00461099
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00461099
add esp, 0x48
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004617a5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.004617a5
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00462069
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00462069
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x1d4]
push eax
call fcn.00461099
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0046273c
add esp, 0x40
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.004617a5
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046273c
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00462069
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x150]
push eax
call fcn.00461f0e
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x1a8]
push eax
call fcn.00462069
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00461099
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x20c]
push eax
lea eax, [esp + 0x170]
push eax
call fcn.004617a5
add esp, 0x48
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.004617a5
mov ecx, dword [esp + 0x1c]
add esp, 0xc
sub ecx, 1
mov dword [esp + 0x10], ecx
jns 0x46502c
push esi
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.00461158
push esi
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.00461158
push 0xa
pop ecx
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x120]
lea esi, [esp + 0x120]
lea edi, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0046121a
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x178]
push eax
push eax
call fcn.004617a5
lea eax, [esp + 0x180]
push eax
push ebp
call fcn.004627fc
mov ecx, dword [esp + 0x268]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ddb6
add esp, 0x228
ret