Function at 0x440da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x440deb
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 0x440dc0
lea esi, [eax + ecx]
add esi, 0xfffffffe
mov edx, eax
not edx
and edx, esi
add ecx, eax
mov esi, 1
sub esi, ecx
and esi, eax
sub edx, esi
and edx, 0xfffe
mov ecx, edx
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x440dfb
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x44]
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x92
xor cl, byte [esp + eax]
add cl, 0x26
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x440e20
mov ebx, dword [esp]
mov eax, dword [0x44d300]
test eax, eax
je 0x440e8f
xor ecx, ecx
mov edx, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x440e60
inc ecx
cmp eax, ecx
jne 0x440e50
jmp 0x440e8f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x440e8f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x44d308]
call fcn.0043d770
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x793a3bd1
mov dword [esp + 4], 0
mov eax, 0xe55bd04b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x1aa42fb5]
mov ecx, eax
or ecx, edx
and edx, eax
sub ecx, edx
add cl, 0x89
mov byte [esp + eax + 0x1aa42fb5], cl
inc eax
cmp eax, 0xe55bd053
jne 0x440eb0
cmp ebx, dword [esp]
jne 0x44104d
push dword [esp + 0x10]
call fcn.0043ad80
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], 0x43424142
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
or al, 0x70
xor al, byte [esp + edx + 0xc]
add al, 0xd0
mov byte [esp + edx + 0xc], al
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
cmp edx, 4
jb 0x440f00
mov edx, dword [esp + 0xc]
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
add al, 0x92
xor al, byte [esp + ebx]
add al, 0x26
mov byte [esp + ebx], al
inc ebx
cmp ebx, 6
jne 0x440f40
mov ebx, dword [esp]
mov ebp, dword [0x44d300]
test ebp, ebp
je 0x440fb6
mov esi, edi
xor eax, eax
mov edi, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0x877f203a
je 0x440f82
inc eax
cmp ebp, eax
jne 0x440f70
mov edi, esi
jmp 0x440fb6
mov ebp, dword [edi + eax*8 + 4]
cmp ebp, ebx
mov edi, esi
je 0x440fb6
lea eax, [esp + 0x10]
lea edi, [esp + 0x14]
push eax
push ecx
mov eax, dword [esp + 0x10]
push eax
push edx
push edi
mov edi, esi
push dword [esp + 0x48]
push 0x18
push ebp
push dword [0x44d308]
call fcn.0043d770
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x441041
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x440fcf
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esi], eax
test edi, edi
je 0x441041
cmp dword [esp + 0x40], 0
je 0x441038
mov eax, dword [edi]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x440fe9
mov eax, ecx
mov ebp, dword [esp + 8]
lea edx, [ebp + 0xc]
mov ecx, eax
shr ecx, 2
mov esi, dword [esp + 0x40]
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add esi, ecx
add ebp, ecx
add ebp, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x1c], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov edi, dword [esp + 0x44]
je 0x441038
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + edx - 1]
mov byte [esi + edx - 1], al
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [edi], eax
push dword [esp + 8]
call fcn.0043ae30
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret