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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x128c
call fcn.006ab750
mov edx, dword [ebp + 8]
movzx eax, word [edx]
push ebx
xor ebx, ebx
push esi
xor ecx, ecx
add edx, 2
cmp ax, bx
push edi
je 0x471553
cmp ecx, 0x103
jae 0x471553
mov word [esp + ecx*2 + 0x460], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
cmp ax, bx
jne 0x471535
cmp byte [ebp + 0x14], bl
mov word [esp + ecx*2 + 0x460], bx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], bl
jne 0x471590
cmp byte [ebp + 0x18], bl
push 1
mov eax, str.Settings
je 0x471583
push str.SnapshotAutoNumber
call fcn.004811b0
mov dword [ebp + 0x10], eax
jmp 0x471590
push str.AutoNumber
call fcn.004811b0
lea ecx, [ecx]
push ebx
call fcn.0069c84d
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x48], 0xffffffff
call fcn.0069c202
lea edx, [esp + 0x46c]
lea eax, [esp + 0xe94]
add esp, 0xc
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], edx
mov word [esp + 0x50], bx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x103
call fcn.00480b90
test al, al
je 0x471969
mov word [esp + 0x258], bx
lea ecx, [esp + 0x50]
mov eax, str.YYYY
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471626
cmp dx, bx
je 0x471622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471626
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471600
xor eax, eax
jmp 0x47162b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718e8
lea ecx, [esp + 0x50]
mov eax, str.yyyy
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471666
cmp dx, bx
je 0x471662
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471666
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471640
xor eax, eax
jmp 0x47166b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718e8
lea ecx, [esp + 0x50]
mov eax, 0x6d94b8
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4716a6
cmp dx, bx
je 0x4716a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4716a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471680
xor eax, eax
jmp 0x4716ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718d9
lea ecx, [esp + 0x50]
mov eax, 0x6bc244
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4716e6
cmp dx, bx
je 0x4716e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4716e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4716c0
xor eax, eax
jmp 0x4716eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718d9
lea ecx, [esp + 0x50]
mov eax, 0x6d94cc
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471726
cmp dx, bx
je 0x471722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471726
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471700
xor eax, eax
jmp 0x47172b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718cd
lea ecx, [esp + 0x50]
mov eax, 0x6d94d4
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471766
cmp dx, bx
je 0x471762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471766
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471740
xor eax, eax
jmp 0x47176b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718cd
lea ecx, [esp + 0x50]
mov eax, 0x6d94dc
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4717a6
cmp dx, bx
je 0x4717a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4717a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471780
xor eax, eax
jmp 0x4717ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718c1
lea ecx, [esp + 0x50]
mov eax, 0x6d94e4
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4717e6
cmp dx, bx
je 0x4717e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4717e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4717c0
xor eax, eax
jmp 0x4717eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4718c1
lea ecx, [esp + 0x50]
mov eax, 0x6d94ec
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471826
cmp dx, bx
je 0x471822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471826
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471800
xor eax, eax
jmp 0x47182b
sbb eax, eax
sbb eax, 0xffffffff
invalid