Function at 0x61ce10
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x10]
sub esp, 0x10
push 0xffffffffffffffff
push 0x646dce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f4
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 0x20
jbe 0x61ce46
mov eax, 0x20
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, ecx
neg esi
push edi
sbb esi, esi
and esi, eax
jbe 0x61ce67
push esi
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.004b3b20
add esp, 0xc
cmp esi, 0x20
jae 0x61ce8a
mov eax, 0x20
sub eax, esi
push eax
lea eax, [ebp - 0x94]
add eax, esi
push 0x6b1a50
push eax
call fcn.004b3b20
add esp, 0xc
lea ecx, [ebp - 0x74]
call fcn.00452360
push 0x20
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.00452bb0
push dword [ebp + 0x24]
lea ecx, [ebp - 0x74]
push dword [ebp + 0x20]
call fcn.00452bb0
push 4
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00452bb0
mov ebx, dword [ebp + 0x34]
test ebx, ebx
je 0x61ced9
push ebx
push dword [ebp + 0x30]
lea ecx, [ebp - 0x74]
call fcn.00452bb0
mov esi, dword [ebp + 0x38]
cmp esi, 4
jb 0x61cefc
cmp dword [ebp + 0x44], 0
jne 0x61cefc
push 4
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0xffffffff
push eax
lea ecx, [ebp - 0x74]
call fcn.00452bb0
lea ecx, [ebp - 0x74]
call fcn.004523a0
mov edi, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
cmp esi, 3
jb 0x61cf64
mov ebx, 0x32
lea ecx, [ebp - 0x74]
call fcn.00452480
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x74]
call fcn.00452bb0
lea ecx, [ebp - 0x74]
call fcn.004523a0
mov ecx, dword [eax]
mov dword [ebp], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
sub ebx, 1
jne 0x61cf28
mov ebx, dword [ebp + 0x34]
push edi
lea eax, [ebp]
push eax
push dword [ebp + 0x3c]
call fcn.004b3b20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403120
lea ecx, [ebp - 0x200]
call fcn.00431460
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 1
call fcn.00452360
mov byte [ebp - 4], 2
cmp esi, 2
jne 0x61cfd2
push edi
push dword [ebp + 0x3c]
lea ecx, [ebp - 0x200]
call fcn.004d6190
push 0x20
push dword [ebp + 0x28]
lea ecx, [ebp - 0x200]
push 0x6b1a50
call fcn.004d6230
jmp 0x61d0b4
cmp esi, 3
jb 0x61d0b4
lea ecx, [ebp - 0xfc]
call fcn.00452480
push 0x20
push 0x6b1a50
lea ecx, [ebp - 0xfc]
call fcn.00452bb0
test ebx, ebx
je 0x61d00b
push ebx
push dword [ebp + 0x30]
lea ecx, [ebp - 0xfc]
call fcn.00452bb0
lea ecx, [ebp - 0xfc]
call fcn.004523a0
mov esi, dword [ebp + 0x28]
push edi
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.004463f0
mov ecx, eax
add esp, 4
mov dword [ebp + 0x34], ecx
test ecx, ecx
je 0x61d094
xor ebx, ebx
test edi, edi
je 0x61d066
mov esi, dword [ebp + 0x3c]
mov eax, ecx
sub esi, ecx
mov edx, edi
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, bl
mov byte [eax - 1], cl
sub edx, 1
jne 0x61d050
mov esi, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x34]
push edi
push ecx
lea ecx, [ebp - 0x200]
call fcn.004d6190
push 0x10
push esi
push esi
lea ecx, [ebp - 0x200]
call fcn.004d6230
mov ecx, dword [ebp + 0x34]
inc ebx
cmp ebx, 0x14
jl 0x61d043
push ecx
call fcn.00446420
add esp, 4
mov eax, dword [0x6b1a50]
mov dword [esi + 0x10], eax
mov eax, dword [0x6b1a54]
mov dword [esi + 0x14], eax
mov eax, dword [0x6b1a58]
mov dword [esi + 0x18], eax
mov eax, dword [0x6b1a5c]
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0xfc]
call fcn.00403120
lea ecx, [ebp - 0x200]
call fcn.00403120
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x10]
pop ebp
ret