Function at 0x445890
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0x2f
xor cl, byte [esp + eax]
add cl, 0x15
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x4458b0
mov esi, dword [esp]
mov eax, dword [0x451e48]
test eax, eax
je 0x44592e
xor ecx, ecx
mov edx, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x445900
inc ecx
cmp eax, ecx
jne 0x4458f0
jmp 0x44592e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44592e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push eax
push dword [0x451e50]
call fcn.00441a80
add esp, 0x24
mov esi, eax
mov dword [esp], 0x91cecf29
mov dword [esp + 4], 0
mov eax, 0x20a1a3ad
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x20a1a3ad]
xor ecx, eax
mov edx, ecx
and edx, 0x81819c
mov edi, ecx
and edi, 2
mov ebp, edi
xor ebp, 2
imul ebp, edx
or edx, 2
imul edx, edi
add edx, ebp
xor ecx, 0x5cd7cd9e
mov edi, edx
and edi, ecx
xor ecx, edx
lea ecx, [ecx + edi*2]
inc cl
mov byte [esp + eax - 0x20a1a3ad], cl
inc eax
cmp eax, 0x20a1a3b5
jne 0x445950
cmp esi, dword [esp]
jne 0x445b4f
push dword [esp + 0xc]
call fcn.0043e5b0
add esp, 4
mov ebp, eax
mov edi, dword [esp + 0xc]
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
add cl, 0x2f
xor cl, byte [esp + edx]
add cl, 0x15
mov byte [esp + edx], cl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 8
jb 0x4459d0
mov esi, dword [esp]
mov edx, dword [0x451e48]
test edx, edx
je 0x445a58
mov dword [esp + 8], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x445a23
inc edi
cmp edx, edi
jne 0x445a10
mov ebp, ecx
jmp 0x445a58
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
je 0x445a58
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0xc]
push ebp
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x451e50]
mov edi, eax
call fcn.00441a80
add esp, 0x24
mov esi, eax
mov eax, edi
mov edx, dword [esp + 0x34]
test edx, edx
je 0x445b46
test esi, esi
js 0x445b46
test ebx, ebx
je 0x445b3f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x445a81
mov edi, ecx
test edi, edi
mov dword [esp + 0x10], ebp
je 0x445b36
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x445ace
mov dword [esp + 8], edi
xor edi, edi
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x445aa0
mov ecx, dword [esp + 8]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x445ae0
jmp 0x445b36
mov ebp, edi
cmp edi, 4
jb 0x445b36
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x445ae0
mov edx, dword [esp + 0x34]
mov word [ebx], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [edx], eax
push ebp
call fcn.0043e640
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret