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

Disassembly:
push 0xffffffffffffffff
push 0x48ea89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], ebx
call fcn.0043b1c0
cmp dword [eax + 0x1c], 6
jl 0x43fb37
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x12
mov esi, 7
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.._sourcesmain.cpp
mov word [ecx + 4], ax
call fcn.00410830
mov dword [esp + 0x6c], 1
push 0xbe
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], ebx
push str.CreateTempName
mov word [ecx + 4], dx
call fcn.00410830
mov byte [esp + 0x8c], 2
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], bl
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.0043b1c0
mov byte [esp + 0x94], bl
mov ecx, eax
call fcn.0043b060
mov esi, dword [esp + 0x58]
push 3
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004010b0
mov dword [esp + 0x50], ebx
cmp dword [esi + 8], 2
mov dword [esp + 0x14], 1
jg 0x43fb67
push 2
mov ecx, esi
call fcn.004010b0
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push 1
call ebp
mov ecx, dword [esi]
xor edx, edx
mov edi, eax
mov word [ecx], dx
mov dword [esi + 4], ebx
cmp edi, ebx
jbe 0x43fcf5
call fcn.0043b1c0
cmp dword [eax + 0x1c], 6
jl 0x43fc18
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.._sourcesmain.cpp
call fcn.00414330
mov dword [esp + 0x6c], 3
push 0xc4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CreateTempName
call fcn.00414330
mov byte [esp + 0x8c], 4
lea eax, [esp + 0x4f]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x68]
push 6
mov byte [esp + 0x57], bl
mov dword [esp + 0x6c], str.Getting_temp_path
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____18___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x68], edx
call fcn.0043b1c0
mov byte [esp + 0x94], bl
mov ecx, eax
call fcn.0043b060
inc edi
cmp edi, dword [esi + 8]
jl 0x43fc26
push edi
mov ecx, esi
call fcn.004010b0
mov eax, dword [esi]
push eax
push edi
call ebp
call fcn.0043b1c0
cmp dword [eax + 0x1c], 6
jl 0x43fcd8
mov ecx, dword [esi]
sub esp, 0x1c
mov dword [esp + 0x34], ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.._sourcesmain.cpp
call fcn.00414330
mov dword [esp + 0x6c], 5
push 0xc6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.CreateTempName
call fcn.00414330
mov byte [esp + 0x8c], 6
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x4f]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x74]
mov dword [esp + 0x80], edx
mov dword [esp + 0x68], eax
push ecx
lea edx, [esp + 0x68]
lea eax, [esp + 0x70]
push 6
mov byte [esp + 0x57], bl
mov dword [esp + 0x6c], 0x4969ac
mov dword [esp + 0x78], edx
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], eax
call fcn.0043b1c0
mov byte [esp + 0x94], bl
mov ecx, eax
call fcn.0043b060
mov edx, dword [esi]
xor ecx, ecx
cmp word [edx], bx
je 0x43fcec
mov eax, edx
add eax, 2
inc ecx
cmp word [eax], bx
jne 0x43fce3
xor eax, eax
mov word [edx + ecx*2], ax
mov dword [esi + 4], ecx
mov ebp, dword [esi + 4]
xor edi, edi
lea ebx, [ebx]
lea eax, [ebp + 0xf]
cmp eax, dword [esi + 8]
jl 0x43fd10
push eax
mov ecx, esi
call fcn.004010b0
mov eax, dword [esi]
mov ecx, dword [esp + 0x5c]
push edi
push ecx
lea edx, [eax + ebp*2]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esi]
add esp, 0xc
xor eax, eax
cmp word [edx], bx
je 0x43fd39
mov ecx, edx
add ecx, 2
inc eax
cmp word [ecx], bx
jne 0x43fd30
xor ecx, ecx
mov word [edx + eax*2], cx
mov dword [esi + 4], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fd59
inc edi
cmp edi, 0xfff
jl 0x43fd00
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret