Function at 0x4c5615
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x104
mov dword [ebp - 4], edi
mov ecx, esi
lea eax, [ebp - 0x4a0]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4c5633
push 0x2124938f
call fcn.004cf30d
mov ebx, 0x61f138
pop ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov eax, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x4c5651
mov eax, dword [edi + 0x14]
push esi
push ebx
add eax, 0xd
push eax
call dword [ebp - 0xc]
test eax, eax
jne 0x4c56c4
push 0xd
pop ecx
mov esi, 0x4edd48
lea edi, [ebp - 0xdc]
rep movsd dword es:[edi], dword [esi]
push 0x19
movsw word es:[edi], word [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0xde]
lea eax, [ebp + ecx*2 - 0xdc]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c567d
mov eax, 0x369e
xor word [ebp - 0xdc], ax
push 0x400
push ebx
lea eax, [ebp - 0xdc]
push eax
call dword [ebp - 0xc]
test eax, eax
jne 0x4c56bf
push 0x61f340
call fcn.004c9410
pop ecx
mov esi, 0x104
push 0x25
push ebx
call fcn.004db48f
pop ecx
pop ecx
test eax, eax
je 0x4c56dd
push 0x61f340
call fcn.004c9410
pop ecx
mov edi, 0x4edb20
push edi
push esi
push ebx
call fcn.004c4d98
mov eax, dword [ebp - 4]
test byte [eax + 0x24], 0x20
je 0x4c5941
push 0xea6269ae
call fcn.004cf30d
pop ecx
push ebx
mov dword [ebp - 8], eax
call eax
test eax, eax
jne 0x4c5a29
push 0xb2c9c054
call fcn.004cf30d
pop ecx
push 0xc
pop ecx
mov esi, str._f_____L___A_
lea edi, [ebp - 0x74]
push 0x16
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
pop ecx
mov dx, word [ebp + ecx*2 - 0x76]
lea eax, [ebp + ecx*2 - 0x74]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c572e
mov eax, 0x2429
xor word [ebp - 0x74], ax
push 0x104
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x4c592c
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 0x21
stosd dword es:[edi], eax
pop ecx
mov esi, 0x4edc90
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x212]
lea eax, [ebp + ecx*2 - 0x210]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c577d
mov eax, 0x3af7
xor word [ebp - 0x210], ax
push 0x4a370ad2
call fcn.004cf30d
pop ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
push 1
lea ecx, [ebp - 0x210]
push ecx
call eax
test eax, eax
je 0x4c57dc
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
call dword [ebp - 4]
push dword [ebp - 0x1c]
push 0x5943dc8c
call fcn.004cf30d
pop ecx
call eax
jmp 0x4c57e2
push esi
push ebx
push esi
call dword [ebp - 4]
push ebx
call dword [ebp - 8]
test eax, eax
jne 0x4c592c
push 0xf
pop ecx
mov esi, 0x4edc50
lea edi, [ebp - 0x188]
push 0x1c
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x18a]
lea eax, [ebp + ecx*2 - 0x188]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c5801
push 0xd
pop ecx
mov esi, 0x4edc18
lea edi, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
mov eax, 0xae
xor word [ebp - 0x188], ax
push 0x19
movsw word es:[edi], word [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x116]
lea eax, [ebp + ecx*2 - 0x114]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c5839
push 0xe
pop ecx
mov esi, 0x4edbe0
lea edi, [ebp - 0x14c]
mov eax, 0x57d4
xor word [ebp - 0x114], ax
push 0x1a
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x14e]
lea eax, [ebp + ecx*2 - 0x14c]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c586f
push 0xc
pop ecx
mov esi, 0x4edbb0
lea edi, [ebp - 0xa4]
mov eax, 0x4573
xor word [ebp - 0x14c], ax
push 0x16
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0xa6]
lea eax, [ebp + ecx*2 - 0xa4]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c58a5
mov eax, 0x1f92
xor word [ebp - 0xa4], ax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x30], eax
xor esi, esi
mov eax, 0x104
mov edx, eax
mov ecx, ebx
mov byte [ecx], 0
inc ecx
dec edx
jne 0x4c58f7
push eax
push ebx
push dword [ebp + esi*4 - 0x3c]
call dword [ebp - 0xc]
test eax, eax
je 0x4c5913
push ebx
call dword [ebp - 8]
test eax, eax
jne 0x4c5919
inc esi
cmp esi, 8
jb 0x4c58ee
push ebx
call dword [ebp - 8]
test eax, eax
jne 0x4c592c
push 0x61f340
call fcn.004c9410
pop ecx
push 0x4edb20
push 0x104
push ebx
call fcn.004c4d98
jmp 0x4c5a29
push 0x4d
pop eax
push 0x53
mov word [ebp - 0x14], ax
pop eax
mov word [ebp - 0x12], ax
push 0x49
pop eax
mov word [ebp - 0x10], ax
xor eax, eax
push 0x1eb38d1a
mov word [ebp - 0xe], ax
call fcn.004cf30d
push 0xb2c9c054
mov dword [ebp - 8], eax
call fcn.004cf30d
pop ecx
pop ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
push 0xd9f944ff
call fcn.004cf30d
pop ecx
call eax
push ebx
push dword [ebp - 0x44]
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [ebp - 8]
push edi
push esi
push ebx
call fcn.004c4d98
push ebx
call fcn.004c7104
and dword [ebp - 0x2c], 0
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 0x21
stosd dword es:[edi], eax
pop ecx
mov esi, 0x4edb28
lea edi, [ebp - 0x298]
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x29a]
lea eax, [ebp + ecx*2 - 0x298]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c59c4
mov eax, 0x73b0
xor word [ebp - 0x298], ax
push 0x4a370ad2
call fcn.004cf30d
pop ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x28]
push ecx
push 1
lea ecx, [ebp - 0x298]
push ecx
call eax
test eax, eax
je 0x4c5a23
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
call dword [ebp - 4]
push dword [ebp - 0x28]
push 0x5943dc8c
call fcn.004cf30d
pop ecx
call eax
jmp 0x4c5a29
push esi
push ebx
push esi
call dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret