Function at 0x41f5b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x4c], esi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x29], bl
cmp dword [edi + 0x10], ebx
jne 0x41f604
push 0x11
push str.Invalid_ProductId
mov ecx, esi
call fcn.00403b80
xor eax, eax
jmp 0x41f7e9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f60e
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [eax], cx
lea eax, [ebp - 0x38]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f7b5
push 0x28
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0046ce86
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push esi
call fcn.0041ee20
add esp, 8
test al, al
je 0x41f776
push edi
lea ecx, [ebp - 0x34]
call fcn.004202f0
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x34]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.00420930
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x3c], esi
cmp esi, dword [eax]
jne 0x41f6c2
cmp byte [edi + 0xd], 0
je 0x41f6c2
mov esi, eax
lea eax, [ebp - 0x34]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00420b30
xor eax, eax
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x30], eax
jmp 0x41f738
cmp esi, edi
je 0x41f735
lea ecx, [ebp - 0x3c]
call fcn.0041fa40
push esi
lea ecx, [ebp - 0x34]
call fcn.004204d0
mov esi, eax
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x41f713
mov eax, dword [esi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41f709
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f805
mov eax, edx
push ecx
push eax
call fcn.0046cebb
add esp, 8
xor eax, eax
mov word [esi + 0x10], ax
push 0x28
mov dword [esi + 0x20], eax
push esi
mov dword [esi + 0x24], 7
call fcn.0046cebb
mov esi, dword [ebp - 0x3c]
add esp, 8
cmp esi, edi
jne 0x41f6c6
mov eax, dword [ebp - 0x30]
test eax, eax
sete al
cmp dword [ebp - 0x48], 0
mov byte [ebp - 0x29], al
jbe 0x41f770
test al, al
jne 0x41f770
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0041f190
add esp, 4
mov ecx, 1
test al, al
cmovne ebx, ecx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f795
movzx ebx, al
add ebx, 2
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x29], 0
je 0x41f795
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
mov ecx, eax
call fcn.00420b30
push 0x28
push dword [ebp - 0x34]
call fcn.0046cebb
add esp, 8
jmp 0x41f7e7
cmp eax, 2
jne 0x41f7bf
lea ebx, [eax + 1]
jmp 0x41f7e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.0041d020
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409730
lea ecx, [ebp - 0x28]
call fcn.00403640
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3