Function at 0x441f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov ebx, dword [0x45870c]
mov ebp, dword [0x458708]
mov eax, ebp
or eax, ebx
jne 0x44201b
mov dword [esp + 0x94], 0xd17acf62
mov dword [esp + 0x98], 0xd57ed374
mov dword [esp + 0x9c], 0xd938d778
mov dword [esp + 0xa0], 0xdd76db7c
mov dword [esp + 0xa4], 0xa1dedf70
mov dword [esp + 0xa8], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
cmp eax, 0x17
ja 0x441ff4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
movzx ecx, byte [esp + ecx + 0x94]
mov edx, eax
xor edx, 0x534b70ad
mov esi, eax
xor esi, 0x2cb48f52
or eax, 0x534b70ad
and eax, esi
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x19c]
add al, 0x9f
mov ecx, dword [esp + 0x54]
mov byte [esp + ecx + 0x94], al
inc dword [esp + 0x54]
mov eax, dword [esp + 0x54]
cmp eax, 0x18
jb 0x441fa0
lea eax, [esp + 0x94]
push eax
call fcn.00441c00
add esp, 4
mov ebp, eax
mov dword [0x45870c], edx
mov dword [0x458708], eax
or eax, edx
je 0x4420ec
mov ebx, edx
lea eax, [esp + 0x54]
push 0x40
push eax
push ebx
push ebp
call fcn.004419c0
add esp, 0x10
test eax, eax
js 0x4420ec
mov eax, dword [esp + 0x90]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x94]
push 0x108
push edx
push ecx
push eax
call fcn.004419c0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x4420ee
cmp dword [esp + 0x120], 0
je 0x4420ee
mov eax, dword [esp + 0x11c]
mov esi, 0
test eax, eax
je 0x4420f0
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.004419c0
add esp, 0x10
test eax, eax
js 0x4420ec
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4420b5
mov eax, esi
push eax
call fcn.0040ca10
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.004419c0
add esp, 0x10
test eax, eax
js 0x4420ff
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x442108
mov eax, 0xffffffff
jmp 0x44210a
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x442347
add eax, eax
push eax
call fcn.0040ca10
add esp, 4
mov esi, dword [esp + 0x44]
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x50]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.004419c0
add esp, 0x10
test eax, eax
js 0x442337
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x44216c
mov eax, esi
push eax
call fcn.0040ca10
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x4c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.004419c0
add esp, 0x10
test eax, eax
mov dword [esp + 8], edi
js 0x442325
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x4421a8
mov esi, eax
test esi, esi
je 0x442325
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x4421eb
mov eax, 0xb14a5e2
cmp eax, dword [esp + 0x2b0]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x442358
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x442325
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x1a0]
push edx
push ecx
push eax
call fcn.004419c0
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x4421de
mov ecx, 0xffffffff
xor eax, eax
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x19d], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x442220
mov dword [esp + 0x14], 0x22222093
lea eax, [esp + 0x18]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4422a1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x14]
mov esi, eax
xor esi, 0x93eee1f8
add eax, eax
and eax, 0x27ddc3f0
mov ebp, eax
and ebp, esi
xor eax, esi
lea eax, [eax + ebp*2]
xor eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0x28
mov edx, dword [esp]
mov byte [esp + edx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x442260
test ecx, ecx
je 0x4421c0
mov edx, dword [esp + 0x14]
mov ebp, 0xb14a5e2
lea esi, [esp + 0x19c]
cmp ecx, 4
jb 0x4422fb
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
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]
xor ebp, edi
imul ebp, edx
add esi, 4
add eax, 0xfffffffc
jne 0x4422d0
mov eax, ebp
test cl, 3
mov edi, dword [esp + 8]
je 0x4421c5
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 0x442310
jmp 0x4421c5
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040ca20
add esp, 4
jmp 0x44233b
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040ca20
add esp, 4
push dword [esp + 0xc]
call fcn.0040ca20
add esp, 4
jmp 0x4420f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x442329