Function at 0x445690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0xd8dbdac5
mov byte [esp + 0x10], 0
lea eax, [esp + 0xc]
mov ecx, 0xd0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov esi, ecx
and esi, edx
lea ebx, [ecx - 0x9ca4800]
or ebx, edx
not ebx
or ebx, esi
mov edx, ebx
and edx, 1
xor ebx, 1
lea edx, [ebx + edx*2]
add dl, 0x14
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xcb
jne 0x4456c0
mov ebx, dword [esp + 0xc]
mov eax, dword [0x450b18]
test eax, eax
je 0x44574e
xor ecx, ecx
mov edx, dword [0x450b1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x445720
inc ecx
cmp eax, ecx
jne 0x445710
jmp 0x44574e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44574e
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450b20]
push eax
call fcn.00441600
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x44599c
push dword [esp + 8]
call fcn.0043e630
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0xd8dbdac5
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
mov ebx, 0xd0
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx]
mov esi, ebx
and esi, ecx
lea ebp, [ebx - 0x9ca4800]
or ebp, ecx
not ebp
or ebp, esi
mov ecx, ebp
and ecx, 1
xor ebp, 1
lea ecx, [ecx*2]
add ecx, ebp
add cl, 0x14
mov byte [edx], cl
inc edx
dec ebx
cmp ebx, 0xcb
jne 0x445790
mov ebx, dword [esp + 0xc]
mov edx, dword [0x450b18]
test edx, edx
je 0x4457f0
xor esi, esi
mov ecx, dword [0x450b1c]
mov ebp, dword [esp + 0x40]
nop
nop
nop
cmp dword [ecx + esi*8], 0xc59b8bcb
je 0x4457f6
inc esi
cmp edx, esi
jne 0x4457e0
jmp 0x44582c
mov ebp, dword [esp + 0x40]
jmp 0x44582c
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebx
mov esi, dword [esp]
je 0x44582f
lea ecx, [esp + 8]
push ecx
push dword [esp + 8]
push esi
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x450b20]
push edx
mov esi, eax
call fcn.00441600
add esp, 0x24
mov ebx, eax
mov eax, esi
mov esi, dword [esp]
test ebx, ebx
js 0x445993
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44591b
test edi, edi
je 0x445914
mov edx, dword [esi + 0x10]
shr edx, 1
mov ecx, dword [ecx]
cmp ecx, edx
jb 0x445858
mov ecx, edx
test ecx, ecx
je 0x44590b
add eax, 0x14
mov edx, ecx
and ecx, 3
je 0x44589f
mov dword [esp + 4], edx
xor esi, esi
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 0x445870
mov edx, dword [esp + 4]
mov ecx, edx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp]
cmp edx, 4
jae 0x4458a6
jmp 0x44590b
mov ecx, edx
cmp edx, 4
jb 0x44590b
mov ebp, ebx
nop
nop
nop
nop
nop
nop
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 0x4458b0
mov esi, dword [esp]
mov ebx, ebp
mov ebp, dword [esp + 0x40]
mov word [edi], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x445928
mov eax, dword [esi + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x445993
mov dword [esp + 4], ebx
cmp dword [esp + 0x3c], 0
je 0x445989
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x445943
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x3c]
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
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
je 0x445989
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [ebp], eax
mov ebx, dword [esp + 4]
push esi
call fcn.0043e6b0
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret