Function at 0x445f60
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 + 8], 0x8c8d8a8b
mov word [esp + 0xc], 0
xor eax, eax
xor ecx, ecx
nop
nop
movzx edx, byte [esp + ecx + 8]
mov esi, eax
and esi, 4
mov ebx, ecx
xor ebx, 0xbb888ee2
add ebx, esi
xor ebx, edx
add ebx, 0x56553595
mov edx, ebx
and edx, 1
xor ebx, 1
lea edx, [ebx + edx*2]
mov byte [esp + ecx + 8], dl
inc ecx
add eax, 2
cmp ecx, 6
jne 0x445f80
mov ebx, dword [esp + 8]
mov eax, dword [0x451b44]
test eax, eax
je 0x44600e
xor ecx, ecx
mov edx, dword [0x451b48]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x445fe0
inc ecx
cmp eax, ecx
jne 0x445fd0
jmp 0x44600e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44600e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push eax
push dword [0x451b4c]
call fcn.00441940
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x446266
push dword [esp + 0x10]
call fcn.0043e0d0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x8c8d8a8b
mov word [esp + 0xc], 0
xor edx, edx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebp + 8]
mov esi, edx
and esi, 4
mov ebx, ebp
xor ebx, 0xbb888ee2
add ebx, esi
xor ebx, ecx
add ebx, 0x56553595
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
mov byte [esp + ebp + 8], cl
inc ebp
add edx, 2
cmp ebp, 6
jne 0x446050
mov ebx, dword [esp + 8]
mov edx, dword [0x451b44]
test edx, edx
je 0x4460b0
xor esi, esi
mov ecx, dword [0x451b48]
mov ebp, dword [esp + 0x40]
nop
nop
cmp dword [ecx + esi*8], 0x3602324e
je 0x4460b6
inc esi
cmp edx, esi
jne 0x4460a0
jmp 0x4460ec
mov ebp, dword [esp + 0x40]
jmp 0x4460ec
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebx
mov esi, dword [esp]
je 0x4460ef
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 8]
push esi
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x451b4c]
mov esi, eax
call fcn.00441940
add esp, 0x24
mov ebx, eax
mov eax, esi
mov esi, dword [esp]
test ebx, ebx
js 0x44625d
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4461db
test edi, edi
je 0x4461d4
mov edx, dword [esi + 0x10]
shr edx, 1
mov ecx, dword [ecx]
cmp ecx, edx
jb 0x446118
mov ecx, edx
test ecx, ecx
je 0x4461cb
add eax, 0x14
mov edx, ecx
and ecx, 3
je 0x44615f
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 0x446130
mov edx, dword [esp + 4]
mov ecx, edx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp]
cmp edx, 4
jae 0x446166
jmp 0x4461cb
mov ecx, edx
cmp edx, 4
jb 0x4461cb
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 0x446170
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 0x4461e8
mov eax, dword [esi + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x44625d
mov dword [esp + 4], ebx
cmp dword [esp + 0x3c], 0
je 0x446250
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
mov eax, dword [esi + 0xc]
cmp ebp, eax
jb 0x446206
mov ebp, eax
mov eax, dword [esp]
mov esi, dword [eax + 8]
add esi, dword [esp]
mov ecx, ebp
shr ecx, 2
mov edx, ebp
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 eax, ebp
and eax, 3
mov ecx, eax
shr 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]
mov ecx, ebp
test cl, 1
je 0x446250
movzx ecx, byte [edx + eax - 1]
mov byte [ebx + eax - 1], cl
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov ebx, dword [esp + 4]
push esi
call fcn.0043e170
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret