Function at 0x414c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
xor eax, eax
push 0x40
mov esi, edx
push eax
lea edx, [esp + 0x130]
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
call sub.MSVCR90.dll_memset
push 0x40
lea eax, [esp + 0xd8]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
add esp, 0x18
lea esi, [esp + 0xc8]
mov dword [esp + 0x108], 0
call fcn.00417370
mov ecx, esi
push ecx
lea ebx, [esp + 0x16c]
call fcn.00414400
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
push edx
lea eax, [esp + 0x16c]
call fcn.004173f0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
lea edx, [eax - 1]
mov eax, 0xcccccccd
mul edx
mov eax, dword [ecx + 4]
shr edx, 4
add edx, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
je 0x415024
mov ebx, 1
lea ecx, [esp + 0x20c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ecx
jmp 0x414da4
mov ebx, dword [esp + 0x18]
xor eax, eax
push 0x40
push eax
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x218], eax
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1bc]
mov ecx, 0x10
lea esi, [esp + 0x174]
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1b8]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x1d0]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ecx, 0x10
lea esi, [esp + 0x1d4]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov edx, ebx
mov eax, ebx
mov ecx, ebx
shr edx, 0x18
shr eax, 0x10
add esp, 0xc
shr ecx, 8
mov byte [esp + 0x223], bl
mov byte [esp + 0x220], dl
mov byte [esp + 0x221], al
mov byte [esp + 0x222], cl
mov ebx, 4
mov dword [esp + 0x10], 0x3e8
lea ecx, [ecx]
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x2c]
call fcn.004173f0
push 0x14
lea eax, [esp + 0x224]
push eax
lea edi, [esp + 0x30]
call fcn.004174a0
xor ebx, ebx
jmp 0x414f00
movzx ecx, byte [esp + ebx + 0x220]
movzx edx, byte [esp + ebx + 0x221]
xor byte [esp + ebx + 0x20c], cl
xor byte [esp + ebx + 0x20d], dl
movzx ecx, byte [esp + ebx + 0x223]
movzx edx, byte [esp + ebx + 0x224]
mov al, byte [esp + ebx + 0x222]
xor byte [esp + ebx + 0x20e], al
xor byte [esp + ebx + 0x20f], cl
xor byte [esp + ebx + 0x210], dl
add ebx, 5
cmp ebx, 0x14
jb 0x414f00
sub dword [esp + 0x10], 1
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x110]
mov ecx, 0x10
lea esi, [esp + 0xc8]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x84], ecx
mov ecx, 0x10
lea esi, [esp + 0x128]
lea edi, [esp + 0x88]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
rep movsd dword es:[edi], dword [esi]
jne 0x414ed0
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, dword [esp + 0x24]
jae 0x415003
mov edx, dword [esp + 0xc]
mov dl, byte [edx + eax]
mov esi, dword [esp + 0x1c]
mov byte [eax + esi], dl
inc ecx
inc eax
cmp ecx, 0x14
jb 0x414fe8
mov eax, dword [esp + 0x18]
inc eax
mov ecx, 0x14
add dword [esp + 0x14], ecx
sub dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
dec eax
cmp eax, dword [esp + 0x20]
jb 0x414da0
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00427762
mov esp, ebp
pop ebp
ret