Function at 0x44ad60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x508e4c]
xor eax, esp
push edi
mov edi, dword [esp + 0x28]
test edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
jne 0x44ada2
mov eax, 0xfffffffc
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
mov edx, dword [esp + 0x2c]
push esi
mov esi, edx
and esi, reloc.OLEAUT32.dll_VariantInit
jns 0x44adb6
dec esi
or esi, 0xfffffff8
inc esi
je 0x44adce
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
test eax, eax
jne 0x44adea
pop esi
mov eax, 0xfffffffe
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
test ecx, ecx
jne 0x44adf4
mov dword [esp + 0x14], ecx
jmp 0x44adfd
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], esi
push ebx
push ebp
push eax
push 0x4ce35c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
lea ebp, [edi + edx]
lea esi, [esp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.004bc3be
add esp, 8
test eax, eax
jne 0x44ae58
cmp edi, ebp
jae 0x44b07c
mov esi, edi
mov edi, edi
mov ecx, dword [esp + 0x14]
push esi
call fcn.0044a900
add esi, 8
cmp esi, ebp
jb 0x44ae30
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
mov edx, dword [esp + 0x10]
push edx
push 0x4ce358
call fcn.004bc3be
add esp, 8
test eax, eax
jne 0x44af2c
cmp edi, ebp
jae 0x44b07c
sub ebp, dword [esp + 0x18]
add edi, 2
dec ebp
shr ebp, 3
inc ebp
mov dword [esp + 0x10], ebp
lea ebx, [ebx]
mov ecx, dword [edi + 2]
mov eax, dword [edi - 2]
lea ebp, [edi - 2]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
push ebp
mov dword [ebx], eax
call fcn.0044a900
mov dl, byte [esi]
mov al, byte [ebp]
mov cl, byte [edi - 1]
xor al, dl
mov dl, byte [edi]
mov byte [ebp], al
mov al, byte [esi + 1]
xor cl, al
mov al, byte [edi + 1]
mov byte [edi - 1], cl
mov cl, byte [esi + 2]
xor dl, cl
mov cl, byte [edi + 2]
mov byte [edi], dl
mov dl, byte [esi + 3]
xor al, dl
mov dl, byte [edi + 3]
mov byte [edi + 1], al
mov al, byte [esi + 4]
xor cl, al
mov al, byte [edi + 4]
mov byte [edi + 2], cl
mov cl, byte [esi + 5]
xor dl, cl
mov byte [edi + 3], dl
mov dl, byte [esi + 6]
xor al, dl
mov dl, byte [edi + 5]
mov byte [edi + 4], al
mov al, byte [esi + 7]
xor dl, al
mov eax, esi
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], dl
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x44ae90
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
mov ecx, dword [esp + 0x10]
push ecx
push 0x4ce354
call fcn.004bc3be
add esp, 8
test eax, eax
jne 0x44afed
cmp edi, ebp
jae 0x44b07c
sub ebp, dword [esp + 0x18]
add edi, 2
dec ebp
shr ebp, 3
inc ebp
lea ebx, [ebx]
mov edx, dword [edi - 2]
mov eax, dword [edi + 2]
mov ecx, dword [esp + 0x14]
push esi
mov dword [ebx], edx
mov dword [ebx + 4], eax
call fcn.0044a7d0
mov cl, byte [esi]
mov dl, byte [edi - 2]
mov al, byte [edi - 1]
xor dl, cl
mov cl, byte [edi]
mov byte [edi - 2], dl
mov dl, byte [esi + 1]
xor al, dl
mov dl, byte [edi + 1]
mov byte [edi - 1], al
mov al, byte [esi + 2]
xor cl, al
mov al, byte [edi + 2]
mov byte [edi], cl
mov cl, byte [esi + 3]
xor dl, cl
mov cl, byte [edi + 3]
mov byte [edi + 1], dl
mov dl, byte [esi + 4]
xor al, dl
mov dl, byte [edi + 4]
mov byte [edi + 2], al
mov al, byte [esi + 5]
xor cl, al
mov al, byte [edi + 5]
mov byte [edi + 3], cl
mov cl, byte [esi + 6]
xor dl, cl
mov byte [edi + 4], dl
mov dl, byte [esi + 7]
xor al, dl
mov byte [edi + 5], al
mov eax, esi
add edi, 8
dec ebp
mov esi, ebx
mov ebx, eax
jne 0x44af60
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
mov eax, dword [esp + 0x10]
push eax
push 0x4ce350
call fcn.004bc3be
add esp, 8
test eax, eax
jne 0x44b093
cmp edi, ebp
jae 0x44b07c
sub ebp, edi
dec ebp
shr ebp, 3
lea esi, [edi + 2]
inc ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0044a7d0
mov eax, dword [esp + 0x1c]
mov dl, byte [esi - 2]
mov cl, byte [esi - 1]
mov bl, byte [esi + 1]
xor dl, al
mov al, byte [esi]
mov byte [esi - 2], dl
mov dl, byte [esp + 0x1e]
xor al, dl
mov dl, byte [esi + 2]
mov byte [esi], al
mov al, byte [esp + 0x1f]
xor cl, ah
xor bl, al
mov eax, dword [esp + 0x20]
xor dl, al
mov byte [esi - 1], cl
mov cl, byte [esi + 3]
mov byte [esi + 1], bl
mov bl, byte [esi + 4]
mov byte [esi + 2], dl
mov dl, byte [esi + 5]
xor cl, ah
mov ax, word [esp + 0x22]
xor bl, al
xor dl, ah
mov byte [esi + 3], cl
mov byte [esi + 4], bl
mov byte [esi + 5], dl
add esi, 8
dec ebp
jne 0x44b015
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a8b15
add esp, 0x20
ret 0x10
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
pop esi
pop edi
xor ecx, esp
mov eax, 0xfffffffd
call fcn.004a8b15
add esp, 0x20
ret 0x10