Function at 0x440b70
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 0x440ba3
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 0x440b90
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x440bb3
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x38]
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x58ffcc68]
xor ecx, eax
lea edx, [ecx + 0x430101f7]
mov edi, edx
and edi, 1
and ecx, 1
and edx, 0xfe
or edx, ecx
lea ecx, [edx + edi*2]
mov byte [esp + eax - 0x58ffcc68], cl
inc eax
cmp eax, 0x58ffcc6d
jne 0x440be0
mov ebx, dword [esp]
mov eax, dword [0x44c008]
test eax, eax
je 0x440c6f
xor ecx, ecx
mov edx, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x440c40
inc ecx
cmp eax, ecx
jne 0x440c30
jmp 0x440c6f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x440c6f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x4f8e89ef
mov word [esp + 4], 0
mov eax, 0x22
mov ecx, 0xdd
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x22]
mov edx, ecx
xor edx, eax
and edx, edi
xor edx, eax
add dl, 0x56
mov byte [esp + eax - 0x22], dl
inc eax
dec ecx
cmp eax, 0x28
jne 0x440c90
cmp ebx, dword [esp]
jne 0x440e54
push dword [esp + 0x10]
call fcn.0043a9d0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x4f4e494e
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
and ebx, 2
lea ecx, [edx + edx]
and ecx, 4
mov edi, edx
sub edi, ecx
lea ecx, [edi + ebx*2]
add cl, 0x72
xor cl, byte [esp + edx + 0xc]
add cl, 0xc6
mov byte [esp + edx + 0xc], cl
or edx, 0x3941792
mov edi, 2
sub edi, edx
sub edi, ebx
add edx, ebx
inc edx
and edi, 2
and edx, 0xd
sub edx, edi
cmp edx, 4
jb 0x440ce0
mov edx, dword [esp + 0xc]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov ebx, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx - 0x58ffcc68]
xor ecx, ebx
lea edi, [ecx + 0x430101f7]
mov ebp, edi
and ebp, 1
and ecx, 1
and edi, 0xfe
or edi, ecx
lea ecx, [edi + ebp*2]
mov byte [esp + ebx - 0x58ffcc68], cl
inc ebx
cmp ebx, 0x58ffcc6d
jne 0x440d40
mov ebx, dword [esp]
mov ebp, dword [0x44c008]
test ebp, ebp
je 0x440dd3
xor edi, edi
mov ecx, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x877f203a
je 0x440da0
inc edi
cmp ebp, edi
jne 0x440d90
jmp 0x440dd3
mov ebp, dword [ecx + edi*8 + 4]
cmp ebp, ebx
je 0x440dd3
lea ecx, [esp + 0x10]
lea edi, [esp + 0x14]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x44]
push 0x18
push ebp
push dword [0x44c010]
mov edi, eax
call fcn.0043d3e0
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x440e4b
test esi, esi
je 0x440de0
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x40], 0
je 0x440e4b
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x440e42
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x440dfe
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x440e42
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
push eax
call fcn.0043aa40
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret