Function at 0x440c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 4], 0xf8fbfa05
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x5492bfff
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x5492bffb]
mov esi, eax
or esi, edx
not edx
or edx, ecx
and edx, esi
mov esi, 1
sub esi, edx
mov ebx, esi
not ebx
and ebx, 1
mov ebp, 0xfb
sub ebp, edx
and ebp, 0xfe
or esi, 0xfe
xor esi, ebp
lea edx, [esi + ebx*2]
mov byte [esp + eax - 0x5492bffb], dl
inc eax
dec ecx
cmp eax, 0x5492c006
jne 0x440c60
mov ebp, dword [esp + 4]
mov eax, dword [0x44ce64]
test eax, eax
je 0x440cfe
xor ecx, ecx
mov edx, dword [0x44ce68]
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x440cd0
inc ecx
cmp eax, ecx
jne 0x440cc0
jmp 0x440cfe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x440cfe
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x440f93
mov dword [esp + 0xc], edi
push dword [esp + 0x14]
call fcn.0043a6f0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 0xf8fbfa05
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov edx, 0x5492bfff
xor edi, edi
movzx esi, byte [esp + edx - 0x5492bffb]
mov ecx, edx
or ecx, esi
not esi
or esi, edi
and esi, ecx
mov ecx, 1
sub ecx, esi
mov ebp, ecx
not ebp
and ebp, 1
mov ebx, 0xfb
sub ebx, esi
and ebx, 0xfe
or ecx, 0xfe
xor ecx, ebx
lea ecx, [ecx + ebp*2]
mov byte [esp + edx - 0x5492bffb], cl
inc edx
dec edi
cmp edx, 0x5492c006
jne 0x440d40
mov ebp, dword [esp + 4]
mov edx, dword [0x44ce64]
test edx, edx
je 0x440dc0
xor esi, esi
mov ecx, dword [0x44ce68]
mov edi, dword [esp + 0x44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0x4f699cd4
je 0x440dc6
inc esi
cmp edx, esi
jne 0x440db0
jmp 0x440dfc
mov edi, dword [esp + 0x44]
jmp 0x440dfc
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebp
mov esi, dword [esp]
je 0x440dff
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
push esi
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44ce6c]
mov esi, eax
call fcn.0043d480
add esp, 0x24
mov ebp, eax
mov eax, esi
mov esi, dword [esp]
test ebp, ebp
js 0x440f8a
mov edx, dword [esp + 0x38]
test edx, edx
je 0x440f11
cmp dword [esp + 0x34], 0
je 0x440f0a
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x440e2b
mov ebx, ecx
test ebx, ebx
je 0x440f01
add eax, 0x14
mov ecx, ebx
and ecx, 3
je 0x440e87
mov dword [esp + 0x10], ebx
xor esi, esi
mov ebx, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [eax]
xor edx, edx
test di, di
setne dl
lea eax, [eax + edx*2]
mov word [ebx], di
add ebx, 2
inc esi
cmp ecx, esi
jne 0x440e50
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, esi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
cmp ebx, 4
jae 0x440e8e
jmp 0x440f01
mov ecx, ebx
cmp ebx, 4
jb 0x440f01
mov edi, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x440ea0
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
mov eax, dword [esp + 0xc]
mov word [eax], 0
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x440f1e
mov eax, dword [esi + 4]
mov dword [ecx], eax
test edi, edi
je 0x440f8a
cmp dword [esp + 0x40], 0
je 0x440f85
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x440f34
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
xor ecx, 3
mov edx, eax
or edx, 0xfffffffc
and edx, ecx
mov ecx, eax
shr ecx, 2
mov ebx, dword [esp + 0x40]
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
mov edi, dword [esp + 0x44]
je 0x440f85
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [edi], eax
push esi
call fcn.0043a760
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret