Function at 0x412da0
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a76ae
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
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 edi, ecx
mov dword [ebp - 0x2c], edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00416cf0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ebx, 0x63
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x16], 0x3a
mov word [ebp - 0x18], bx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413061
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x413061
mov byte [ebp - 0x28], bl
mov esi, dword [ebp - 0x28]
push esi
call fcn.00430e60
add esp, 4
test al, al
je 0x412f19
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 0x413061
push 0x91
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcduplicate_file_scanduplicate_file_scan.cc
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004083d0
mov byte [ebp - 4], 2
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0x104]
push 0x236
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405850
mov esi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push esi
call fcn.00409570
push str._is_movable_disk
push esi
call fcn.00406750
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.00406960
lea ecx, [ebp - 0x4c]
call fcn.004061f0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.004061f0
jmp 0x413061
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00411950
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x412f81
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 8]
call fcn.0040c910
push eax
add eax, 0x10
lea ecx, [edi + 8]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.0040e340
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x413050
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x413050
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 0x413050
push 0x91
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcduplicate_file_scanduplicate_file_scan.cc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.004083d0
mov byte [ebp - 4], 7
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0x104]
push 0x23e
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00405850
mov esi, eax
push str._error_
push esi
mov byte [ebp - 4], 8
call fcn.00406750
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00409570
push str._is_movable_disk
push esi
call fcn.00406750
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.00406960
lea ecx, [ebp - 0x64]
call fcn.004061f0
lea ecx, [ebp - 0x4c]
call fcn.004061f0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x413061
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp - 0x2c]
inc ebx
cmp bx, 0x7b
jb 0x412e00
lea ecx, [ebp - 0x24]
call fcn.0040f3c0
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