Function at 0x47751b
Capabilities:
Get common file path

Disassembly:
push 0x418
mov eax, 0x5b3993
call fcn.0056bee1
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x354], edi
mov byte [ebp - 0x358], bl
call fcn.00475b06
test al, al
jne 0x47754f
mov byte [ebp - 0x358], bl
push str.HKLMSOFTWARENVIDIA_CorporationGlobalNVUpdatus
lea esi, [ebp - 0x238]
call fcn.004037ae
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x70]
push ebx
mov ecx, esi
call fcn.004790b6
or dword [ebp - 4], 0xffffffff
pop ecx
push 1
xor edi, edi
call fcn.00404589
push str.HKLMSOFTWARENVIDIA_CorporationGlobalNvBackend
lea esi, [ebp - 0x238]
call fcn.004037ae
xor esi, esi
inc esi
push ebx
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], esi
call fcn.004790b6
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
lea esi, [ebp - 0x238]
call fcn.00404589
push str.HKCUSOFTWARENVIDIA_CorporationNvBackend
lea esi, [ebp - 0x238]
call fcn.004037ae
push ebx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004790b6
or dword [ebp - 4], 0xffffffff
pop ecx
push 1
call fcn.00404589
push str.HKLMSOFTWARENVIDIA_CorporationGlobalNvTweak
lea esi, [ebp - 0x238]
call fcn.004037ae
push ebx
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.004790b6
or dword [ebp - 4], 0xffffffff
pop ecx
push 1
call fcn.00404589
lea ebx, [ebp - 0x238]
call fcn.0047622c
push 2
push dword [ebp - 0x354]
mov ecx, 0x4000
mov edx, eax
mov dword [ebp - 4], 4
call fcn.00477c3f
or dword [ebp - 4], 0xffffffff
push 1
mov esi, ebx
call fcn.00404589
lea ecx, [ebp - 0x318]
call fcn.0047636e
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 5
call fcn.00483248
test al, al
je 0x47767e
cmp byte [ebp - 0x358], 0
mov ecx, 0x100000
je 0x47766b
mov ecx, 0x500000
push 1
push dword [ebp - 0x354]
lea edx, [ebp - 0x318]
call fcn.00477c3f
lea ecx, [ebp - 0x350]
call fcn.004763b2
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 6
call fcn.00483248
test al, al
je 0x4776b4
push 1
push dword [ebp - 0x354]
mov ecx, 0xc800
lea edx, [ebp - 0x350]
call fcn.00477c3f
lea ebx, [ebp - 0x334]
call fcn.004765e4
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00483248
test al, al
je 0x4776e2
push 1
push dword [ebp - 0x354]
mov ecx, 0x40000
mov edx, ebx
call fcn.00477c3f
lea ecx, [ebp - 0x378]
call fcn.00476627
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x374]
sub eax, dword [ebp - 0x378]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
test eax, eax
je 0x477751
xor esi, esi
mov eax, dword [ebp - 0x378]
add eax, esi
call fcn.00483248
test al, al
je 0x477737
mov eax, dword [ebp - 0x378]
push 1
push dword [ebp - 0x354]
lea edx, [esi + eax]
mov ecx, 0x40000
call fcn.00477c3f
mov eax, dword [ebp - 0x374]
sub eax, dword [ebp - 0x378]
push 0x1c
cdq
pop ecx
idiv ecx
inc edi
add esi, 0x1c
cmp edi, eax
jb 0x47770b
lea ebx, [ebp - 0x2c4]
call fcn.00476870
mov eax, ebx
mov byte [ebp - 4], 9
call fcn.00483248
test al, al
je 0x47777f
push 1
push dword [ebp - 0x354]
mov ecx, 0x40000
mov edx, ebx
call fcn.00477c3f
lea ebx, [ebp - 0x238]
call fcn.0047632b
mov byte [ebp - 4], 0xa
push dword [ebp - 0x358]
mov ecx, eax
push dword [ebp - 0x354]
call fcn.0047727d
pop ecx
pop ecx
push 1
xor edi, edi
mov esi, ebx
mov byte [ebp - 4], 9
call fcn.00404589
push str.C:NvidiaLogging
lea esi, [ebp - 0x238]
call fcn.004037ae
mov byte [ebp - 4], 0xb
push dword [ebp - 0x358]
mov ecx, esi
push dword [ebp - 0x354]
call fcn.0047727d
pop ecx
pop ecx
push 1
mov byte [ebp - 4], 9
call fcn.00404589
call fcn.0048549e
cmp eax, 5
jl 0x4778a1
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x24
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
jne 0x4778a1
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x270]
call fcn.004037ae
push str.inf_setupapi.dev.log
mov eax, esi
push eax
mov byte [ebp - 4], 0xc
call fcn.0040dc78
mov eax, esi
call fcn.00483248
test al, al
je 0x47788e
lea eax, [ebp - 0x248]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.0047a01c
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x244]
sub eax, dword [ebp - 0x248]
mov edx, esi
push eax
push dword [ebp - 0x248]
push dword [ebp - 0x354]
call fcn.00477f90
cmp dword [ebp - 0x248], edi
je 0x477887
push dword [ebp - 0x248]
call fcn.0055da69
pop ecx
mov dword [ebp - 4], 0xc
push 1
xor edi, edi
lea esi, [ebp - 0x270]
mov byte [ebp - 4], 9
call fcn.00404589
lea ecx, [ebp - 0x368]
call fcn.00476439
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x364]
sub eax, dword [ebp - 0x368]
push 0x1c
pop edi
cdq
mov ecx, edi
idiv ecx
xor ebx, ebx
test eax, eax
je 0x477910
xor esi, esi
mov eax, dword [ebp - 0x368]
add eax, esi
call fcn.00483248
test al, al
je 0x4778f8
mov eax, dword [ebp - 0x368]
push 1
push dword [ebp - 0x354]
lea edx, [esi + eax]
mov ecx, 0x7d000
call fcn.00477c3f
mov eax, dword [ebp - 0x364]
sub eax, dword [ebp - 0x368]
mov ecx, edi
cdq
idiv ecx
inc ebx
add esi, edi
cmp ebx, eax
jb 0x4778cc
lea ebx, [ebp - 0x2e0]
call fcn.004764d6
mov eax, ebx
mov byte [ebp - 4], 0x13
call fcn.00483248
test al, al
je 0x47793e
push 1
push dword [ebp - 0x354]
mov ecx, 0x40000
mov edx, ebx
call fcn.00477c3f
lea ecx, [ebp - 0x2fc]
call fcn.0047655c
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0x14
call fcn.00483248
test al, al
je 0x477974
push 2
push dword [ebp - 0x354]
mov ecx, 0x7d000
lea edx, [ebp - 0x2fc]
call fcn.00477c3f
lea ecx, [ebp - 0x2a8]
call fcn.004765a0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x15
call fcn.00483248
test al, al
je 0x4779aa
push 2
push dword [ebp - 0x354]
mov ecx, 0x40000
lea edx, [ebp - 0x2a8]
call fcn.00477c3f
lea ecx, [ebp - 0x388]
call fcn.004767d2
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x388]
jmp 0x477a75
mov eax, esi
call fcn.00483248
test al, al
je 0x477a73
push 1
push dword [ebp - 0x354]
mov ecx, 0x20000
mov edx, esi
call fcn.00477c3f
add esi, edi
cmp esi, dword [ebp - 0x384]
jne 0x477a54
lea ebx, [ebp - 0x28c]
call fcn.00476297
push 2
push dword [ebp - 0x354]
mov esi, 0x100000
mov ecx, esi
mov edx, ebx
mov byte [ebp - 4], 0x17
call fcn.00477c3f
push str..bak
mov eax, ebx
push eax
call fcn.0040dc78
push 2
push dword [ebp - 0x354]
mov ecx, esi
mov edx, ebx
call fcn.00477c3f
push 1
xor edi, edi
mov esi, ebx
call fcn.00404589
lea esi, [ebp - 0x388]
call fcn.0040f046
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0x2a8]
call fcn.00404589
push ebx
lea esi, [ebp - 0x2fc]
call fcn.00404589
push ebx
lea esi, [ebp - 0x2e0]
call fcn.00404589
lea esi, [ebp - 0x368]
call fcn.0040f046
push ebx
lea esi, [ebp - 0x2c4]
call fcn.00404589
lea esi, [ebp - 0x378]
call fcn.0040f046
push ebx
lea esi, [ebp - 0x334]
call fcn.00404589
push ebx
lea esi, [ebp - 0x350]
call fcn.00404589
push ebx
lea esi, [ebp - 0x318]
call fcn.00404589
call fcn.0056bf3d
ret