Function at 0x407574
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x4367b8
call fcn.0041daaa
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], ebx
and dword [ebp - 4], 0
lea eax, [ebp + 8]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040419c
lea ecx, [ebp - 0x30]
call fcn.004074ea
add esp, 0x18
lea ecx, [ebp + 8]
push eax
call fcn.004040f5
lea ecx, [ebp - 0x30]
call fcn.004026b1
cmp byte [0x441883], 0
lea edi, [ebp - 0x54]
mov esi, str.vDRYM_UQ__vZXK_rZRYRZ_zFRViHT_XML_rSCLHIYSJo2._76
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
je 0x4075e2
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 0xc
jl 0x4075cf
mov esi, str.SEVV_b
lea edi, [ebp - 0x44]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xd
jl 0x4075f3
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4077fa
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
push 0
cmova ecx, dword [ebp + 8]
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
call eax
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x4077fa
cmp byte [0x4418d9], 0
lea edi, [ebp - 0x68]
mov esi, str.rSCPVoTDZ
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x40767d
push 0x33
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x68], dl
inc ecx
cmp ecx, 0xe
jl 0x40766a
mov esi, str.SEVV_b
lea edi, [ebp - 0x54]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 0xd
jl 0x40768e
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4077fa
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x44]
push ecx
push esi
call eax
test eax, eax
jne 0x4076d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4077fa
mov ecx, dword [ebp - 0x44]
lea edi, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x6c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x407707
mov dword [ebp - 0x20], ecx
mov byte [ebp + ecx - 0x30], cl
jmp 0x407711
push ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.00408fc3
mov esi, str.gSV_
lea edi, [ebp - 0x50]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x50], dl
inc ecx
cmp ecx, 9
jl 0x407721
mov esi, str.SEVV_b
lea edi, [ebp - 0x68]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x68], dl
inc ecx
cmp ecx, 0xd
jl 0x407745
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4077e2
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x18]
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x58]
push 0
push edx
push edi
push ecx
push esi
call eax
test eax, eax
je 0x4077aa
cmp dword [ebp - 0x18], edi
jne 0x4077aa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0040412a
jmp 0x4077bd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x441144
mov ecx, ebx
call fcn.00404163
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x4077d1
inc eax
push eax
push dword [ebp - 0x30]
call fcn.0040274d
pop ecx
pop ecx
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
jmp 0x407806
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x4077fa
inc eax
push eax
push dword [ebp - 0x30]
call fcn.0040274d
pop ecx
pop ecx
push 0x441144
mov ecx, ebx
call fcn.00404163
lea ecx, [ebp + 8]
call fcn.004026b1
mov eax, ebx
call fcn.0041da59
ret