Function at 0x445320
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], 0xfcfdfafb
xor eax, eax
mov edx, eax
and edx, 2
xor edx, 0x56
mov ecx, eax
and ecx, 1
sub ecx, edx
xor cl, byte [esp + eax]
add cl, 0xae
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x445330
mov ebx, dword [esp]
mov esi, dword [0x45064c]
test esi, esi
je 0x4453ae
xor ecx, ecx
mov edx, dword [0x450650]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x445380
inc ecx
cmp esi, ecx
jne 0x445370
jmp 0x4453ae
mov edx, dword [edx + ecx*8 + 4]
cmp edx, ebx
je 0x4453ae
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450654]
push edx
call fcn.00441b40
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xd19e9f79
mov byte [esp + 4], 0
mov eax, esp
mov ecx, 0x9a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [eax]
lea edx, [ecx - 0x68c7bb00]
or edx, edi
and edi, ecx
not edx
or edx, edi
mov ebp, edx
and ebp, 0x60011804
mov esi, edx
and esi, 2
mov edi, esi
xor edi, 2
imul edi, ebp
or ebp, 2
imul ebp, esi
mov esi, edx
xor esi, 6
add esi, edi
add esi, ebp
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x95
jne 0x4453d0
mov esi, ebx
cmp ebx, dword [esp]
jne 0x44557b
push dword [esp + 8]
call fcn.0043e7c0
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 8]
mov dword [esp], 0xfcfdfafb
xor esi, esi
mov edi, esi
and edi, 2
xor edi, 0x56
mov edx, esi
and edx, 1
sub edx, edi
xor dl, byte [esp + esi]
add dl, 0xae
mov byte [esp + esi], dl
inc esi
cmp esi, 4
jne 0x445440
mov esi, dword [esp]
mov edx, dword [0x45064c]
test edx, edx
je 0x4454c1
xor edi, edi
mov ebp, dword [0x450650]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x445491
inc edi
cmp edx, edi
jne 0x445480
jmp 0x4454c1
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
je 0x4454c1
lea esi, [esp + 8]
push esi
push ecx
push ebx
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450654]
push edx
mov edi, eax
call fcn.00441b40
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x34]
test edi, edi
mov ebp, dword [esp + 0x30]
je 0x445572
test esi, esi
js 0x445572
test ebp, ebp
je 0x44556b
mov ecx, dword [ebx + 0xc]
shr ecx, 1
mov edx, dword [edi]
cmp edx, ecx
jb 0x4454ee
mov edx, ecx
test edx, edx
je 0x445565
add eax, 0x10
test dl, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov ecx, edx
je 0x445526
not ecx
lea ecx, [ecx + edx*2]
movzx esi, word [eax]
xor ebx, ebx
test si, si
setne bl
lea eax, [eax + ebx*2]
mov word [ebp], si
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
add ebp, 2
cmp edx, 1
je 0x445565
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [ebp], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [esi + eax*2]
mov word [ebp + 2], dx
add ebp, 4
add ecx, 0xfffffffe
jne 0x445530
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov word [ebp], 0
mov eax, dword [ebx + 0xc]
shr eax, 1
mov dword [edi], eax
push ebx
call fcn.0043e820
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret