Function at 0x411560
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x48f244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
xor eax, eax
mov dword [ebp - 0x474], 0
push str.drivergenius.exe
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
call fcn.004049f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x45c]
push 7
xor eax, eax
mov dword [ebp - 0x45c], 0
push str.AppPath
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x444]
push 0x1f
push str.SOFTWAREMyDriversDriverGenius
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
call fcn.004049f0
xor esi, esi
mov dword [ebp - 0x42c], esi
cmp dword [ebp - 0x434], esi
je 0x41179f
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x428], 1
cmp dword [ebp - 0x430], 8
lea ecx, [ebp - 0x42c]
lea eax, [ebp - 0x444]
mov dword [ebp - 0x424], 0x206
cmovae eax, dword [ebp - 0x444]
push ecx
push 1
push esi
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41178e
cmp dword [ebp - 0x448], 8
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x428]
push ecx
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push esi
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41178e
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00444b80
add esp, 0xc
cmp dword [ebp - 0x464], esi
je 0x41173b
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
cmovae eax, dword [ebp - 0x474]
push eax
lea eax, [ebp - 0x420]
push eax
push str._s_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00411ae0
add esp, 0x14
jmp 0x41175b
lea eax, [ebp - 0x420]
push eax
push 0x4849c8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00411ae0
add esp, 0x10
test eax, eax
js 0x41178e
lea eax, [ebp - 0x218]
push eax
push 0x249
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___file_path_is:__s
call fcn.00410750
add esp, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x41179f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x430]
cmp edx, 8
jb 0x4117df
mov ecx, dword [ebp - 0x444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b4
push edx
push ecx
call fcn.00439095
add esp, 8
mov edx, dword [ebp - 0x448]
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
cmp edx, 8
jb 0x41183c
mov ecx, dword [ebp - 0x45c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b4
push edx
push ecx
call fcn.00439095
add esp, 8
mov edx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
cmp edx, 8
jb 0x411895
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41188b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b4
push edx
push ecx
call fcn.00439095
add esp, 8
shl esi, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
ret
call fcn.004480ba
int3