Function at 0x445970
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [esp + 0x34]
mov dword [esp], 0x8c8d8a8b
mov word [esp + 4], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
movzx edx, byte [esp + ecx]
mov esi, eax
and esi, 4
mov edi, ecx
xor edi, 0xbb888ee2
add edi, esi
xor edi, edx
add edi, 0x56553595
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 6
jne 0x445990
mov esi, dword [esp]
mov eax, dword [0x451b44]
test eax, eax
je 0x445a1e
xor ecx, ecx
mov edx, dword [0x451b48]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x4459f0
inc ecx
cmp eax, ecx
jne 0x4459e0
jmp 0x445a1e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x445a1e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push eax
push dword [0x451b4c]
call fcn.00441940
add esp, 0x24
mov esi, eax
mov dword [esp], 0x296a6b81
mov word [esp + 4], 0
mov eax, 3
mov ecx, 0x28
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ecx
and edi, 0x2d
mov edx, eax
and edx, 2
or edx, edi
xor dl, byte [esp + eax - 3]
xor dl, 0xbd
add dl, 0xd
mov byte [esp + eax - 3], dl
inc eax
dec ecx
cmp eax, 9
jne 0x445a40
cmp esi, dword [esp]
jne 0x445c57
mov dword [esp + 8], ebx
push dword [esp + 0x14]
call fcn.0043e0d0
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp], 0x8c8d8a8b
mov word [esp + 4], 0
xor ebx, ebx
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx]
mov ebp, ebx
and ebp, 4
mov esi, ecx
xor esi, 0xbb888ee2
add esi, ebp
xor esi, edi
add esi, 0x56553595
mov edi, esi
and edi, 1
xor esi, 1
lea edx, [esi + edi*2]
mov byte [esp + ecx], dl
inc ecx
add ebx, 2
cmp ecx, 6
jne 0x445aa0
mov esi, dword [esp]
mov edx, dword [0x451b44]
test edx, edx
je 0x445b05
xor edi, edi
mov ebp, dword [0x451b48]
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x445b94
inc edi
cmp edx, edi
jne 0x445af0
jmp 0x445b09
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xc]
test ebx, ebx
mov ecx, dword [esp + 0x34]
je 0x445c4e
test esi, esi
js 0x445c4e
test ecx, ecx
je 0x445c47
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x445b36
mov edx, ecx
test edx, edx
je 0x445c3a
add eax, 0x10
mov ecx, edx
and ecx, 3
je 0x445bd4
mov dword [esp + 0x10], edx
xor edi, edi
mov ebp, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x445b60
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x10]
mov ebp, edx
sub ebp, edi
mov ebx, dword [esp + 0x38]
cmp edx, 4
jae 0x445bdb
jmp 0x445c3a
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, dword [esp + 0xc]
je 0x445b0d
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
push ebp
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push edx
push dword [0x451b4c]
mov edi, eax
call fcn.00441940
add esp, 0x24
mov esi, eax
mov eax, edi
jmp 0x445b0d
mov ebp, edx
cmp edx, 4
jb 0x445c3a
mov ebx, dword [esp + 8]
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x445be0
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 8]
mov word [eax], 0
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [ebx], eax
push ebp
call fcn.0043e170
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret