Function at 0x445520
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov dword [esp + 8], 0xd8dbdac5
mov word [esp + 0xc], 0
xor eax, eax
movzx edx, byte [esp + eax + 8]
mov esi, eax
and esi, 1
xor esi, 0xd1695251
mov ecx, eax
and ecx, 6
sub ecx, esi
xor ecx, edx
add ecx, 0x5333f796
mov edx, ecx
xor edx, 0x3c255c02
and ecx, 0x1caa1fd
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 6
jne 0x445540
mov esi, dword [esp + 8]
mov eax, dword [0x450e9c]
test eax, eax
je 0x4455de
xor ecx, ecx
mov edx, dword [0x450ea0]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x4455b0
inc ecx
cmp eax, ecx
jne 0x4455a0
jmp 0x4455de
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4455de
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450ea4]
push eax
call fcn.00441230
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x445870
push dword [esp + 0x10]
call fcn.0043dd20
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd8dbdac5
mov word [esp + 0xc], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 8]
mov ebx, edx
and ebx, 1
xor ebx, 0xd1695251
mov esi, edx
and esi, 6
sub esi, ebx
xor esi, ecx
add esi, 0x5333f796
mov ecx, esi
xor ecx, 0x3c255c02
and esi, 0x1caa1fd
add esi, esi
sub esi, ecx
mov ecx, esi
and ecx, 1
xor esi, 1
lea ecx, [esi + ecx*2]
mov byte [esp + edx + 8], cl
inc edx
cmp edx, 6
jne 0x445620
mov esi, dword [esp + 8]
mov edx, dword [0x450e9c]
test edx, edx
je 0x4456a6
mov ebp, esi
xor esi, esi
mov ecx, dword [0x450ea0]
mov ebx, dword [esp + 0x3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0xc59b8bcb
je 0x4456ac
inc esi
cmp edx, esi
jne 0x445690
mov esi, ebp
mov ebp, dword [esp + 0x40]
jmp 0x4456ea
mov ebx, dword [esp + 0x3c]
jmp 0x4456ea
mov edx, dword [ecx + esi*8 + 4]
mov esi, ebp
cmp edx, ebp
mov ebp, dword [esp + 0x40]
je 0x4456ea
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 8]
push dword [esp + 8]
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450ea4]
push edx
mov esi, eax
call fcn.00441230
add esp, 0x24
mov ecx, eax
mov eax, esi
mov esi, ecx
test esi, esi
js 0x445865
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4457dd
test edi, edi
je 0x4457d3
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x445716
mov ebp, ecx
test ebp, ebp
je 0x44575d
add eax, 0x14
mov ecx, ebp
and ecx, 3
mov dword [esp + 4], esi
je 0x445763
mov ebx, ebp
xor esi, esi
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x445730
mov ebp, ebx
mov ecx, ebx
sub ecx, esi
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 4]
jmp 0x445765
mov ebp, dword [esp + 0x40]
jmp 0x4457ce
mov ecx, ebp
cmp ebp, 4
mov ebp, dword [esp + 0x40]
jb 0x4457ce
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x445770
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 4]
mov word [edi], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4457ed
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x445865
mov dword [esp + 4], esi
test ebx, ebx
je 0x445855
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x44580b
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
xor ecx, 0xfffffffc
mov esi, eax
or esi, 3
and esi, ecx
mov ecx, esi
shr ecx, 1
mov ebp, ebx
mov ebx, edx
mov edi, ebp
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x445855
and esi, 0xfffffffe
movzx eax, byte [edx + esi]
mov byte [ebp + esi], al
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov esi, dword [esp + 4]
push dword [esp]
call fcn.0043dd60
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret