Function at 0x41eb00
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x48470d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x49a134]
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 0x41ebdb
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41ebdb
push 0x48909c
lea eax, [ebp]
push 0x104
push eax
call fcn.0045cf51
push dword [ebp - 0x18]
lea eax, [ebp]
push 0x104
push eax
call fcn.0045cf51
lea eax, [ebp]
add esp, 0x18
mov dword [ebp - 0x18], eax
call fcn.00412fe0
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 0x41ee21
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x41ec1b
call fcn.00412fe0
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 0x41ee12
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 0x41ecac
cmp ecx, 0x7fffffff
ja 0x41ef2b
push ecx
lea ecx, [ebp - 0x54]
lfence
call fcn.00419f80
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.00430f00
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.0041de70
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.0045ce63
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41ed78
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
test eax, eax
je 0x41ed3d
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.00418480
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x208]
push eax
push 0
jmp 0x41ecf6
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0041e6e0
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x41edb1
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.00418480
add esp, 0x18
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
test edx, edx
je 0x41ee08
mov eax, dword [ebp - 0x20]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, edx
cmp ecx, 0x1000
jb 0x41edfe
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ef30
jmp 0x41edfe
cmp edi, dword [ebp - 0x28]
je 0x41edd0
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 0x41ecf6
lea eax, [ebp - 0x48]
push eax
push edi
lea ecx, [ebp - 0x60]
call fcn.0041dd10
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 0x41ecf6
push ecx
push edx
call fcn.0042e050
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 0x41ee33
mov ecx, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
call fcn.0041e900
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 0x41ee50
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add ebx, 4
cmp ebx, edi
jne 0x41ee41
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
setne bl
test esi, esi
je 0x41ee64
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41ef04
mov ecx, dword [ebp - 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41eefa
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ef35
jmp 0x41eefa
push ecx
push edx
call fcn.0042e050
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.0042e063
lea esp, [ebp + 0x214]
pop ebp
ret 8
call fcn.0041f420
call fcn.0045c39b
call fcn.0045c39b
int3