Function at 0x441e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x298
mov ebx, dword [0x4585ec]
mov ebp, dword [0x4585e8]
mov eax, ebp
or eax, ebx
jne 0x441f38
mov dword [esp + 0x90], 0x1fa07f2
mov dword [esp + 0x94], 0xdf603ec
mov dword [esp + 0x98], 0x9380ff8
mov dword [esp + 0x9c], 0x15fe0be4
mov dword [esp + 0xa0], 0x111617e0
mov byte [esp + 0xa4], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
cmp eax, 0x14
ja 0x441f11
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
movzx ecx, byte [esp + ecx + 0x90]
mov edx, eax
not edx
or edx, 0x55150a41
add edx, eax
xor eax, 0xd5150a41
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x198]
add al, 0xbb
mov ecx, dword [esp + 0x50]
mov byte [esp + ecx + 0x90], al
inc dword [esp + 0x50]
mov eax, dword [esp + 0x50]
cmp eax, 0x15
jb 0x441ec0
lea eax, [esp + 0x90]
push eax
call fcn.00441ad0
add esp, 4
mov ebp, eax
mov dword [0x4585ec], edx
mov dword [0x4585e8], eax
or eax, edx
je 0x442009
mov ebx, edx
lea eax, [esp + 0x50]
push 0x40
push eax
push ebx
push ebp
call fcn.00441890
add esp, 0x10
test eax, eax
js 0x442009
mov eax, dword [esp + 0x8c]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x90]
push 0x108
push edx
push ecx
push eax
call fcn.00441890
add esp, 0x10
xor edi, edi
test eax, eax
js 0x44200b
cmp dword [esp + 0x11c], 0
je 0x44200b
mov eax, dword [esp + 0x118]
mov esi, 0
test eax, eax
je 0x44200d
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00441890
add esp, 0x10
test eax, eax
js 0x442009
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x441fd2
mov eax, esi
push eax
call fcn.0040c640
add esp, 4
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00441890
add esp, 0x10
test eax, eax
js 0x44201c
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x442025
mov eax, 0xffffffff
jmp 0x442027
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x298
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x442237
add eax, eax
push eax
call fcn.0040c640
add esp, 4
mov esi, dword [esp + 0x40]
add esi, esi
mov ecx, dword [esp + 0x4c]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push edx
push ecx
call fcn.00441890
add esp, 0x10
test eax, eax
js 0x442227
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442073
mov eax, esi
push eax
call fcn.0040c640
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x48]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00441890
add esp, 0x10
test eax, eax
mov dword [esp + 8], edi
js 0x442215
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x4420af
mov esi, eax
test esi, esi
je 0x442215
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x4420f2
mov eax, 0xb14a5e2
cmp eax, dword [esp + 0x2ac]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x442248
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x442215
mov dword [esp + 0x14], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x19c]
push edx
push ecx
push eax
call fcn.00441890
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x4420e5
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x199], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x442130
mov dword [esp + 4], 0xbebabc31
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x442199
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0x8ce137df
and eax, 0xce137df
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0xa5
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x442160
test ecx, ecx
je 0x4420c7
mov edx, dword [esp + 4]
mov ebp, 0xb14a5e2
lea esi, [esp + 0x198]
cmp ecx, 4
jb 0x4421ef
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add eax, 0xfffffffc
jne 0x4421c0
mov edi, dword [esp + 8]
mov eax, ebp
test cl, 3
je 0x4420cc
and ebx, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x442200
jmp 0x4420cc
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c650
add esp, 4
jmp 0x44222b
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040c650
add esp, 4
push dword [esp + 0x10]
call fcn.0040c650
add esp, 4
jmp 0x44200d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x442219