Function at 0x41eac0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x4846dd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x49a11c]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x220]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetErrorMode]
mov dword [ebp - 0x40], eax
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
mov byte [ebp - 0x11], 1
xor eax, eax
mov dword [ebp - 0x24], ebx
xor edi, edi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x58], eax
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], esi
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41eb9b
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41eb9b
push 0x488ffc
lea eax, [ebp]
push 0x104
push eax
call fcn.0045cf21
push dword [ebp - 0x18]
lea eax, [ebp]
push 0x104
push eax
call fcn.0045cf21
lea eax, [ebp]
add esp, 0x18
mov dword [ebp - 0x18], eax
call fcn.00412fa0
push 2
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0x20c], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41ede1
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x41ebdb
call fcn.00412fa0
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ecx + 8]
mov dword [ecx + 0x3c], eax
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x29bb
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x41edd2
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ecx
lea edx, [eax + eax]
mov ecx, dword [ebp - 0x64]
xor ebx, ebx
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x54], ebx
sar ecx, 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x30], ecx
cmp edx, 2
jb 0x41ec6c
cmp ecx, 0x7fffffff
ja 0x41eeeb
push ecx
lea ecx, [ebp - 0x54]
lfence
call fcn.00419f40
push dword [ebp - 0x68]
mov ebx, eax
lfence
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x48]
mov dword [ebp - 0x54], ebx
push ebx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4c], eax
call fcn.00430ed0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x50], ecx
mov eax, ecx
xor ecx, ecx
mov byte [ebp - 4], 3
mov word [ebp - 0x2e], cx
lea ecx, [ebp - 0x2e]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0041de30
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
push eax
lea eax, [ebp + 0x208]
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp + 0x208], 0x3b002c
mov dword [ebp + 0x20c], 0x20
mov dword [ebp - 0x2c], 0
push ebx
call fcn.0045ce33
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41ed38
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
test eax, eax
je 0x41ecfd
mov eax, dword [ebp - 0x1c]
push str.Dependency_module__ls_has_been_loaded_already
push 3
push 0xcb
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
push dword [eax]
call fcn.00418440
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x208]
push eax
push 0
jmp 0x41ecb6
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0041e6a0
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x41ed71
mov byte [ebp - 0x11], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.Dependency_module_load_failed
push 1
push 0xd5
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
push dword [ebx]
mov dword [ebp - 0x38], esi
call fcn.00418440
add esp, 0x18
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
test edx, edx
je 0x41edc8
mov eax, dword [ebp - 0x20]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, edx
cmp ecx, 0x1000
jb 0x41edbe
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eef0
jmp 0x41edbe
cmp edi, dword [ebp - 0x28]
je 0x41ed90
mov dword [edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x208]
add edi, 4
push eax
mov dword [ebp - 0x5c], edi
push 0
jmp 0x41ecb6
lea eax, [ebp - 0x48]
push eax
push edi
lea ecx, [ebp - 0x60]
call fcn.0041dcd0
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x208]
push eax
push 0
jmp 0x41ecb6
push ecx
push edx
call fcn.0042e020
add esp, 8
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 4], 1
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x11], 0
je 0x41edf3
mov ecx, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
call fcn.0041e8c0
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp ebx, edi
je 0x41ee10
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add ebx, 4
cmp ebx, edi
jne 0x41ee01
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
setne bl
test esi, esi
je 0x41ee24
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41eec4
mov ecx, dword [ebp - 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41eeba
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eef5
jmp 0x41eeba
push ecx
push edx
call fcn.0042e020
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0042e033
lea esp, [ebp + 0x214]
pop ebp
ret 8
call fcn.0041f3e0
call fcn.0045c36b
call fcn.0045c36b
int3