Function at 0x43aba0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x492f31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x14], edi
call fcn.0043a9f0
cmp dword [eax + 0x1c], 6
lea ebx, [edi + 2]
jl 0x43ac7b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x15
mov esi, 7
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push str.._sourcesHelpers.cpp
mov word [ecx + 4], ax
call fcn.0040fd40
mov dword [esp + 0x90], 1
push 0x66
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xe
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push str.CreateTempName
mov word [ecx + 4], dx
call fcn.0040fd40
mov byte [esp + 0xb0], bl
lea eax, [esp + 0x4f]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x60]
push 6
mov byte [esp + 0x57], 0
mov dword [esp + 0x64], str.Creating_temp_name
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____19___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x70], edx
call fcn.0043a9f0
mov byte [esp + 0xb8], 0
mov ecx, eax
call fcn.0043a890
mov esi, dword [esp + 0x7c]
mov ecx, esi
call fcn.00456bf0
mov dword [esp + 0x74], edi
mov dword [esp + 0x14], 1
cmp dword [esi + 8], ebx
jae 0x43ac9f
push ebx
mov ecx, esi
call fcn.00456aa0
mov eax, dword [esi]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi]
mov ebp, eax
xor edx, edx
mov dword [esi + 4], edi
mov word [ecx], dx
cmp ebp, edi
jbe 0x43ada8
lea ebx, [ebp + 1]
cmp ebx, dword [esi + 8]
jbe 0x43acce
push ebx
mov ecx, esi
call fcn.00456aa0
mov eax, dword [esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0043a9f0
cmp dword [eax + 0x1c], 6
jl 0x43ad86
mov eax, dword [esi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.._sourcesHelpers.cpp
mov dword [esp + 0x38], eax
call fcn.00413880
mov dword [esp + 0x90], 3
push 0x6d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.CreateTempName
call fcn.00413880
mov byte [esp + 0xb0], 4
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x4f]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x74]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], edx
push eax
lea ecx, [esp + 0x68]
lea edx, [esp + 0x70]
push 6
mov byte [esp + 0x57], 0
mov dword [esp + 0x6c], 0x49933c
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_wchar_t_const__const_const___class_Nvidia::Logging::Chain_char_const_____4___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov dword [esp + 0x80], edx
call fcn.0043a9f0
mov byte [esp + 0xb8], 0
mov ecx, eax
call fcn.0043a890
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + ebp*2 + 2], dx
xor eax, eax
cmp word [ecx], di
je 0x43ad9d
inc eax
cmp word [ecx + eax*2], di
jne 0x43ad96
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 4], eax
mov word [ecx + eax*2], dx
mov ebp, dword [esp + 0x80]
nop
push edi
lea eax, [esp + 0x50]
push ebp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x50]
push esi
push edx
call fcn.00457120
add esp, 0x18
mov dword [esp + 0x74], 5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete bl
mov byte [esp + 0x74], 0
mov eax, dword [esp + 0x40]
push eax
call fcn.0047247a
add esp, 4
test bl, bl
jne 0x43ae1b
inc edi
cmp edi, 0xfff
jl 0x43adb0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.00457260
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret