Function at 0x4405e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x298
mov ebx, dword [0x4d6534]
mov ebp, dword [0x4d6530]
mov eax, ebp
or eax, ebx
jne 0x4406c1
mov dword [esp + 0x90], 0xc15ac752
mov dword [esp + 0x94], 0xcd56c3ac
mov dword [esp + 0x98], 0xc998cf58
mov dword [esp + 0x9c], 0xf55ecba4
mov dword [esp + 0xa0], 0xf1f6f760
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
cmp eax, 0x13
ja 0x44069a
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
movzx ecx, byte [esp + ecx + 0x90]
mov edx, eax
xor edx, 0xbb2c0fd1
and eax, 0x3b2c0fd1
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x198]
add al, 0xeb
mov ecx, dword [esp + 0x50]
mov byte [esp + ecx + 0x90], al
inc dword [esp + 0x50]
mov eax, dword [esp + 0x50]
cmp eax, 0x14
jb 0x440650
lea eax, [esp + 0x90]
push eax
call fcn.00440420
add esp, 4
mov ebp, eax
mov dword [0x4d6534], edx
mov dword [0x4d6530], eax
or eax, edx
je 0x440792
mov ebx, edx
lea eax, [esp + 0x50]
push 0x40
push eax
push ebx
push ebp
call fcn.00440200
add esp, 0x10
test eax, eax
js 0x440792
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.00440200
add esp, 0x10
xor edi, edi
test eax, eax
js 0x440794
cmp dword [esp + 0x11c], 0
je 0x440794
mov eax, dword [esp + 0x118]
mov esi, 0
test eax, eax
je 0x440796
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00440200
add esp, 0x10
test eax, eax
js 0x440792
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x44075b
mov eax, esi
push eax
call fcn.0040cb80
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.00440200
add esp, 0x10
test eax, eax
js 0x4407a5
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x4407ae
mov eax, 0xffffffff
jmp 0x4407b0
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 0x4409b7
add eax, eax
push eax
call fcn.0040cb80
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.00440200
add esp, 0x10
test eax, eax
js 0x4409a7
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4407fc
mov eax, esi
push eax
call fcn.0040cb80
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.00440200
add esp, 0x10
test eax, eax
mov dword [esp + 8], edi
js 0x440995
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x440838
mov esi, eax
test esi, esi
je 0x440995
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x44087b
mov eax, 0xb14a5e2
cmp eax, dword [esp + 0x2ac]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x4409c8
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x440995
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.00440200
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x44086e
mov ecx, 0xffffffff
xor eax, eax
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x199], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x4408b0
mov dword [esp + 4], 0x323230a3
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x440919
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, 0xd25717b4
and eax, 0xd25717b4
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0x7c
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4408e0
test ecx, ecx
je 0x440850
mov edx, dword [esp + 4]
mov ebp, 0xb14a5e2
lea esi, [esp + 0x198]
cmp ecx, 4
jb 0x44096f
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 0x440940
mov edi, dword [esp + 8]
mov eax, ebp
test cl, 3
je 0x440855
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 0x440980
jmp 0x440855
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040cb90
add esp, 4
jmp 0x4409ab
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040cb90
add esp, 4
push dword [esp + 0x10]
call fcn.0040cb90
add esp, 4
jmp 0x440796
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 0x440999