Function at 0x410db3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x47418e
call fcn.00473e04
mov eax, 0x3594
call fcn.00443be0
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x227]
push ebx
push eax
call fcn.00443c10
mov esi, 0x4826c0
mov byte [ebp - 0x330], bl
lea edi, [ebp - 0x228]
add esp, 0xc
lea eax, [ebp - 0x32f]
movsd dword es:[edi], dword [esi]
push 0x103
push ebx
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00443c10
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
add esp, 0xc
lea edx, [ebp - 0x330]
mov edi, 0x104
push esi
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea ecx, [ebp - 0x228]
call fcn.00410cfb
mov eax, dword [0x4826cc]
add esp, 0x14
mov dword [ebp - 0x228], eax
mov eax, dword [0x4826d0]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x867]
push 0x103
push ebx
push eax
mov byte [ebp - 0x868], bl
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x868]
push esi
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea ecx, [ebp - 0x228]
call fcn.00410cfb
add esp, 0x14
lea edx, [ebp - 0xd80]
push 0x26
pop ecx
call fcn.00420d25
push edi
lea eax, [ebp - 0xb78]
push eax
lea eax, [ebp - 0xd80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
dec edi
mov byte [ebp - 0x438], bl
push edi
lea eax, [ebp - 0x437]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
push edi
lea eax, [ebp - 0x11f]
mov byte [ebp - 0x120], bl
push ebx
push eax
call fcn.00443c10
mov eax, dword [esi + 0xaf68]
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
dec eax
je 0x410f2a
dec eax
jne 0x410fb4
lea eax, [esi + 0xa8de]
push eax
lea eax, [ebp - 0x438]
push 0x4826ec
push eax
call edi
add esp, 0xc
lea eax, [esi + 0xa95e]
push eax
lea eax, [ebp - 0xb78]
push eax
lea eax, [ebp - 0x120]
push 0x4826f8
push eax
call edi
add esp, 0x10
jmp 0x410fb4
lea ecx, [esi + 0xa8de]
lea edx, [ebp - 0x438]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x410f38
lea eax, [esi + 0xb0fb]
push eax
lea eax, [ebp - 0xb78]
push eax
lea eax, [ebp - 0x120]
push 0x4826d4
push eax
call edi
lea eax, [esi + 0xb0fb]
push 0x3a
push eax
call fcn.0043f2d0
add esp, 0x18
test eax, eax
je 0x410f8b
lea eax, [esi + 0xb0fb]
push eax
lea eax, [ebp - 0x120]
push 0x4825e0
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x970]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeA]
mov ecx, ebx
mov al, byte [ebp + ecx - 0x970]
mov byte [ebp + ecx - 0x120], al
inc ecx
test al, al
jne 0x410fa1
push 0x103
lea eax, [ebp - 0x53f]
mov byte [ebp - 0x540], bl
push ebx
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x648], bl
lea eax, [ebp - 0x647]
push 0x103
push ebx
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x540]
push 0x482710
push eax
call edi
add esp, 0xc
lea eax, [esi + 0xa8de]
push eax
lea eax, [esi + 0xa9de]
push eax
lea eax, [ebp - 0x648]
push 0x482748
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x540]
mov edi, SysReAllocString
lea ecx, [ebp - 0x35a0]
push ebx
push edi
push eax
call fcn.0041f1f7
push ebx
push edi
lea eax, [ebp - 0x648]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x2190]
call fcn.0041f1f7
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41105e
sub ecx, edx
je 0x411072
mov esi, 0x482750
mov ecx, esi
jmp 0x411097
push ecx
push 2
push 0x481d70
lea ecx, [ebp - 0x2190]
call fcn.0041f605
mov esi, 0x482750
cmp eax, 2
mov ecx, esi
mov eax, 0x4820f4
cmovae ecx, eax
lea edx, [ebp - 0x760]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x41109f
lea eax, [ebp - 0x540]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f977
test eax, eax
jne 0x4110ec
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4110d5
and eax, 0x10
jne 0x4110ec
lea eax, [ebp - 0x648]
push eax
push edi
call fcn.0041f977
test eax, eax
mov eax, 0x4820f4
cmove esi, eax
lea ecx, [ebp - 0x75b]
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x4110f4
mov ecx, ebx
mov al, byte [ebp + ecx - 0x330]
mov byte [ebp + ecx - 0x756], al
inc ecx
test al, al
jne 0x411100
mov al, byte [ebp + ebx - 0x868]
mov byte [ebp + ebx - 0x652], al
inc ebx
test al, al
jne 0x411113
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x760]
push 0x44
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret