Function at 0x440c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 8], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xe8ebeae5
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc]
mov esi, eax
and esi, 1
xor esi, 0xfdd18721
mov edx, eax
and edx, 6
sub edx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
mov edi, 0x73fca807
sub edi, edx
or edi, esi
lea esi, [edx + edi]
add esi, 0x8c0357f9
mov edi, 7
sub edi, edx
and edi, ecx
or edi, esi
mov ecx, edi
and ecx, 0x4c
xor edi, 0xcc
lea ecx, [edi + ecx*2]
inc cl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440c70
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4528cc]
test ecx, ecx
je 0x440d1e
xor edx, edx
mov esi, dword [0x4528d0]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x440cf0
inc edx
cmp ecx, edx
jne 0x440ce0
jmp 0x440d1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x440d1e
lea eax, [esp + 0x2c]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4528d4]
push ecx
call fcn.004428e0
add esp, 0x24
test eax, eax
js 0x44146a
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x440dc2
push 0xf8eb88df
push dword [0x4528c0]
call fcn.00445090
add esp, 8
test eax, eax
je 0x440d7e
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x440dbb
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x440d93
cmp dword [esp + 0xc], 0
je 0x440d93
mov eax, dword [esp + 8]
mov dword [eax + 4], 3
jmp 0x440dbb
mov eax, dword [esp + 8]
mov dword [eax + 4], 1
mov dword [esp + 0x38], 0
jmp 0x440de1
lea eax, [esp + 0x50]
push eax
call fcn.00445990
add esp, 4
test al, al
je 0x440dbb
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x440db4
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], 0x7fff
cmp eax, 2
je 0x440dd7
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0xfffeffff
je 0x440de9
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
mov edx, 0x10000
mov dword [esp + 4], 0
mov dword [esp], 0
xor esi, esi
jmp 0x440e70
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
nop
nop
nop
nop
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
adc esi, dword [esp + 0x54]
cmp edx, dword [esp + 0x34]
mov eax, esi
sbb eax, dword [esp + 0x38]
jae 0x4413b0
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
push esi
push edx
call fcn.004407a0
mov edx, dword [esp + 0x40]
cmp eax, 0xbfffffff
ja 0x4413b0
mov dword [esp + 0x3c], esi
test eax, eax
js 0x440e50
cmp dword [esp + 0x64], 0x1000
jne 0x440e50
test byte [esp + 0x60], 0x66
je 0x440e50
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x2c], esi
mov edi, dword [esp + 0x4c]
mov eax, 0
sbb eax, edi
mov ebx, dword [esp + 0x3c]
jae 0x441082
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], 0xe8ebeae5
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc]
mov edi, eax
and edi, 1
xor edi, 0xfdd18721
mov edx, eax
and edx, 6
sub edx, edi
lea edi, [ecx + ecx]
not edi
add edi, ecx
mov ebx, 0x73fca807
sub ebx, edx
or ebx, edi
lea edi, [edx + ebx]
add edi, 0x8c0357f9
mov ebx, 7
sub ebx, edx
and ebx, ecx
or ebx, edi
mov ecx, ebx
and ecx, 0x4c
xor ebx, 0xcc
lea ecx, [ebx + ecx*2]
inc cl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440ef0
mov eax, dword [0x4528cc]
test eax, eax
je 0x440f9a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [0x4528d0]
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x731cdbf3
je 0x440f70
inc edx
cmp eax, edx
jne 0x440f60
jmp 0x440f9a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x440f9a
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4528d4]
push eax
call fcn.004428e0
add esp, 0x1c
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0xe8ebeae5
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc]
mov edi, eax
and edi, 1
xor edi, 0xfdd18721
mov edx, eax
and edx, 6
sub edx, edi
lea edi, [ecx + ecx]
not edi
add edi, ecx
mov ebx, 0x73fca807
sub ebx, edx
or ebx, edi
lea edi, [edx + ebx]
add edi, 0x8c0357f9
mov ebx, 7
sub ebx, edx
and ebx, ecx
or ebx, edi
mov ecx, ebx
and ecx, 0x4c
xor ebx, 0xcc
lea ecx, [ebx + ecx*2]
inc cl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440fc0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4528cc]
test ecx, ecx
je 0x44106e
xor edx, edx
mov edi, dword [0x4528d0]
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x441040
inc edx
cmp ecx, edx
jne 0x441030
jmp 0x44106e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x44106e
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push dword [0x4528d4]
push ecx
call fcn.004428e0
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
js 0x4413b0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x70]
push eax
push edi
push esi
push dword [esp + 0x24]
push ebx
push edx
call fcn.00440a70
test eax, eax
jns 0x4410a7
cmp eax, 0x8000000d
jne 0x440e50
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x440e50
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.00441480
add esp, 0x18
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
cmp eax, ecx
mov ebx, dword [esp]
je 0x440e39
mov dword [esp + 0x68], eax
mov edx, dword [esp + 4]
jmp 0x44111b
mov eax, dword [esp + 0x28]
mov dword [edx + edi], esi
mov dword [edx + edi + 4], ecx
add ebx, 8
add eax, 4
cmp eax, dword [esp + 0x5c]
je 0x441362
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
mov ecx, eax
not ecx
and ecx, esi
not esi
and esi, eax
sub esi, ecx
mov ecx, esi
sar ecx, 0x1f
add esi, dword [esp + 0x40]
adc ecx, dword [esp + 0x3c]
mov edi, ebx
sub edi, edx
cmp ebx, dword [esp + 0x20]
jne 0x441100
mov dword [esp + 0x6c], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x1c], edi
mov ecx, edi
sar ecx, 3
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x441168
mov edi, eax
lea eax, [edi*8]
push eax
call fcn.0040cbc0
add esp, 4
mov ecx, eax
mov edx, dword [esp + 4]
test edx, edx
je 0x441344
mov dword [esp + 0x20], edi
cmp ecx, edx
mov dword [esp + 0x24], ecx
jbe 0x441252
cmp ebx, ecx
jbe 0x441252
cmp dword [esp + 0x1c], 0
je 0x441330
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x1c]
add eax, edx
dec eax
mov ecx, dword [esp + 0x24]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x4411e7
mov dword [esp], ebx
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4411d0
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp]
mov edi, dword [esp + 4]
sub edi, ebx
cmp edi, 0xfffffff8
ja 0x441330
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x441200
jmp 0x441330
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, dword [esp + 0x24]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, ebx
not ecx
or ecx, 0xfffffffc
add ecx, ebx
mov eax, dword [esp + 0x24]
add eax, ecx
inc eax
add edx, ecx
inc edx
mov ecx, ebx
and ecx, 3
mov edi, ecx
not edi
or edi, 1
add edi, ecx
mov dword [esp], edi
shr ecx, 1
mov dword [esp + 0x30], edx
mov edi, eax
mov ebx, dword [esp + 0x30]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [esp]
inc ebx
je 0x441330
mov ecx, dword [esp + 0x1c]
and ecx, 2
add edx, ecx
add eax, ecx
mov ecx, ebx
and ecx, 7
je 0x4412d6
mov dword [esp + 0x30], ebx
xor edi, edi
nop
nop
movzx ebx, byte [edx + edi]
mov byte [eax + edi], bl
inc edi
cmp ecx, edi
jne 0x4412c0
add edx, edi
add eax, edi
mov ebx, dword [esp + 0x30]
sub ebx, edi
cmp dword [esp], 7
jb 0x441330
xor edi, edi
nop
nop
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
movzx ecx, byte [edx + edi + 1]
mov byte [eax + edi + 1], cl
movzx ecx, byte [edx + edi + 2]
mov byte [eax + edi + 2], cl
movzx ecx, byte [edx + edi + 3]
mov byte [eax + edi + 3], cl
movzx ecx, byte [edx + edi + 4]
mov byte [eax + edi + 4], cl
movzx ecx, byte [edx + edi + 5]
mov byte [eax + edi + 5], cl
movzx ecx, byte [edx + edi + 6]
mov byte [eax + edi + 6], cl
movzx ecx, byte [edx + edi + 7]
mov byte [eax + edi + 7], cl
add edi, 8
cmp ebx, edi
jne 0x4412e0
nop
nop
nop
push dword [esp + 4]
call fcn.0040cbd0
add esp, 4
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [ecx + edi*8]
mov dword [esp + 0x20], eax
mov ebx, ecx
mov edi, dword [esp + 0x1c]
add ebx, edi
mov edx, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
jmp 0x441104
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov dword [eax], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4413a4
mov dword [esp + 4], edx
cmp eax, dword [esp + 0x5c]
je 0x44139c
mov dword [esp], ebx
push eax
call fcn.0040cbd0
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x440e50
mov dword [esp], ebx
jmp 0x440e50
mov dword [esp], ebx
mov dword [esp + 4], edx
jmp 0x440e50
mov dword [esp + 0xc], 0xe8ebeae5
mov byte [esp + 0x10], 0
xor eax, eax
nop
movzx ecx, byte [esp + eax + 0xc]
mov esi, eax
and esi, 1
xor esi, 0xfdd18721
mov edx, eax
and edx, 6
sub edx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
mov edi, 0x73fca807
sub edi, edx
or edi, esi
lea esi, [edx + edi]
add esi, 0x8c0357f9
mov edi, 7
sub edi, edx
and edi, ecx
or edi, esi
mov ecx, edi
and ecx, 0x4c
xor edi, 0xcc
lea ecx, [edi + ecx*2]
inc cl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x4413c0
mov eax, dword [0x4528cc]
test eax, eax
je 0x44146a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x4528d0]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x441440
inc edx
cmp eax, edx
jne 0x441430
jmp 0x44146a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x44146a
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4528d4]
push eax
call fcn.004428e0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10