Function at 0x407e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b188
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x495400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 1
call fcn.00422100
mov esi, eax
test esi, esi
jne 0x407f8b
mov dword [ebp - 0x50], 0xe1e0fee4
xor ecx, ecx
mov word [ebp - 0x4c], 0x100
nop dword [eax]
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 4
jb 0x407ef0
push ecx
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4b], 0
push eax
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00410550
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x407f41
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407f37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f85
push ecx
push edx
call fcn.00479834
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x408359
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40834f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40834f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
cmova eax, dword [ebp + 0x20]
push eax
push 0x2712
push esi
call fcn.00426160
push 1
push 0x51
push esi
call fcn.00426160
push str.keyauth.win
push 0x27c1
push esi
call fcn.00426160
push 1
push 0x40
push esi
call fcn.00426160
push 1
push 0xac
push esi
call fcn.00426160
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push 0x271f
push esi
call fcn.00426160
add esp, 0x48
push 0x406b00
push 0x4e2b
push esi
call fcn.00426160
lea eax, [ebp - 0x28]
push eax
push 0x2711
push esi
call fcn.00426160
push 0x406b60
push 0x4e6f
push esi
call fcn.00426160
lea eax, [ebp - 0x40]
push eax
push 0x272d
push esi
call fcn.00426160
push esi
call fcn.00422160
add esp, 0x34
test eax, eax
je 0x4080b2
push eax
call fcn.00422b50
mov edi, eax
sub esp, 0x14
mov edx, esp
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408094
sub ecx, dword [ebp - 0x54]
push ecx
push edi
mov ecx, edx
call fcn.004111b0
call fcn.00408380
mov edi, dword [ebp - 0x68]
add esp, 0x18
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.0040d550
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp + 0x20]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.0040d550
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040d550
mov byte [ebp - 4], 3
call fcn.00408bb0
lea eax, [ebp - 0x44]
push eax
push 0x400022
push esi
call fcn.004220e0
add esp, 0x54
test eax, eax
jne 0x408253
mov ecx, dword [ebp - 0x44]
xor esi, esi
xor dl, dl
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x45], dl
cmp dword [ecx], esi
jle 0x4081f1
mov edi, dword [sym.imp.VCRUNTIME140.dll_strstr]
nop dword [eax + eax]
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x4081de
nop
movaps xmm0, xmmword [0x48e870]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0xf8fff2ec
mov word [ebp - 0x70], 0xed
mov byte [ebp - 0x6e], 1
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x15
jb 0x408161
lea eax, [ebp - 0x84]
mov byte [ebp - 0x6e], 0
push eax
push dword [esi]
call edi
add esp, 8
test eax, eax
jne 0x4081c6
mov dword [ebp - 0x64], 0xaaf8eec6
mov dword [ebp - 0x60], 0xffd5affd
mov dword [ebp - 0x5c], 0xe5ede1f1
mov word [ebp - 0x58], 0xe2
mov byte [ebp - 0x56], 1
lea ecx, [eax - 0x76]
xor byte [ebp + eax - 0x64], cl
inc eax
cmp eax, 0xd
jb 0x4081a6
lea eax, [ebp - 0x64]
mov byte [ebp - 0x56], 0
push eax
push dword [esi]
call edi
add esp, 8
test eax, eax
je 0x4081cd
mov dl, 1
mov byte [ebp - 0x45], dl
jmp 0x4081d0
mov dl, byte [ebp - 0x45]
mov esi, dword [esi + 4]
test esi, esi
jne 0x408140
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
inc esi
mov dword [ebp - 0x54], esi
cmp esi, dword [ecx]
jl 0x408130
test dl, dl
jne 0x408250
movaps xmm0, xmmword [0x48e770]
sub esp, 0x18
movups xmmword [ebp - 0x90], xmm0
mov edx, esp
mov dword [ebp - 0x70], 0xc9c9c2cc
movaps xmm0, xmmword [0x48e790]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x6c], 0x100
mov dword [ebp - 0x50], edx
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x90], al
inc ecx
cmp ecx, 0x24
jb 0x408221
push ecx
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x6b], 0
push eax
lea eax, [ebp - 0x90]
mov ecx, edx
push eax
call fcn.00410550
call fcn.00408380
add esp, 0x18
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, 0xf
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
cmp ecx, eax
jbe 0x4082c1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4082b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f85
push ecx
push edx
call fcn.00479834
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0xf
jbe 0x408306
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4082fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f85
push ecx
push edx
call fcn.00479834
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x407f41
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407f37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f85
jmp 0x407f37
push ecx
push edx
call fcn.00479834
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004794f0
mov esp, ebp
pop ebp
ret