Function at 0x41f9c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4991cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4bd0c8]
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 0x41fa14
push 0x11
push str.Invalid_ProductId
mov ecx, esi
call fcn.00403bf0
xor eax, eax
jmp 0x41fbf9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fa1e
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 0x41fbc5
push 0x28
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0046e346
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.0041f230
add esp, 8
test al, al
je 0x41fb86
push edi
lea ecx, [ebp - 0x34]
call fcn.00420700
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x34]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.00420d40
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 0x41fad2
cmp byte [edi + 0xd], 0
je 0x41fad2
mov esi, eax
lea eax, [ebp - 0x34]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00420f40
xor eax, eax
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x30], eax
jmp 0x41fb48
cmp esi, edi
je 0x41fb45
lea ecx, [ebp - 0x3c]
call fcn.0041fe50
push esi
lea ecx, [ebp - 0x34]
call fcn.004208e0
mov esi, eax
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x41fb23
mov eax, dword [esi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41fb19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc15
mov eax, edx
push ecx
push eax
call fcn.0046e37b
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.0046e37b
mov esi, dword [ebp - 0x3c]
add esp, 8
cmp esi, edi
jne 0x41fad6
mov eax, dword [ebp - 0x30]
test eax, eax
sete al
cmp dword [ebp - 0x48], 0
mov byte [ebp - 0x29], al
jbe 0x41fb80
test al, al
jne 0x41fb80
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0041f5a0
add esp, 4
mov ecx, 1
test al, al
cmovne ebx, ecx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41fba5
movzx ebx, al
add ebx, 2
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x29], 0
je 0x41fba5
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.00420f40
push 0x28
push dword [ebp - 0x34]
call fcn.0046e37b
add esp, 8
jmp 0x41fbf7
cmp eax, 2
jne 0x41fbcf
lea ebx, [eax + 1]
jmp 0x41fbf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.0041d400
add esp, 0xc
mov ecx, esi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x28]
call fcn.004036b0
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.0046e338
mov esp, ebp
pop ebp
ret
call fcn.00473144
int3