Function at 0x4db1bf
Capabilities:
Encode data using xor

Disassembly:
push 0x3c
mov eax, 0x72bc1c
call fcn.0054dced
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push 0x28
mov dword [ebp - 4], ebx
call fcn.005416ba
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x4db1f7
push eax
call fcn.00431775
jmp 0x4db1f9
xor eax, eax
mov edi, eax
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0044511d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov esi, dword [ebp - 0x40]
mov dword [esi], ecx
mov ax, word [eax + 0x24]
mov word [esi + 0x14], ax
mov eax, dword [ebp - 0x34]
call fcn.004a01a8
cmp al, 0xaf
mov byte [ebp - 0x25], al
jb 0x4db22d
mov byte [ebp - 0x25], 0xaf
movzx eax, byte [ebp - 0x25]
movzx cx, byte [0x8b5002]
mov dword [ebp - 0x48], eax
shl eax, 3
lea edi, [eax + 0x41]
mov dword [ebp - 0x30], eax
movzx ax, byte [0x8b5001]
shl ax, 8
add ax, cx
movzx eax, ax
mov dword [ebp - 0x2c], eax
add esi, 0x18
mov eax, esi
mov dword [ebp - 0x44], edi
call fcn.004302d2
push ebx
call fcn.004a0018
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
xor ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 8]
xor eax, dword [esi]
xor ecx, 0x82750295
xor eax, 0x3a85c98e
push ecx
push eax
mov eax, ebx
call fcn.0044eb0f
push 5
pop ecx
lea edi, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x1c]
lea eax, [ebx + 0x1c]
push dword [ecx + 0x18]
call fcn.0044eb0f
mov eax, dword [ebp - 0x2c]
mov byte [ebx + 0x25], al
mov al, byte [ebp - 0x25]
add esp, 0x10
test al, al
mov byte [ebx + 0x24], ah
mov byte [ebx + 0x26], al
jbe 0x4db327
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x38], edi
lea esi, [ebx + 0x27]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
call fcn.004a01a8
cmp dword [ebp - 0x38], eax
jb 0x4db2e0
call fcn.0054b876
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
push dword [edi + eax + 4]
push dword [edi + eax]
mov eax, esi
call fcn.0044eacb
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
call fcn.004a01a8
cmp dword [ebp - 0x38], eax
jb 0x4db308
call fcn.0054b876
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
movzx eax, word [edi + eax + 8]
inc dword [ebp - 0x38]
mov byte [esi + 6], ah
mov byte [esi + 7], al
add edi, 0x10
add esi, 8
dec dword [ebp - 0x2c]
jne 0x4db2ce
mov eax, dword [ebp - 0x30]
lea esi, [eax + ebx]
mov ax, word [ebp + 0x10]
mov byte [esi + 0x27], ah
mov byte [esi + 0x28], al
push 0
push 0
lea eax, [esi + 0x29]
call fcn.0044eacb
mov byte [esi + 0x2f], 0
mov byte [esi + 0x30], 0
mov esi, dword [ebp - 0x44]
lea eax, [esi - 0x10]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004611bb
mov eax, dword [ebp - 0x44]
lea edi, [ebx + esi - 0x10]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
add esp, 0x14
add eax, 0xffffffd4
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
je 0x4db3a9
xor edx, edx
push 0x1c
mov eax, ecx
pop edi
div edi
lea esi, [ebx + ecx + 0x1c]
mov eax, ecx
push 0xb
pop ecx
mov edi, edx
xor edx, edx
div ecx
mov al, byte [edi + ebx]
mov ecx, dword [ebp - 0x2c]
xor al, byte [edx + 0x83b508]
xor byte [esi], al
inc ecx
cmp ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
jb 0x4db37a
push ecx
push ecx
mov ecx, dword [ebp - 0x40]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], esp
push ecx
lea ecx, [eax + 4]
call fcn.0040a15b
mov esi, dword [ebp + 8]
call fcn.004daab3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4db3d9
call fcn.0040a6bb
call fcn.0054dd70
ret 0x10