Function at 0x45be24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, 0x5c6f6c
push ebp
add esp, 0xffffffe4
mov eax, dword [edi + 4]
mov ebx, dword [eax - 8]
mov esi, dword [eax - 4]
test byte [ebx], 0x1a
je 0x45befb
test byte [esi], 0x3a
jne 0x45be5b
test byte [esi + 1], 4
je 0x45befb
cmp dword [esi + 8], 1
jne 0x45befb
push ebx
call fcn.00467040
pop ecx
push edx
push eax
push esi
call fcn.00467040
pop ecx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0xc], 0xffffffff
jne 0x45be8c
cmp dword [ebx + 8], 0xc4653601
jb 0x45bea1
jmp 0x45be8e
jl 0x45bea1
cmp dword [ebx + 0xc], 2
jne 0x45be9f
cmp dword [ebx + 8], 0x540be3ff
jbe 0x45bea8
jmp 0x45bea1
jle 0x45bea8
mov eax, 0x14
jmp 0x45bead
mov eax, 0xa
mov dword [ebx + 0x10], eax
mov dword [ebx], 8
sub dword [edi + 4], 4
mov edx, dword [edi + 4]
cmp edx, dword [edi]
jae 0x45bed4
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45beed
push eax
call fcn.00467594
pop ecx
jmp 0x45c325
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x45c325
test byte [ebx + 1], 4
je 0x45bff6
test byte [esi + 1], 4
je 0x45bff6
mov edx, dword [ebx + 8]
mov dword [esp], edx
mov ecx, dword [esi + 8]
mov dword [esp + 4], ecx
cmp dword [esp], 0
je 0x45bfb1
cmp dword [esp + 4], 0
je 0x45bfb1
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov edx, dword [esi + 0x10]
mov dword [esp + 0xc], edx
test byte [ebx + 1], 4
je 0x45bf53
cmp dword [ebx + 0xc], 0
je 0x45bf53
mov ecx, dword [ebx + 0x14]
cmp dword [ecx], 1
je 0x45bf89
mov eax, dword [esp]
inc eax
push eax
call fcn.004847cc
pop ecx
mov dword [esp + 8], eax
mov edx, dword [esp]
push edx
mov ecx, dword [ebx + 0x10]
push ecx
mov eax, dword [esp + 0x10]
push eax
call fcn.004bc1ec
add esp, 0xc
mov edx, dword [esp]
push edx
mov ecx, dword [esp + 0xc]
push ecx
push ebx
call fcn.004679ec
add esp, 0xc
xor edx, edx
mov ecx, dword [esp + 8]
add ecx, edx
mov eax, edx
cmp edx, dword [esp]
jae 0x45bfb1
mov ebx, dword [esp + 0xc]
mov bl, byte [ebx + eax]
xor byte [ecx], bl
inc eax
cmp eax, dword [esp + 4]
jne 0x45bfaa
xor eax, eax
inc edx
inc ecx
cmp edx, dword [esp]
jb 0x45bf98
sub dword [edi + 4], 4
mov edx, dword [edi + 4]
cmp edx, dword [edi]
jae 0x45bfcf
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45bfe8
push eax
call fcn.00467594
pop ecx
jmp 0x45c325
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x45c325
test byte [ebx + 1], 4
je 0x45c0c4
test byte [esi], 0x3a
jne 0x45c019
test byte [esi + 1], 4
je 0x45c0c4
cmp dword [esi + 8], 1
jne 0x45c0c4
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x45c07f
push esi
call fcn.00465a14
pop ecx
mov byte [esp + 0x10], al
test byte [ebx + 1], 4
mov esi, dword [ebx + 0x10]
je 0x45c042
cmp dword [ebx + 0xc], 0
je 0x45c042
mov eax, dword [ebx + 0x14]
cmp dword [eax], 1
je 0x45c06a
lea edx, [ebp + 1]
push edx
call fcn.004847cc
mov esi, eax
lea eax, [ebp + 1]
pop ecx
push eax
mov edx, dword [ebx + 0x10]
push edx
push esi
call fcn.004bc1ec
add esp, 0xc
push ebp
push esi
push ebx
call fcn.004679ec
add esp, 0xc
lea eax, [esi + ebp]
jmp 0x45c075
mov dl, byte [esp + 0x10]
xor byte [eax], dl
dec eax
mov ecx, ebp
add ebp, 0xffffffff
test ecx, ecx
jne 0x45c06f
sub dword [edi + 4], 4
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jae 0x45c09d
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov edx, dword [edi + 4]
mov eax, dword [edx]
test dword [eax], 0xf505
je 0x45c0b6
push eax
call fcn.00467594
pop ecx
jmp 0x45c325
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x45c325
test byte [ebx], 0x3a
jne 0x45c0dd
test byte [ebx + 1], 4
je 0x45c1a7
cmp dword [ebx + 8], 1
jne 0x45c1a7
test byte [esi + 1], 4
je 0x45c1a7
push ebx
call fcn.00467040
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
lea esi, [eax + ecx]
test ecx, ecx
je 0x45c115
dec ecx
dec esi
movsx eax, byte [esi]
cdq
xor dword [esp + 0x14], eax
xor dword [esp + 0x18], edx
test ecx, ecx
jne 0x45c103
mov dword [ebx], 8
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0xc], ecx
cmp dword [esp + 0x18], 0xffffffff
jne 0x45c13c
cmp dword [esp + 0x14], 0xc4653601
jb 0x45c153
jmp 0x45c13e
jl 0x45c153
cmp dword [esp + 0x18], 2
jne 0x45c151
cmp dword [esp + 0x14], 0x540be3ff
jbe 0x45c15a
jmp 0x45c153
jle 0x45c15a
mov eax, 0x14
jmp 0x45c15f
mov eax, 0xa
mov dword [ebx + 0x10], eax
sub dword [edi + 4], 4
mov edx, dword [edi + 4]
cmp edx, dword [edi]
jae 0x45c180
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45c199
push eax
call fcn.00467594
pop ecx
jmp 0x45c325
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x45c325
test byte [ebx], 0x3a
jne 0x45c1c0
test byte [ebx + 1], 4
je 0x45c279
cmp dword [ebx + 8], 1
jne 0x45c279
test byte [esi], 0x3a
jne 0x45c1d9
test byte [esi + 1], 4
je 0x45c279
cmp dword [esi + 8], 1
jne 0x45c279
push ebx
call fcn.00467040
pop ecx
push edx
push eax
push esi
call fcn.00467040
pop ecx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0xc], 0xffffffff
jne 0x45c20a
cmp dword [ebx + 8], 0xc4653601
jb 0x45c21f
jmp 0x45c20c
jl 0x45c21f
cmp dword [ebx + 0xc], 2
jne 0x45c21d
cmp dword [ebx + 8], 0x540be3ff
jbe 0x45c226
jmp 0x45c21f
jle 0x45c226
mov edx, 0x14
jmp 0x45c22b
mov edx, 0xa
mov dword [ebx + 0x10], edx
mov dword [ebx], 8
sub dword [edi + 4], 4
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jae 0x45c252
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45c26b
push eax
call fcn.00467594
pop ecx
jmp 0x45c325
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x45c325
push esi
push ebx
push 2
push 0x5a9711
push 0
push 0x440
push 1
call fcn.00488fd0
add esp, 0x1c
mov ebx, eax
test ebx, ebx
je 0x45c325
sub dword [edi + 4], 4
mov edx, dword [edi + 4]
cmp edx, dword [edi]
jae 0x45c2bb
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45c2d1
push eax
call fcn.00467594
pop ecx
jmp 0x45c2da
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
sub dword [edi + 4], 4
mov edx, dword [edi + 4]
cmp edx, dword [edi]
jae 0x45c2f8
push 0
push 0
push 0
push 0x233b
call fcn.00489298
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x45c30e
push eax
call fcn.00467594
pop ecx
jmp 0x45c317
mov edx, dword [edi + 4]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
push ebx
call fcn.00467464
pop ecx
push ebx
call fcn.00465428
pop ecx
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret