Function at 0x4076e3
Capabilities:
Encode data using xor

Disassembly:
push 0x7c
mov eax, 0x42eaca
call fcn.0041a90a
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], ebx
and dword [ebp - 0x70], 0
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004042fc
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x88]
xor edi, edi
call fcn.004042fc
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x88]
cmova ecx, dword [ebp - 0x88]
cmova esi, dword [ebp - 0x88]
add eax, ecx
mov dword [ebp - 0x70], 2
cmp esi, eax
je 0x407782
mov ebx, eax
mov al, byte [esi]
push ecx
mov byte [ebp - 0x48], al
mov ecx, 0x441d48
push dword [ebp - 0x48]
call fcn.00408b39
cmp eax, 0xffffffff
je 0x407779
push 1
push edi
lea ecx, [ebp - 0x88]
call fcn.00408bcf
inc edi
inc esi
cmp esi, ebx
jne 0x407753
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.00402616
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 8]
call fcn.00404255
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00402616
cmp byte [str._dGYT_JI_b], 0
lea edi, [ebp - 0x58]
mov esi, str.wGSVLRPX
push 0x35
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
je 0x4077d4
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x58], dl
inc ecx
cmp ecx, 0xc
jl 0x4077c1
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x44]
push 0x35
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, 0x34
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xd
jl 0x4077e5
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4079ec
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 - 0x48], eax
cmp eax, 0xffffffff
je 0x4079ec
cmp byte [0x439769], 0
lea edi, [ebp - 0x6c]
mov esi, str.sPBqQU_hUG_z8A
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 0x40786f
push 0x35
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0xe
jl 0x40785c
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x58]
push 0x35
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, 0x34
xor byte [ebp + ecx - 0x58], dl
inc ecx
cmp ecx, 0xd
jl 0x407880
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4079ec
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
push ecx
push esi
call eax
test eax, eax
jne 0x4078ca
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4079ec
mov ecx, dword [ebp - 0x44]
lea edi, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x5c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 3
test ecx, ecx
jne 0x4078f9
mov dword [ebp - 0x24], ecx
mov byte [ebp + ecx - 0x34], cl
jmp 0x407903
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00408d1b
mov esi, str.fPWSPV_
lea edi, [ebp - 0x54]
push 0x35
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, 0x34
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 9
jl 0x407913
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x6c]
push 0x35
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, 0x34
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0xd
jl 0x407937
lea eax, [ebp - 0x6c]
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 0x4079d4
cmp dword [ebp - 0x20], 0xf
lea edx, [ebp - 0x18]
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
cmova ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x48]
push 0
push edx
push edi
push ecx
push esi
call eax
test eax, eax
je 0x40799c
cmp dword [ebp - 0x18], edi
jne 0x40799c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.0040428a
jmp 0x4079af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x438f3b
mov ecx, ebx
call fcn.004042c3
mov eax, dword [ebp - 0x20]
cmp eax, 0xf
jbe 0x4079c3
inc eax
push eax
push dword [ebp - 0x34]
call fcn.004026b2
pop ecx
pop ecx
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x4079f8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0xf
jbe 0x4079ec
inc eax
push eax
push dword [ebp - 0x34]
call fcn.004026b2
pop ecx
pop ecx
push 0x438f3b
mov ecx, ebx
call fcn.004042c3
lea ecx, [ebp + 8]
call fcn.00402616
mov eax, ebx
call fcn.0041a8b9
ret