Function at 0x444721
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x904
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x900], eax
mov eax, dword [esp + 0x908]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x914]
push ebx
mov dword [esp + 0x2c], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x4fc], bx
push esi
inc eax
mov dword [esp + 0x503], 0xff0000be
push 0x400
mov dword [esp + 0x30], eax
mov byte [esp + 0x506], al
lea eax, [esp + 0x50c]
push ebx
push eax
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], bl
mov dword [esp + 0x20], ebx
call fcn.004bea90
push 0x4b0
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.004bea90
mov eax, dword [esp + 0x92c]
add esp, 0x18
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], eax
push 0x4000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
mov dword [esp + 0x3c], edx
test edx, edx
jne 0x4447da
or eax, 0xffffffff
jmp 0x444ca7
push ebp
push 8
pop ebp
mov dword [esp + 0x28], ebp
cmp byte [0x526501], bl
jne 0x444802
mov ecx, ebx
movzx eax, byte [ecx + 0x4dace0]
mov byte [eax + 0x526500], cl
inc ecx
cmp ecx, 0x100
jl 0x4447ec
mov ecx, dword [esp + 0x918]
push edi
xor edi, edi
inc edi
lea eax, [ecx + ebp]
cmp eax, dword [esp + 0x920]
jbe 0x44482d
mov ebp, dword [esp + 0x920]
sub ebp, ecx
inc ebp
mov dword [esp + 0x2c], ebp
je 0x444bce
cmp dword [esp + 0x24], ebx
jne 0x444848
test esi, esi
jne 0x444848
mov eax, ecx
sub eax, dword [esp + 0x4c]
cmp eax, 0x10000
ja 0x444bce
push edx
push ebp
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00447fdd
test eax, eax
je 0x444ca2
mov ecx, dword [esp + 0x91c]
mov dword [esp + 0x28], ebx
test ebp, ebp
je 0x444bc0
mov ebp, dword [esp + 0x44]
mov esi, ebx
mov al, byte [esp + 0x11]
add ebp, 0x12
mov dword [esp + 0x14], ebp
test al, al
jne 0x444bce
movzx eax, byte [ebp - 5]
and eax, 7
mov al, byte [eax + ebp + 2]
and al, 0x30
cmp al, 0x10
jne 0x444b93
movzx ecx, byte [ebp]
movzx edx, byte [ebp + 1]
shl ecx, 8
add edx, 0x14
add edx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
lea eax, [edx - 0x80]
cmp eax, 0x779
ja 0x444943
mov ecx, 0x7fa
mov dword [esp + 0x24], 2
sub ecx, edx
mov eax, ecx
mov byte [esp + 0x50d], cl
shr eax, 8
mov byte [esp + 0x50c], al
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x510]
push eax
lea eax, [edx - 0x80]
push eax
lea eax, [ebp + 0x6e]
push eax
call fcn.00444577
add esp, 0x14
cmp eax, edi
jne 0x444943
lea eax, [ebp + 0x42]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00444cbe
mov ecx, dword [esp + 0x928]
xor eax, eax
inc eax
mov dword [esp + 0x30], 3
xor edi, edi
mov byte [esp + 0x1e], al
add esp, 0xc
mov byte [esp + 0x11], al
inc edi
jmp 0x444b97
mov edx, ebx
lea esi, [esp + 0x510]
movzx ebp, byte [edx + ebp - 0x12]
mov ecx, ebx
mov eax, 0x80
sar eax, cl
test ebp, eax
setne al
mov byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x444953
mov ebp, dword [esp + 0x14]
inc edx
add esi, 8
cmp edx, 0x80
jl 0x44494c
mov eax, ebx
mov dword [esp + 0x18], ebx
push 2
mov dword [esp + 0x34], eax
lea edi, [esp + 0x911]
pop esi
mov ecx, esi
cmp esi, 0x400
jge 0x4449bb
mov ebp, edi
mov eax, ecx
cdq
idiv esi
lea eax, [esp + 0x90f]
sub eax, edx
mov al, byte [eax]
cmp al, byte [ebp]
jne 0x4449b7
inc ecx
dec ebp
cmp ecx, 0x400
jl 0x444998
mov eax, dword [esp + 0x30]
cmp ecx, eax
jle 0x4449e4
cmp ecx, esi
jle 0x4449e4
cmp ecx, 0x70
jle 0x4449e4
mov eax, ecx
cdq
idiv esi
cmp eax, 2
jl 0x4449e0
mov eax, ecx
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
jmp 0x4449e8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc esi
dec edi
cmp esi, 0x180
jl 0x44498c
push 1
pop edi
test eax, eax
jle 0x444b84
push 2
pop eax
mov dword [esp + 0x20], eax
mov edi, ebx
mov eax, edi
mov ebp, edi
cdq
idiv ecx
sub edx, ecx
and ebp, 7
jne 0x444a2c
mov cl, byte [esp + edx + 0x910]
mov eax, edi
shl cl, 7
sar eax, 3
mov byte [esp + eax + 0x510], cl
jmp 0x444a46
mov al, byte [esp + edx + 0x910]
mov esi, edi
push 7
pop ecx
sar esi, 3
sub ecx, ebp
shl al, cl
or byte [esp + esi + 0x510], al
mov ecx, dword [esp + 0x18]
inc edi
cmp edi, 0x50
jl 0x444a06
mov ebp, dword [esp + 0x14]
mov ecx, ebx
movzx eax, byte [ecx + ebp + 0x6e]
mov al, byte [eax + 0x4da8e0]
xor byte [esp + ecx + 0x510], al
inc ecx
cmp ecx, 0xa
jl 0x444a56
imul eax, dword [esp + 0x1c], 0xc
lea esi, [esp + 0x55]
mov edi, ebx
add esi, eax
mov al, byte [esp + 0x11]
test al, al
jne 0x444b74
lea eax, [esp + 0x500]
push eax
lea eax, [esp + 0x514]
push eax
push edi
call fcn.004442b0
mov edi, eax
add esp, 0xc
test edi, edi
js 0x444b70
push 3
pop eax
mov dword [esp + 0x20], eax
mov ecx, ebx
mov al, byte [ecx + ebp + 0x42]
xor byte [esp + ecx + 0x500], al
inc ecx
cmp ecx, 5
jl 0x444ab3
mov edx, ebx
cmp dword [esp + 0x1c], edx
jle 0x444b00
lea ecx, [esp + 0x54]
mov eax, dword [ecx]
lea ebp, [esp + 0x500]
cmp eax, dword [ebp]
mov ebp, dword [esp + 0x14]
jne 0x444af6
movzx eax, byte [ecx + 4]
lea ebp, [esp + 0x500]
cmp al, byte [ebp + 4]
mov ebp, dword [esp + 0x14]
je 0x444b4d
inc edx
add ecx, 0xc
cmp edx, dword [esp + 0x1c]
jl 0x444ad0
mov al, byte [esp + 0x500]
xor ecx, ecx
mov byte [esi - 1], al
inc ecx
mov al, byte [esp + 0x501]
inc dword [esp + 0x1c]
mov byte [esi], al
mov al, byte [esp + 0x502]
mov byte [esi + 1], al
mov al, byte [esp + 0x503]
mov byte [esi + 2], al
mov al, byte [esp + 0x504]
mov byte [esi + 3], al
mov al, cl
mov dword [esi - 5], ecx
add esi, 0xc
mov byte [esp + 0x11], al
mov byte [esp + 0x13], cl
jmp 0x444a7f
imul eax, edx, 0xc
xor ecx, ecx
inc ecx
inc dword [esp + eax + 0x50]
cmp dword [esp + eax + 0x50], ecx
mov al, byte [esp + 0x11]
jl 0x444a7f
mov al, cl
mov byte [esp + 0x11], al
jmp 0x444a7f
mov al, byte [esp + 0x11]
mov ecx, dword [esp + 0x91c]
xor edi, edi
mov esi, dword [esp + 0x28]
inc edi
jmp 0x444b97
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x91c]
mov esi, dword [esp + 0x28]
mov al, byte [esp + 0x11]
inc ecx
add ebp, 0x800
inc esi
mov dword [esp + 0x91c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebp
cmp esi, dword [esp + 0x2c]
jb 0x444880
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
cmp byte [esp + 0x11], bl
je 0x44480d
cmp byte [esp + 0x12], bl
je 0x444c39
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sar eax, 9
mov al, byte [eax + 0x4da7e0]
mov byte [esi], al
movzx eax, cl
mov ecx, edx
sar ecx, 1
and ecx, 0xe00000
mov al, byte [eax + 0x4da7e0]
mov byte [esi + 1], al
mov eax, edx
and eax, 0x1f0000
or ecx, eax
sar ecx, 0x10
mov al, byte [ecx + 0x4da7e0]
mov byte [esi + 2], al
mov eax, edx
sar eax, 8
and eax, 0xff
mov al, byte [eax + 0x4da7e0]
mov byte [esi + 3], al
movzx eax, dl
mov al, byte [eax + 0x4da7e0]
mov byte [esi + 4], al
jmp 0x444c93
cmp byte [esp + 0x13], bl
je 0x444c93
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
jle 0x444c6a
push 0xc
mov edx, ebx
pop ecx
mov eax, dword [esp + ecx + 0x50]
cmp eax, dword [esp + edx + 0x50]
mov eax, dword [esp + 0x34]
jle 0x444c5e
mov ebx, eax
mov edx, ecx
inc eax
add ecx, 0xc
mov dword [esp + 0x34], eax
cmp eax, ebp
jl 0x444c4c
mov esi, dword [esp + 0x38]
imul ecx, ebx, 0xc
mov al, byte [esp + ecx + 0x54]
mov byte [esi], al
mov al, byte [esp + ecx + 0x55]
mov byte [esi + 1], al
mov al, byte [esp + ecx + 0x56]
mov byte [esi + 2], al
mov al, byte [esp + ecx + 0x57]
mov cl, byte [esp + ecx + 0x58]
mov byte [esi + 3], al
mov byte [esi + 4], cl
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
cmovg eax, dword [esp + 0x24]
jmp 0x444ca5
or eax, 0xffffffff
pop edi
pop ebp
mov ecx, dword [esp + 0x908]
pop esi
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x904
ret