Function at 0x1003d460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0954
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100d07a8]
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 ebx, ecx
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1003d4a8
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or edi, 0xffffffff
mov dword [ebx + 0x58], eax
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x5c], ecx
test esi, esi
je 0x1003d4da
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003d4da
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1003d4da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], eax
add ebx, 0xa0
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x1003d4f0
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003d689
cmp dword [ebx + 0x14], 8
jb 0x1003d507
mov ebx, dword [ebx]
push 0x2010
push 0
push 0
push 1
push ebx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x100d3730], eax
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003d5db
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
mov byte [ebp - 4], 2
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xa9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar__PathFileExists_suc
push esi
mov byte [ebp - 4], 3
call fcn.10003800
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005bc0
lea ecx, [ebp - 0x40]
call fcn.10002b00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002b00
cmp dword [0x100d3730], 0
je 0x1003d762
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003d762
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
mov byte [ebp - 4], 5
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar__LoadImageW_suc
push esi
mov byte [ebp - 4], 6
call fcn.10003800
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x1003d743
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003d762
cmp dword [ebx + 0x14], 8
jb 0x1003d6ad
mov ebx, dword [ebx]
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
mov byte [ebp - 4], 8
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xb1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_hIcon_file_not_exist_path_s
push esi
mov byte [ebp - 4], 9
call fcn.10003800
test ebx, ebx
mov ecx, 0x100a68c0
cmovne ecx, ebx
push ecx
push esi
call fcn.10003800
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005bc0
lea ecx, [ebp - 0x40]
call fcn.10002b00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002b00
mov ebx, dword [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebx + 0x9c], 0
lea esi, [ebx + 4]
call fcn.1003ad80
cmp dword [eax + 0x30], 0
jne 0x1003d790
call fcn.1003ad80
mov dword [eax + 0x30], 0
call fcn.1003ad80
push dword [ebp - 0x44]
lea ecx, [esi + 0x20]
push ecx
push eax
push 0x100cf054
push 0x100d3ce8
call fcn.100128a0
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], edi
test eax, eax
jne 0x1003d8f3
call fcn.1004bc90
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1003d8f3
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.1003b1b0
call fcn.10024dc0
mov ecx, dword [ebx + 0x58]
push 1
mov edx, dword [eax]
push dword [ecx + 0x30]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x58]
add eax, 0x34
mov dword [ebp - 0x44], eax
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003d9d7
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
mov byte [ebp - 4], 0xb
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xbb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov esi, eax
push str.exec_show_script:
push esi
mov byte [ebp - 4], 0xc
call fcn.10005a70
mov ecx, dword [ebp - 0x44]
mov eax, 0x100a68c0
mov ecx, dword [ecx]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10003800
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005bc0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x1003d98d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d983
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003da5f
jmp 0x1003d983
push 0
push 0
push eax
call fcn.1004bd92
test di, di
je 0x1003d7d8
lea edi, [esi + 8]
test edi, edi
je 0x1003da64
test esi, esi
je 0x1003da64
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x100cf058
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100cf070]
mov dword [edi + 8], eax
push 0x100cf058
mov dword [0x100cf070], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x100d3cec]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x44]
push edx
push ecx
push SysReAllocString
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1003d7d8
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003d9d7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d9cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003da70
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x1003d9eb
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.10015040
mov eax, dword [ebx + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [eax + 0x38]
test eax, eax
jle 0x1003da0b
imul eax, eax, 0x3e8
push 0
push eax
push 2
push dword [ebx + 8]
call esi
push 0
push 0x7d0
push 3
push dword [ebx + 8]
call esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1003da41
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1003da41
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1003da41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.1006a4da
mov esp, ebp
pop ebp
ret 0xc
call fcn.10078889
push 1
push 0xc0000005
call fcn.100213f0
call fcn.10078889
int3