Function at 0x410e10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4502b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x467074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x30], eax
xor edi, edi
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x3c], edi
cmp dword [eax + 0x10], edi
jne 0x410e64
push 0x11
push str.Invalid_ProductId
mov ecx, esi
call fcn.00401470
xor eax, eax
jmp 0x41100c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x410e6e
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edi
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat_EOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410f82
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.004122f0
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
push esi
call fcn.00410550
add esp, 4
test al, al
je 0x410f47
push dword [ebp - 0x30]
lea ecx, [ebp - 0x38]
call fcn.00411400
push dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
call fcn.00412310
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
cmp ecx, eax
je 0x410f05
mov edi, eax
lea ecx, [ebp - 0x30]
call fcn.004113a0
cmp dword [ebp - 0x30], edi
jne 0x410ef0
mov eax, dword [ebp - 0x44]
xor edi, edi
mov ecx, dword [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.00411f60
cmp dword [ebp - 0x34], 0
sete al
cmp dword [ebp - 0x40], 0
mov byte [ebp - 0x29], al
jbe 0x410f41
test al, al
jne 0x410f41
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push esi
call fcn.00410900
add esp, 4
test al, al
je 0x410f47
mov edi, 1
jmp 0x410f47
movzx edi, al
add edi, 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x29], 0
je 0x410f66
push str.SoftwareEasyAntiCheat_EOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push eax
push dword [eax]
lea eax, [ebp - 0x40]
push eax
call fcn.00411f60
push 0x28
push dword [ebp - 0x38]
jmp 0x411002
cmp eax, 2
jne 0x410f8c
lea edi, [eax + 1]
jmp 0x41100a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.0040e6a0
add esp, 0xc
mov dword [ebp - 0x40], eax
cmp esi, eax
je 0x410fd4
mov ecx, esi
call fcn.00401220
mov eax, dword [ebp - 0x40]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41100a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411000
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411027
push edx
push ecx
call fcn.0042b435
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.0042b3f4
mov esp, ebp
pop ebp
ret
call fcn.0043012a
int3