Function at 0x4026ec
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [0x5599f4]
mov esi, ecx
mov ebx, str.nw.dll
xor eax, ebp
mov dword [esp + 0x258], eax
cmp dword [esi + 0x18], 0
je 0x402744
add esi, 8
mov ecx, esi
push str.service
call fcn.00401b32
test al, al
jne 0x402744
mov ecx, esi
push str.watcher
call fcn.00401b32
mov ecx, str.chrome_watcher.dll
mov ebx, str.nw.dll
test al, al
cmovne ebx, ecx
push ebx
call fcn.004dc2cd
add esp, 4
lea edi, [esp + 0x38]
mov esi, eax
mov ecx, edi
call fcn.004103c0
push edi
push 2
call fcn.00413bb0
add esp, 8
lea eax, [esp + 0x20]
mov ecx, edi
mov dword [esp], esi
push esi
push ebx
push eax
mov edi, eax
call fcn.00411430
lea esi, [esp + 0x50]
mov ecx, esi
push 0x21
push edi
call fcn.0041d250
mov ecx, esi
call fcn.0041d430
mov ecx, esi
mov edi, ebx
mov ebx, eax
call fcn.0041d390
test bl, bl
mov dword [esp + 4], edi
je 0x4027b0
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
call fcn.004103e0
jmp 0x4027e1
mov ebx, str.65.0.3325.146
push ebx
call fcn.004dc120
add esp, 4
lea ecx, [esp + 0x38]
push eax
push ebx
push esi
call fcn.00411db0
lea eax, [esp + 8]
mov ecx, esi
push dword [esp]
push edi
push eax
call fcn.00411430
mov ecx, esi
call fcn.00401930
lea ecx, [esp + 0x20]
call fcn.00401930
lea ebx, [esp + 0x38]
mov ecx, ebx
call fcn.00401930
mov edi, dword [ebp + 8]
lea esi, [esp + 8]
mov ecx, edi
push esi
call fcn.00410590
mov ecx, esi
call fcn.00401930
cmp dword [edi + 0x10], 0
je 0x4028e3
lea eax, [esp + 0x50]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [esp], eax
mov ecx, edi
push ebx
call fcn.00410ee0
mov esi, 7
mov eax, ebx
cmp dword [esp + 0x4c], esi
jbe 0x402841
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, ebx
call fcn.00401930
push edi
call fcn.00402fa8
add esp, 4
cmp dword [edi + 0x14], esi
mov eax, edi
mov esi, edi
jbe 0x402863
mov eax, dword [esi]
xor ecx, ecx
push 8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp dword [esp], 0
mov ebx, eax
lea eax, [esp + 0x50]
je 0x402882
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test ebx, ebx
jne 0x402936
xor ebx, ebx
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x402936
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 0x50]
mov ecx, edi
push eax
push 2
push 0x91
push str..._.._chrome_app_main_dll_loader_win.cc
call fcn.00419440
lea eax, [esp + 0x60]
push str.Failed_to_load_NW_DLL_from
push eax
call fcn.004015c0
add esp, 8
cmp dword [esi + 0x14], 7
jbe 0x4028d5
mov esi, dword [esi]
push esi
push eax
call fcn.00419620
add esp, 8
mov ecx, edi
jmp 0x402931
xor ebx, ebx
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x402936
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x50]
mov ecx, esi
push eax
push 2
push 0x8c
push str..._.._chrome_app_main_dll_loader_win.cc
call fcn.00419440
lea eax, [esp + 0x60]
push str.Cannot_find_module
push eax
call fcn.004015c0
add esp, 8
push dword [esp + 4]
push eax
call fcn.00419620
add esp, 8
mov ecx, esi
call fcn.00419560
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4