Function at 0x417310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d04c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x53a6dc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0040c410
cmp dword [0x57e058], 0
mov dword [ebp - 4], 0
je 0x417459
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x53a5b4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x41744f
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x254]
push ecx
movups xmmword [ebp - 0x254], xmm0
movups xmmword [ebp - 0x244], xmm0
call eax
mov ax, word [ebp - 0x254]
cmp ax, 9
je 0x417445
cmp ax, 6
je 0x417445
cmp ax, 0xc
je 0x417445
push 0x53a5e0
push 0x53a5f0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x41743c
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x41743c
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x270], cx
sete al
mov dword [0x584c74], eax
jmp 0x41744f
xor eax, eax
mov dword [0x584c74], eax
jmp 0x41744f
mov dword [0x584c74], 1
mov dword [0x57e058], 0
cmp dword [0x584c74], 0
je 0x417474
push 0x12
push str.TabXExplorer64.exe
lea ecx, [ebp - 0x230]
call fcn.0040c410
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005020d0
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0042b6e0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4175ab
call fcn.00436bb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4175a6
push 0x3a
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraymonitordir.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
call fcn.0040c320
mov byte [ebp - 4], 2
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0x30c]
push 0xfb
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00407db0
mov esi, eax
push str.tabx_main_not_existed
push esi
mov byte [ebp - 4], 3
call fcn.00406f20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.00409010
lea ecx, [ebp - 0x26c]
call fcn.00408860
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00408860
call fcn.004108b0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4175e7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4175dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417602
push edx
push ecx
call fcn.004bf3aa
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf660
mov esp, ebp
pop ebp
ret
call fcn.005055a9
int3