Function at 0x436110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4370
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x88], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], eax
mov word [esi], cx
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], ecx
mov ecx, eax
mov dword [ebp - 0x88], 1
jb 0x436189
mov ecx, dword [eax]
push 0xfde9
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0043eee0
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4362b4
call fcn.00440230
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x436299
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], al
call fcn.004087e0
push 3
push 0x4bb7c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004087e0
mov byte [ebp - 4], 3
call fcn.00440230
mov edi, eax
lea ecx, [ebp - 0x140]
push 0x1b7
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405c60
mov esi, eax
push str._warning__delete_file__not_exist_file:
push esi
mov byte [ebp - 4], 4
call fcn.00406b60
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x4bb940
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00409980
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x140]
call fcn.00406d70
lea ecx, [ebp - 0x40]
call fcn.00406600
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00406600
mov esi, dword [ebp - 0x84]
push 5
push 0x4be5f0
mov ecx, esi
call fcn.0040c560
lea ecx, [ebp - 0x28]
call fcn.00406650
jmp 0x4366f9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x8c], edx
cmp ecx, edx
jae 0x4362e4
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 0x4363bc
mov edi, 0x7ffffffe
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x436716
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x68], eax
or esi, 7
cmp esi, edi
jbe 0x436309
mov esi, edi
jmp 0x436321
mov eax, edx
shr eax, 1
sub edi, eax
cmp edx, edi
jbe 0x43631a
mov esi, 0x7ffffffe
jmp 0x436321
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.00408430
mov dword [ebp - 0x14], esi
mov edi, eax
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x68]
add esi, esi
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x18], eax
push esi
jb 0x4363a1
mov eax, dword [ebp - 0x28]
push eax
push edi
mov dword [ebp - 0x68], eax
call fcn.0047dd50
xor eax, eax
add esp, 0xc
mov dword [esi + edi], eax
mov eax, dword [ebp - 0x8c]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x68]
cmp ecx, 0x1000
jb 0x436395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43671b
mov eax, edx
push ecx
push eax
call fcn.0044122a
add esp, 8
jmp 0x4363b3
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.0047dd50
add esp, 0xc
xor eax, eax
mov dword [esi + edi], eax
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
cmovae eax, edi
mov dword [ebp - 0x58], 0
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x5c], eax
mov eax, 0x414
movlpd qword [ebp - 0x52], xmm0
mov dword [ebp - 0x4a], 0
mov dword [ebp - 0x60], 3
mov word [ebp - 0x54], ax
je 0x436405
mov eax, 0x454
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, eax
mov dword [ebp - 0x68], edx
test edx, edx
je 0x4366c3
mov edi, dword [0x4ea300]
mov eax, edi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xd], 0
jne 0x43644d
nop dword [eax]
cmp dword [ecx + 0x10], edx
jge 0x43643a
mov ecx, dword [ecx + 8]
jmp 0x43643e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x436430
cmp eax, edi
je 0x43644d
cmp edx, dword [eax + 0x10]
jge 0x43644f
mov eax, edi
cmp eax, edi
je 0x436478
add eax, 0x14
cmp esi, eax
je 0x43658f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x436468
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0040c560
jmp 0x43658f
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0x400
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x436509
xor ecx, ecx
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x44]
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
call fcn.0040c560
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x88], 3
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
movups xmmword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00406650
jmp 0x43654e
push 4
xor eax, eax
mov dword [ebp - 0x70], 0
push 0x4be5e4
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.0040c560
movq xmm0, qword [ebp - 0x70]
movq qword [ebp - 0x90], xmm0
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x88], 3
movups xmmword [ebp - 0xa8], xmm0
lea eax, [ebp - 0x80]
cmp esi, eax
je 0x436587
mov ecx, esi
call fcn.00406650
movups xmm0, xmmword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x80], ax
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x80]
call fcn.00406650
call fcn.00440230
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4366b9
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], al
call fcn.004087e0
push 3
push 0x4bb7c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004087e0
mov byte [ebp - 4], 6
call fcn.00440230
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x140]
push 0x1cd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405c60
mov edi, eax
push str._error__delete_file_failed__put_in_recycle:
push edi
mov byte [ebp - 4], 7
call fcn.00406b60
add esp, 8
mov ecx, edi
push dword [ebp + 0x10]
call fcn.00411650
push str.__file_path:
push edi
call fcn.00406b60
mov eax, dword [ebp - 0x94]
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x43664a
mov eax, dword [eax]
push eax
push edi
call fcn.00406b60
push str.__err_code:
push edi
call fcn.00406b60
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x68]
call fcn.00411310
push str.__err_msg:
push edi
call fcn.00406b60
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x436681
mov ecx, dword [esi]
test ecx, ecx
mov eax, 0x4bb940
cmovne eax, ecx
push eax
push edi
call fcn.00409980
mov ecx, dword [ebp - 0x44]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x140]
call fcn.00406d70
lea ecx, [ebp - 0x40]
call fcn.00406600
lea ecx, [ebp - 0x80]
call fcn.00406600
lea ecx, [ebp - 0x28]
call fcn.00406650
jmp 0x4366f9
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4366f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4366ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43671b
push edx
push ecx
call fcn.0044122a
add esp, 8
mov eax, esi
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.004414e0
mov esp, ebp
pop ebp
ret
call fcn.004083a0
call fcn.00481cc9
int3