Function at 0x445880
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
xor ecx, ecx
test eax, eax
je 0x4458b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x4458a0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x4458c3
add ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov edi, dword [esp + 0x30]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0xd8dbdac5
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
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], cl
inc eax
cmp eax, 6
jne 0x4458f0
mov ebx, dword [esp]
mov eax, dword [0x450e9c]
test eax, eax
je 0x44598c
xor ecx, ecx
mov edx, dword [0x450ea0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x445960
inc ecx
cmp eax, ecx
jne 0x445950
jmp 0x44598c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44598c
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push edi
push 6
push dword [0x450ea4]
push eax
call fcn.00441230
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x612627f9
mov dword [esp + 4], 0
xor eax, eax
xor ecx, ecx
nop
movzx esi, byte [esp + ecx]
mov ebp, eax
and ebp, 2
mov edx, ecx
xor edx, 0xeff14379
add edx, ebp
xor edx, esi
mov esi, edx
and esi, 1
or edx, 1
add edx, esi
add dl, 0xa2
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x4459a0
cmp ebx, dword [esp]
jne 0x445b35
push dword [esp + 0xc]
call fcn.0043dd20
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp], 0xd8dbdac5
mov word [esp + 4], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx]
mov ebp, edx
and ebp, 1
xor ebp, 0xd1695251
mov eax, edx
and eax, 6
sub eax, ebp
xor eax, ebx
add eax, 0x5333f796
mov ebx, eax
xor ebx, 0x3c255c02
and eax, 0x1caa1fd
add eax, eax
sub eax, ebx
mov ebx, eax
and ebx, 1
xor eax, 1
lea eax, [eax + ebx*2]
mov byte [esp + edx], al
inc edx
cmp edx, 6
jne 0x445a00
mov ebx, dword [esp]
mov eax, dword [0x450e9c]
test eax, eax
je 0x445a9b
xor edx, edx
mov ebp, dword [0x450ea0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0xbbe848dd
je 0x445a71
inc edx
cmp eax, edx
jne 0x445a60
jmp 0x445a9b
mov edx, dword [ebp + edx*8 + 4]
cmp edx, ebx
je 0x445a9b
lea eax, [esp + 0xc]
lea ebx, [esp + 0x10]
push eax
push ecx
push esi
push 2
push ebx
push edi
push 6
push dword [0x450ea4]
push edx
call fcn.00441230
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x445b2c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x445ab0
mov eax, dword [esi + 4]
mov dword [ecx], eax
cmp dword [esp + 0x40], 0
je 0x445b2c
cmp dword [esp + 0x3c], 0
je 0x445b23
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x445acd
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, dword [esp + 0x3c]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea ebp, [esi + ecx]
add ebp, 0xc
mov ecx, eax
xor ecx, 0xfffffffc
mov edx, eax
or edx, 3
and edx, ecx
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 8]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ecx, dword [esp + 8]
test al, 1
je 0x445b23
and edx, 0xfffffffe
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
push esi
call fcn.0043dd60
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret