Function at 0x42f630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa346
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4d9180]
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, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 0x49], 0
cmp dword [ebx + 0x14], 0x10
jb 0x42f66f
mov eax, dword [ebx]
push 0xfde9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00437ce0
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f8fa
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edx
cmp ecx, edx
jae 0x42f6cf
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + ecx*2], edx
mov edi, dword [ebp - 0x28]
jmp 0x42f79b
mov edi, 0x7ffffffe
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x42f95d
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x50], eax
or esi, 7
cmp esi, edi
jbe 0x42f6f4
mov esi, edi
jmp 0x42f70c
mov eax, edx
shr eax, 1
sub edi, eax
cmp edx, edi
jbe 0x42f705
mov esi, 0x7ffffffe
jmp 0x42f70c
add eax, edx
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408020
mov dword [ebp - 0x14], esi
mov edi, eax
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
add esi, esi
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x18], eax
push esi
jb 0x42f786
mov eax, dword [ebp - 0x28]
push eax
push edi
mov dword [ebp - 0x50], eax
call fcn.00474d00
xor eax, eax
add esp, 0xc
mov dword [esi + edi], eax
mov eax, dword [ebp - 0x58]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x50]
cmp ecx, 0x1000
jb 0x42f77a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f962
mov eax, edx
push ecx
push eax
call fcn.00439e3a
add esp, 8
jmp 0x42f798
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00474d00
add esp, 0xc
xor eax, eax
mov dword [esi + edi], eax
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
cmovae eax, edi
mov dword [ebp - 0x3c], 0
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x40], eax
mov eax, 0x414
movlpd qword [ebp - 0x36], xmm0
mov dword [ebp - 0x2e], 0
mov dword [ebp - 0x44], 3
mov word [ebp - 0x38], ax
je 0x42f7e4
mov eax, 0x454
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
je 0x42f907
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f8fa
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004083d0
mov byte [ebp - 4], 2
call fcn.00438e40
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x120]
push 0x1ba
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00405850
mov esi, eax
push str._error__delete_file_failed__put_in_recycle:
push esi
mov byte [ebp - 4], 3
call fcn.00406750
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004102d0
push str.__file_path:
push esi
call fcn.00406750
add esp, 8
cmp dword [ebx + 0x14], 0x10
jb 0x42f8b6
mov ebx, dword [ebx]
push ebx
push esi
call fcn.00406750
push str.__ret:
push esi
call fcn.00406750
add esp, 0x10
mov ecx, esi
push edi
call fcn.0040ff90
mov ecx, dword [ebp - 0x54]
push esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.00406960
lea ecx, [ebp - 0x70]
call fcn.004061f0
lea ecx, [ebp - 0x88]
call fcn.004061f0
lea ecx, [ebp - 0x28]
call fcn.00406240
mov bl, byte [ebp - 0x49]
jmp 0x42f93f
mov edx, dword [ebp - 0x14]
mov bl, 1
cmp edx, 8
jb 0x42f93f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f935
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f962
push edx
push ecx
call fcn.00439e3a
add esp, 8
mov al, bl
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.0043a0f2
mov esp, ebp
pop ebp
ret
call fcn.00407f90
call fcn.00478c79
int3