Function at 0x40eaf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x46e018]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x14], esi
call fcn.0040ce70
test eax, eax
je 0x40efab
call fcn.004163c0
cmp eax, 8
jne 0x40eb5b
push str.Shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40eb57
push str.SetProcessDpiAwareness
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40eb50
push 1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [esp + 0x14]
cmp dword [0x470eb4], 0
jne 0x40efab
mov ecx, dword [0x470ecc]
cmp dword [ecx - 0xc], 0
je 0x40eb94
push 0
push ecx
call fcn.0043c1d1
mov ecx, dword [0x470ecc]
add esp, 8
cmp eax, 0xffffffff
jne 0x40eb94
call fcn.004106d0
jmp 0x40efab
cmp dword [0x470ec0], 0
je 0x40ebae
cmp dword [ecx - 0xc], 0
je 0x40ebae
call fcn.004151f0
mov ecx, dword [0x470ecc]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
or ebx, 0xffffffff
cmp dword [0x470ebc], 0
je 0x40ecf5
push 0x65
mov dword [esp + 0x30], esi
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x40da90
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call esi
push 0x7f00
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x65
push dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 6
mov dword [esp + 0x48], str.UpdateTrayIcon
mov dword [esp + 0x44], 0
call esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x18]
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push SysReAllocString
push 0x464634
push str.UpdateTrayIcon
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
jne 0x40ec7c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040f050
add esp, 4
mov esi, 5
nop
mov ecx, dword [esp + 0x10]
call fcn.00415b70
test eax, eax
jne 0x40ecd1
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x40ec90
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x50024
push 0x464634
push 0x464658
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40efc4
mov edx, dword [esp + 0x10]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ecef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x470ecc]
cmp dword [ecx - 0xc], 0
je 0x40ed2f
call fcn.0040d640
lea ecx, [esp + 0x10]
call fcn.00411f00
mov ecx, dword [eax]
call fcn.0040d640
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40ed29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x470ecc]
cmp dword [0x470ec4], 0
je 0x40ef1d
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x40ee17
cmp dword [esp + 0x10], 0
je 0x40ee17
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0042ff40
add esp, 0xc
lea eax, [esp + 0x48]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UpdateTrayIcon64.exe
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x48]
push eax
call esi
push eax
lea eax, [esp + 0x4c]
push eax
push str.pre_run_path:_s_exists:_d
push 0x3ce
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.004154c0
add esp, 0xc
lea eax, [esp + 0x48]
push eax
call esi
push eax
lea eax, [esp + 0x4c]
push eax
push str.post_run_path:_s_exists:_d
push 0x3d0
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x1c
jmp 0x40eeeb
push 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov byte [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0xc
push 0x464c90
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
mov byte [esp + 0x3d], 0
call fcn.00402a20
cmp byte [esp + 0x34], 0
jne 0x40ee8d
push 0x463c84
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0x34], 0
test eax, eax
je 0x40ee92
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x18]
call fcn.004053c0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40eeaf
cmp eax, 0xffffffff
je 0x40eeaf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x30]
cmp edx, 8
jb 0x40eeeb
mov ecx, dword [esp + 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40efdd
push edx
push ecx
call fcn.0042dc50
add esp, 8
call fcn.0040dac0
call fcn.0040dc50
mov ebx, eax
mov esi, 0x3c
nop dword [eax]
mov ecx, ebx
call fcn.0040e1b0
test eax, eax
jne 0x40ef17
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x40ef00
mov ecx, dword [0x470ecc]
cmp dword [0x470eb0], 0
je 0x40efab
cmp dword [ecx - 0xc], 0
je 0x40efab
mov edx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40ef50
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [esp + 0x20]
call fcn.00402a20
lea ecx, [esp + 0x18]
call fcn.00401290
mov edx, dword [esp + 0x2c]
cmp edx, 8
jb 0x40efab
mov ecx, dword [esp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40efa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40efe2
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov ecx, dword [esp + 0x254]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042dc42
mov esp, ebp
pop ebp
ret 0x10
push 0x464684
call fcn.0040c560
add esp, 4
call fcn.00410970
push 0
call fcn.0043b548
call fcn.0043276f
call fcn.0043276f
int3