Function at 0x445600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], 0x2c2d2e2f
xor eax, eax
nop
nop
nop
movzx ecx, byte [esp + eax + 0x14]
lea edx, [ecx + ecx]
not edx
add edx, ecx
and edx, 0x69
and ecx, 0xffffff96
or ecx, edx
mov edx, eax
and edx, 1
xor edx, 0x230c01
mov esi, eax
xor esi, 0x2ce74c11
mov ebp, eax
or ebp, 0x2cc44012
and ebp, esi
mov ebx, edx
xor ebx, ebp
not ebp
and ebp, edx
add ebx, edx
sub ebx, ebp
xor ebx, ecx
add bl, 0xa8
mov byte [esp + eax + 0x14], bl
inc eax
cmp eax, 4
jne 0x445620
mov esi, dword [esp + 0x14]
mov eax, dword [0x450d3c]
test eax, eax
je 0x4456ce
xor ecx, ecx
mov edx, dword [0x450d40]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x4456a0
inc ecx
cmp eax, ecx
jne 0x445690
jmp 0x4456ce
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4456ce
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x450d44]
push eax
call fcn.00441410
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x44593c
push dword [esp + 0x10]
call fcn.0043e6c0
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x18], 0x2c2d2e2f
xor ebp, ebp
nop
nop
nop
nop
movzx ebx, byte [esp + ebp + 0x18]
lea ecx, [ebx + ebx]
not ecx
add ecx, ebx
and ecx, 0x69
and ebx, 0xffffff96
or ebx, ecx
mov esi, ebp
and esi, 1
xor esi, 0x230c01
mov ecx, ebp
xor ecx, 0x2ce74c11
mov edx, ebp
or edx, 0x2cc44012
and edx, ecx
mov ecx, esi
xor ecx, edx
not edx
and edx, esi
add ecx, esi
sub ecx, edx
xor ecx, ebx
add cl, 0xa8
mov byte [esp + ebp + 0x18], cl
inc ebp
cmp ebp, 4
jne 0x445700
mov esi, dword [esp + 0x18]
mov edx, dword [0x450d3c]
test edx, edx
je 0x445783
mov dword [esp], esi
xor ecx, ecx
mov esi, dword [0x450d40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 8]
nop
nop
nop
cmp dword [esi + ecx*8], 0xc59b8bcb
je 0x44578d
inc ecx
cmp edx, ecx
jne 0x445770
mov esi, dword [esp]
jmp 0x4457c5
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 8]
jmp 0x4457c5
mov edx, dword [esi + ecx*8 + 4]
mov esi, dword [esp]
cmp edx, esi
je 0x4457c5
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 8]
push ebp
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x450d44]
push edx
mov esi, eax
call fcn.00441410
add esp, 0x24
mov ecx, eax
mov eax, esi
mov esi, ecx
test esi, esi
js 0x445933
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4458b9
test edi, edi
je 0x4458b2
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x4457ee
mov ebx, ecx
test ebx, ebx
je 0x44583e
add eax, 0x14
mov ecx, ebx
and ecx, 3
mov dword [esp], esi
je 0x445844
mov dword [esp + 4], ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
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 0x445810
mov ebx, dword [esp + 4]
mov ecx, ebx
sub ecx, esi
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 8]
mov esi, dword [esp]
jmp 0x445846
mov ebx, dword [esp + 0x48]
jmp 0x4458ad
mov ecx, ebx
cmp ebx, 4
mov ebx, dword [esp + 0x48]
jb 0x4458ad
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 0x445850
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp]
mov word [edi], 0
mov eax, dword [ebp + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4458c6
mov eax, dword [ebp + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x445933
mov dword [esp], esi
cmp dword [esp + 0x44], 0
je 0x44592b
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jb 0x4458df
mov eax, ecx
mov esi, dword [ebp + 8]
add esi, ebp
mov ecx, eax
xor ecx, 3
mov edx, eax
or edx, 0xfffffffc
and edx, ecx
mov ecx, eax
shr ecx, 2
mov edi, dword [esp + 0x44]
add dword [esp + 0xc], edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, dword [esp + 0xc]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0xc]
test al, 1
je 0x44592b
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov esi, dword [esp]
push ebp
call fcn.0043e770
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret