Function at 0x441010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, ecx
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov dword [esp], 0xe0e7e6e5
xor eax, eax
nop
nop
nop
mov edx, eax
add dl, 0x89
xor dl, byte [esp + eax]
xor dl, 0xa0
add dl, 0x33
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne 0x441040
mov eax, dword [esp]
mov edx, dword [0x451ae0]
test edx, edx
je 0x4410b3
xor ebx, ebx
mov ebp, dword [0x451ae4]
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xf3285e74
je 0x441081
inc ebx
cmp edx, ebx
jne 0x441070
jmp 0x4410b3
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x4410b3
lea eax, [esp + 0x20]
lea ebx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
push 6
push dword [0x451ae8]
push edx
mov ebx, ecx
call fcn.004425f0
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x44111e
push 0
push 0
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push dword [esp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.00440530
test eax, eax
jns 0x4410e9
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x4411ea
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov esi, dword [eax + 8]
add esi, ecx
sub esi, dword [esp + 0x40]
xor eax, eax
mov edx, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
cmp esi, ecx
jbe 0x4411ea
mov eax, dword [esp + 0x40]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0x10]
jmp 0x441179
xor eax, eax
xor edx, edx
jmp 0x441272
lea ebx, [edx + 1]
and eax, 2
mov esi, edx
sub esi, eax
add esi, 2
mov dword [esp + 0x14], esi
mov esi, ebx
and ebx, 0xfffffffc
and esi, 2
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0xc]
xor esi, 2
imul esi, ebx
or ebx, 2
imul ebx, dword [esp + 0xc]
add ebx, esi
mov esi, dword [esp + 0x14]
xor esi, ebx
sub eax, edx
add eax, 0xfffffffd
and eax, ebx
add eax, eax
sub eax, esi
add ecx, eax
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, dword [esp + 0x18]
jae 0x4411ea
test edi, edi
je 0x441182
cmp byte [edi], 0x3f
je 0x44118d
movzx eax, byte [ecx]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx]
jne 0x44116b
cmp dword [esp + 0x40], 2
jb 0x4411cc
xor edx, edx
mov eax, 2
jmp 0x4411bf
movzx ebx, byte [ecx + edx + 1]
mov esi, edi
mov edi, dword [esp + 0x3c]
cmp bl, byte [edi + edx + 1]
mov edi, esi
jne 0x441127
inc edx
add eax, 2
cmp ebp, edx
je 0x4411cc
test edi, edi
je 0x4411a0
cmp byte [edi + edx + 1], 0x3f
jne 0x4411a0
jmp 0x4411b7
test ecx, ecx
je 0x4411e6
sub ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 8]
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, ecx
jmp 0x4411ea
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp], 0xe0e7e6e5
xor ecx, ecx
nop
nop
nop
nop
nop
mov ebx, ecx
add bl, 0x89
xor bl, byte [esp + ecx]
xor bl, 0xa0
add bl, 0x33
mov byte [esp + ecx], bl
inc ecx
cmp ecx, 4
jne 0x441200
mov ecx, dword [0x451ae0]
test ecx, ecx
je 0x441272
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x451ae4]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x441240
inc edi
cmp ecx, edi
jne 0x441230
jmp 0x441272
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x441272
lea esi, [esp + 0x1c]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x451ae8]
push ecx
mov esi, eax
mov edi, edx
call fcn.004425f0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10