Function at 0x1114c1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
push str.Kernel32.dll
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x43c], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x440], esi
push str.Wow64DisableWow64FsRedirection
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x448], eax
cmp eax, esi
je 0x1114c2a5
lea ecx, [ebp - 0x438]
push ecx
call eax
jmp 0x1114c2ad
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x424]
call fcn.1113dd30
push 0x206
lea eax, [ebp - 0x41e]
xor edx, edx
push esi
push eax
mov dword [ebp - 0x43c], 1
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp dword [0x1127aa48], 0x120003
jl 0x1114c421
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push esi
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
push ebx
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push str._sPrinting_Admin_Scriptsen_US_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.1114c060
test eax, eax
je 0x1114c358
lea ecx, [ebp - 0x218]
push ecx
jmp 0x1114c457
lea edx, [ebp - 0x434]
push edx
mov ecx, edi
call fcn.1114c0e0
mov eax, dword [ebp - 0x434]
mov edx, dword [eax]
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 2
call edx
test al, al
jne 0x1114c395
push 0x263
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
cmp dword [ebp - 0x42c], esi
je 0x1114c410
mov eax, dword [ebp - 0x434]
mov edx, dword [eax]
lea ecx, [ebp - 0x434]
call edx
test al, al
jne 0x1114c3c8
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x428]
push ebx
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push str._sPrinting_Admin_Scripts_s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.1114c060
test eax, eax
je 0x1114c410
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x424]
call fcn.1113dbf0
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.1113cd80
jmp 0x1114c462
push ebx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push 0x11207c1c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
mov ecx, edi
call fcn.1114c060
test eax, eax
je 0x1114c462
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x424]
call fcn.1113dbf0
mov ebx, dword [ebp - 0x494]
mov edi, dword [ebp - 0x438]
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x444], eax
cmp eax, esi
je 0x1114c489
push edi
call eax
jmp 0x1114c491
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, esi
je 0x1114c49c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8