Function at 0x4940a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d347b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7a8
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1b]
xor ebx, ebx
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x7c4], ebx
call fcn.0041dbef
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
lea ecx, [esp + 0x19]
mov byte [esp + 0x7c0], 1
push ecx
lea ecx, [esp + 0x20]
call fcn.0041dbef
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea edx, [esp + 0x1a]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x7c4], 2
call fcn.0041dbef
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x7c4], 3
call fcn.0041dbef
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x15]
mov byte [esp + 0x7c0], 4
push ecx
lea ecx, [esp + 0x98]
call fcn.0041dbef
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
lea edx, [esp + 0x16]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x7c4], 5
call fcn.0041dbef
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x17]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x7c4], 6
call fcn.0041dbef
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046ceb0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046ceb0
push ebx
push 1
push 0x1f67
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x100]
mov byte [esp + 0x7d0], 9
call fcn.0046d810
test eax, eax
jne 0x494390
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
mov eax, dword [esp + 0x44]
mov byte [esp + 0x7c0], 6
cmp eax, ebx
je 0x494240
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x44], ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00406ad6
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c0], 5
cmp eax, ebx
je 0x494268
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x5c], ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00406ad6
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x7c0], 4
cmp eax, ebx
je 0x494296
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xa4], ebx
push 1
lea ecx, [esp + 0x98]
call fcn.00406ad6
mov eax, dword [esp + 0x74]
mov byte [esp + 0x7c0], 3
cmp eax, ebx
je 0x4942c1
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x74], ebx
push 1
lea ecx, [esp + 0x68]
call fcn.00406ad6
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x7c0], 2
cmp eax, ebx
je 0x4942ef
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x8c], ebx
push 1
lea ecx, [esp + 0x80]
call fcn.00406ad6
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c0], 1
cmp eax, ebx
je 0x49431a
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x2c], ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00406ad6
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x7c0], bl
cmp eax, ebx
je 0x494347
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xbc], ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.00406ad6
mov eax, dword [esp + 0x7e0]
mov dword [esp + 0x7c0], 0xffffffff
cmp eax, ebx
je 0x49437b
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x7e0], ebx
push 1
lea ecx, [esp + 0x7d4]
call fcn.00406ad6
xor eax, eax
jmp 0x494ce9
push ebx
push ebx
push 0x1c98
lea ecx, [esp + 0xfc]
call fcn.004a8f80
push eax
lea ecx, [esp + 0xd4]
call fcn.0046d810
test eax, eax
jne 0x494531
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
mov eax, dword [esp + 0x44]
mov byte [esp + 0x7c0], 6
cmp eax, ebx
je 0x4943fd
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x44], ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00406ad6
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c0], 5
cmp eax, ebx
je 0x494425
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x5c], ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00406ad6
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x7c0], 4
cmp eax, ebx
je 0x494453
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xa4], ebx
push 1
lea ecx, [esp + 0x98]
call fcn.00406ad6
mov eax, dword [esp + 0x74]
mov byte [esp + 0x7c0], 3
cmp eax, ebx
je 0x49447e
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x74], ebx
push 1
lea ecx, [esp + 0x68]
call fcn.00406ad6
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x7c0], 2
cmp eax, ebx
je 0x4944ac
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x8c], ebx
push 1
lea ecx, [esp + 0x80]
call fcn.00406ad6
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c0], 1
cmp eax, ebx
je 0x4944d7
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x2c], ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00406ad6
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x7c0], bl
cmp eax, ebx
je 0x494504
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xbc], ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.00406ad6
mov eax, dword [esp + 0x7e0]
mov dword [esp + 0x7c0], 0xffffffff
cmp eax, ebx
je 0x49437b
jmp 0x49436b
mov eax, dword [0x5041d4]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, ebx
jne 0x494573
push str.m_hInstance___0
lea ecx, [esp + 0x3ac]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x3a8]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x11c]
push 0x104
push eax
push 0x1ca2
push ecx
call ebp
cmp eax, ebx
je 0x4945c0
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x9c]
call fcn.0040695a
jmp 0x4945e1
push str..NetCfgInterface.cpp
push 0x2249
push str.csProtocolID.LoadString_IDS_IANS_PROTOCOL_DEVICE_ID_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
cmp dword [0x5041d4], ebx
jne 0x49461c
push str.m_hInstance___0
lea ecx, [esp + 0x3ac]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x3a8]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
lea eax, [esp + 0x11c]
push 0x104
push eax
push 0x1ca3
push ecx
call ebp
cmp eax, ebx
je 0x494660
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0040695a
jmp 0x494681
push str..NetCfgInterface.cpp
push 0x224a
push str.csMiniportID.LoadString_IDS_IANS_MINIPORT_DEVICE_ID_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
cmp dword [0x5041d4], ebx
jne 0x4946bc
push str.m_hInstance___0
lea ecx, [esp + 0x3ac]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x3a8]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
lea eax, [esp + 0x11c]
push 0x104
push eax
push 0x1c99
push ecx
call ebp
cmp eax, ebx
je 0x494703
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.0040695a
jmp 0x494724
push str..NetCfgInterface.cpp
push 0x224c
push str.csNdiFilename.LoadString_IDS_IANS_NDI_FILENAME_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
cmp dword [0x5041d4], ebx
jne 0x49475f
push str.m_hInstance___0
lea ecx, [esp + 0x3ac]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x3a8]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
lea eax, [esp + 0x11c]
push 0x104
push eax
push 0x1c9d
push ecx
call ebp
cmp eax, ebx
je 0x4947a6
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.0040695a
jmp 0x4947c7
push str..NetCfgInterface.cpp
push 0x224d
push str.csProtocolInfFilename.LoadString_IDS_IANS_PROTOCOL_INF_FILENAME_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
cmp dword [0x5041d4], ebx
jne 0x494802
push str.m_hInstance___0
lea ecx, [esp + 0x3ac]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x3a8]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
lea eax, [esp + 0x11c]
push 0x104
push eax
push 0x1c9e
push ecx
call ebp
cmp eax, ebx
je 0x494846
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.0040695a
jmp 0x494867
push str..NetCfgInterface.cpp
push 0x224e
push str.csMiniportInfFilename.LoadString_IDS_IANS_MINIPORT_INF_FILENAME_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
lea ecx, [esp + 0x2a8]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [esp + 0xb0]
cmp eax, ebx
jne 0x49488a
mov eax, 0x4d68e8
lea edx, [esp + 0x2a8]
push eax
push edx
lea eax, [esp + 0x24]
push 0x4f3004
push eax
call fcn.00430ae0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, ebx
jne 0x4948b2
mov eax, 0x4d68e8
mov edi, dword [sym.imp.KERNEL32.dll_OpenFile]
lea ecx, [esp + 0x220]
push 0x4000
push ecx
push eax
call edi
cmp eax, 0xffffffff
jne 0x49494a
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
mov eax, dword [esp + 0x44]
mov byte [esp + 0x7c0], 6
cmp eax, ebx
je 0x494912
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x44], ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00406ad6
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c0], 5
cmp eax, ebx
je 0x49493a
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x5c], ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00406ad6
jmp 0x494b78
cmp dword [esp + 0x7c8], ebx
je 0x494983
push 0x1c9a
lea ecx, [esp + 0x38]
call fcn.0041a16a
test eax, eax
jne 0x4949b6
push str..NetCfgInterface.cpp
push 0x2259
push str.csFunction.LoadString_IDS_NDI_INSTALL_IPSECS_
lea edx, [esp + 0x3b4]
push str.__s____d__in___s_
push edx
jmp 0x4949b1
push 0x1c9b
lea ecx, [esp + 0x38]
call fcn.0041a16a
test eax, eax
jne 0x4949b6
push str..NetCfgInterface.cpp
push 0x225d
push str.csFunction.LoadString_IDS_NDI_REMOVE_IPSECS_
lea eax, [esp + 0x3b4]
push str.__s____d__in___s_
push eax
call esi
add esp, 0x14
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jne 0x4949c3
mov ecx, 0x4d68e8
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4949d0
mov eax, 0x4d68e8
push ecx
mov ecx, dword [esp + 0x7d0]
push eax
push 0x1c9c
push ecx
call fcn.0041c3cf
add esp, 0x10
lea edx, [esp + 0x2a8]
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0x80]
cmp eax, ebx
jne 0x494a0a
mov eax, 0x4d68e8
push eax
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x24]
push str._sInf_s
push ecx
call fcn.00430ae0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, ebx
jne 0x494a32
mov eax, 0x4d68e8
lea edx, [esp + 0x220]
push 0x4000
push edx
push eax
call edi
cmp eax, 0xffffffff
jne 0x494acb
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
lea ecx, [esp + 0x34]
call fcn.00405d6e
lea ecx, [esp + 0x4c]
call fcn.00405d6e
lea ecx, [esp + 0x94]
call fcn.00405d6e
lea ecx, [esp + 0x64]
call fcn.00405d6e
lea ecx, [esp + 0x7c]
call fcn.00405d6e
lea ecx, [esp + 0x1c]
call fcn.00405d6e
lea ecx, [esp + 0xac]
call fcn.00405d6e
lea ecx, [esp + 0x7d0]
call fcn.00405d6e
xor eax, eax
jmp 0x494ce9
push ebx
lea eax, [esp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040907d
push 0x1ca4
lea ecx, [esp + 0xe4]
call fcn.0046e800
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x494afd
mov eax, 0x4d68e8
lea ecx, [esp + 0x2a8]
push eax
push ecx
lea edx, [esp + 0x24]
push str._sInf_s
push edx
call fcn.00430ae0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, ebx
jne 0x494b25
mov eax, 0x4d68e8
lea ecx, [esp + 0x220]
push 0x4000
push ecx
push eax
call edi
cmp eax, 0xffffffff
jne 0x494bbe
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
lea ecx, [esp + 0x34]
call fcn.00405d6e
lea ecx, [esp + 0x4c]
call fcn.00405d6e
lea ecx, [esp + 0x94]
call fcn.00405d6e
lea ecx, [esp + 0x64]
call fcn.00405d6e
lea ecx, [esp + 0x7c]
call fcn.00405d6e
lea ecx, [esp + 0x1c]
call fcn.00405d6e
lea ecx, [esp + 0xac]
call fcn.00405d6e
lea ecx, [esp + 0x7d0]
call fcn.00405d6e
xor eax, eax
jmp 0x494ce9
push ebx
lea edx, [esp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040907d
push 0x1ca5
lea ecx, [esp + 0xe4]
call fcn.0046e800
push ebx
lea eax, [esp + 0x98]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040907d
push 0x1ca0
lea ecx, [esp + 0xe4]
call fcn.0046e800
push ebx
lea edx, [esp + 0x50]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040907d
push 0x1c9f
lea ecx, [esp + 0xe4]
call fcn.0046e800
push ebx
lea eax, [esp + 0x7d4]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040907d
push 0x1c56
lea ecx, [esp + 0xe4]
call fcn.0046e800
push 0xffffffffffffffff
push 0x1ca1
lea ecx, [esp + 0xcc]
call fcn.0046e640
lea ecx, [esp + 0xc4]
mov byte [esp + 0x7c0], 8
call fcn.0046cf30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7c0], 7
call fcn.0046cf30
lea ecx, [esp + 0x34]
call fcn.00405d6e
lea ecx, [esp + 0x4c]
call fcn.00405d6e
lea ecx, [esp + 0x94]
call fcn.00405d6e
lea ecx, [esp + 0x64]
call fcn.00405d6e
lea ecx, [esp + 0x7c]
call fcn.00405d6e
lea ecx, [esp + 0x1c]
call fcn.00405d6e
lea ecx, [esp + 0xac]
call fcn.00405d6e
lea ecx, [esp + 0x7d0]
call fcn.00405d6e
mov eax, 1
mov ecx, dword [esp + 0x7b8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7b4
ret 0x20