Function at 0x440bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x278
mov ebx, dword [0x457734]
mov ebp, dword [0x457730]
mov eax, ebp
or eax, ebx
jne 0x440c8a
mov dword [esp + 0x48], 0x9fea99ea
mov dword [esp + 0x4c], 0xa3ce9df8
mov dword [esp + 0x50], 0xa794a1cc
mov dword [esp + 0x54], 0xabc6a5c0
mov dword [esp + 0x58], 0xafaea9c4
mov dword [esp + 0x5c], 0
mov eax, 0xa
mov ecx, 0x2cf2ec65
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x3e]
mov esi, ecx
or esi, edi
not esi
mov ebx, ecx
and ebx, 0x76
mov edx, eax
and edx, 9
or edx, ebx
xor edx, 9
and edx, edi
or edx, esi
lea esi, [edx + edx]
and esi, 0xc17d3bfa
xor edx, 0x1f416202
sub edx, esi
lea esi, [edx*2 + 2]
inc edx
sub edx, esi
inc dl
mov byte [esp + eax + 0x3e], dl
inc eax
dec ecx
cmp eax, 0x22
jne 0x440c20
lea eax, [esp + 0x48]
push eax
call fcn.004407f0
add esp, 4
mov ebp, eax
mov dword [0x457734], edx
mov dword [0x457730], eax
or eax, edx
je 0x440d84
mov ebx, edx
lea eax, [esp + 0x148]
push 0x40
push eax
push ebx
push ebp
call fcn.00440560
add esp, 0x10
test eax, eax
js 0x440d84
mov eax, dword [esp + 0x184]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x188]
push 0xf0
push edx
push ecx
push eax
call fcn.00440560
add esp, 0x10
xor edi, edi
test eax, eax
js 0x440d86
cmp dword [esp + 0x1fc], 0
je 0x440d86
mov eax, dword [esp + 0x1f8]
mov esi, 0
test eax, eax
je 0x440d88
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x20]
push 0x28
push edx
push ecx
push eax
call fcn.00440560
add esp, 0x10
test eax, eax
js 0x440d84
mov esi, dword [esp + 0x34]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x440d33
lea eax, [esi*4]
push eax
call fcn.0040c6f0
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x3c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], edx
push edx
push ecx
push eax
call fcn.00440560
add esp, 0x10
test eax, eax
js 0x440d97
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x440da0
mov eax, 0xffffffff
jmp 0x440da2
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x440f97
add eax, eax
push eax
call fcn.0040c6f0
add esp, 4
mov esi, dword [esp + 0x38]
add esi, esi
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.00440560
add esp, 0x10
test eax, eax
js 0x440f87
mov ecx, dword [esp + 0x38]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x440dee
mov eax, esi
push eax
call fcn.0040c6f0
add esp, 4
mov edx, dword [esp + 0x40]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00440560
add esp, 0x10
test eax, eax
js 0x440f75
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x440e28
mov esi, eax
test esi, esi
je 0x440f75
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x440e6b
mov eax, 0x36c0b43e
mov ebx, dword [esp + 8]
cmp eax, dword [esp + 0x28c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
je 0x440fa8
inc edi
cmp edi, esi
je 0x440f75
mov eax, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
mov edx, ebp
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebp
add eax, edx
adc ecx, ebx
push 0x100
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
call fcn.00440560
add esp, 0x10
test eax, eax
jns 0x440ea2
cmp eax, 0x8000000d
jne 0x440e62
mov dword [esp + 0x1c], edi
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
mov edi, eax
cmp byte [esp + ecx + 0x49], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x440eb0
mov dword [esp], 0xf6f6f817
mov ebp, 0x29
mov edx, 0xd6
movzx ebx, byte [esp + edx - 0xd6]
mov esi, ebp
or esi, ebx
not ebx
or ebx, edx
and ebx, esi
mov al, 0xd1
sub al, bl
mov byte [esp + edx - 0xd6], al
dec ebp
inc edx
cmp ebp, 0x25
jne 0x440ed0
test ecx, ecx
je 0x440e40
mov edx, dword [esp]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x48]
cmp ecx, 4
jb 0x440f4b
mov eax, edi
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebx, byte [esi]
xor ebx, ebp
imul ebx, edx
movsx ebp, byte [esi + 1]
xor ebp, ebx
imul ebp, edx
movsx ebx, byte [esi + 2]
xor ebx, ebp
imul ebx, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, ebx
imul ebp, edx
add eax, 0xfffffffc
jne 0x440f20
mov eax, ebp
test cl, 3
mov ebx, dword [esp + 8]
je 0x440e49
and edi, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp edi, ecx
jne 0x440f60
jmp 0x440e49
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040c700
add esp, 4
jmp 0x440f8b
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c700
add esp, 4
push dword [esp + 0xc]
call fcn.0040c700
add esp, 4
jmp 0x440d88
mov eax, dword [esp + 4]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x440f79