Function at 0x441440
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 0x441473
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 0x441460
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x441483
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x40]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x47
xor cl, byte [esp + eax]
add cl, 0x9d
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x4414a0
mov ebx, dword [esp]
mov eax, dword [0x44c3b8]
test eax, eax
je 0x441519
xor ecx, ecx
mov edx, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x4414ea
mov esi, ecx
and esi, 1
xor ecx, 1
lea ecx, [ecx + esi*2]
cmp ecx, eax
jb 0x4414d0
jmp 0x441519
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x441519
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 6
push eax
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x692a2b01
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xf7
xor cl, byte [esp + eax]
add cl, 0x2d
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x441530
cmp ebx, dword [esp]
jne 0x4416ab
push dword [esp + 8]
call fcn.00439c70
add esp, 4
mov esi, dword [esp + 8]
mov dword [esp], 0x93929192
mov byte [esp + 4], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x1c
xor bl, byte [esp + edx]
add bl, 0x74
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0x441580
mov edx, dword [esp]
mov dword [esp + 0xc], 0x282b2a25
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
add cl, 0x47
xor cl, byte [esp + ebx + 0xc]
add cl, 0x9d
mov byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 4
jne 0x4415b0
mov ebx, dword [esp + 0xc]
mov ebp, dword [0x44c3b8]
test ebp, ebp
je 0x441628
mov ecx, edx
mov edx, esi
xor edi, edi
mov esi, dword [0x44c3bc]
cmp dword [esi + edi*8], 0xc0a4c970
je 0x4415f4
inc edi
cmp ebp, edi
jne 0x4415e0
mov edi, dword [esp + 0x40]
jmp 0x441628
mov ebp, dword [esi + edi*8 + 4]
cmp ebp, ebx
mov edi, dword [esp + 0x40]
je 0x441628
lea ebx, [esp + 8]
lea esi, [esp + 0x10]
push ebx
push edx
push eax
push ecx
push esi
push dword [esp + 0x44]
push 6
push ebp
push dword [0x44c3c0]
mov esi, eax
call fcn.0043ce20
add esp, 0x24
mov ebx, eax
mov eax, esi
test ebx, ebx
mov edx, dword [esp + 0x3c]
js 0x4416a2
mov esi, dword [esp + 0x38]
test esi, esi
je 0x44163d
mov ecx, dword [eax + 4]
mov dword [esi], ecx
test edi, edi
je 0x4416a2
test edx, edx
je 0x44169d
mov edx, dword [edi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x441650
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x3c]
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x18], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov edi, dword [esp + 0x40]
je 0x44169d
and edx, 2
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [edi], ecx
push eax
call fcn.00439cf0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret