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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d74fa
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x64c00c]
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, ecx
mov dword [ebp - 0xa0], 0
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x65ccf8]
cmp eax, dword [esi + 4]
jle 0x479d1c
push 0x65ccf8
call fcn.00483c2d
add esp, 4
cmp dword [0x65ccf8], 0xffffffff
jne 0x479d1c
push 0x5d7ea0
call fcn.00484084
push 0x65ccf8
call fcn.00483be3
add esp, 8
call fcn.0044f160
call fcn.00451de0
mov eax, dword [0x65cc38]
cmp eax, dword [esi + 4]
jle 0x479d6c
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x479d6c
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
call fcn.00483be3
add esp, 8
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x65cc40
call fcn.004124e0
push eax
push str.title
push str.activate
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x65cc40
call fcn.00412cf0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x9c]
mov eax, esi
mov dword [ebp - 0xa0], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479dd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x98]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479e0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x47a352
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push 0x636414
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00406c20
test al, al
jne 0x479e5d
push 0xb
push 0x636414
lea ecx, [ebp - 0x98]
call fcn.00406ed0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
push str.title
push str.dbclickdlg
lea eax, [ebp - 0x9c]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479eae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x9c]
lea edi, [ebx + 0x24]
push 0x3f0
mov ecx, edi
call fcn.0047a7b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479ef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x9c]
mov ecx, 0x65cc40
push eax
call fcn.004124e0
mov dword [ebp - 4], 6
mov ecx, edi
push dword [eax]
push 0x3f3
call fcn.0047a7b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479f3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 7
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x47a35c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push str.test_desc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call fcn.00406c20
test al, al
jne 0x479f89
push 9
push str.test_desc
lea ecx, [ebp - 0x98]
call fcn.00406ed0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
push eax
push str.desc
push str.dbclickdlg
lea eax, [ebp - 0x9c]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479fda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x9c]
mov ecx, edi
push 0x3f4
call fcn.0047a7b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a01a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xa
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x47a366
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push str.test_desc2
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00406c20
test al, al
jne 0x47a068
push 0xa
push str.test_desc2
lea ecx, [ebp - 0x98]
call fcn.00406ed0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xc
push eax
push str.desc2
push str.dbclickdlg
lea eax, [ebp - 0x9c]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 0xa
mov eax, esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a0b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x9c]
mov ecx, edi
push 0x3f6
call fcn.0047a7b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a0f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xd
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x47a370
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push 0x636440
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xe
call fcn.00406c20
test al, al
jne 0x47a147
push 6
push 0x636440
lea ecx, [ebp - 0x98]
call fcn.00406ed0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xf
push eax
push str.remind_later_text
push str.dbclickdlg
lea eax, [ebp - 0x9c]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a198
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x9c]
mov ecx, edi
push 0x3ed
call fcn.0047a7b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a1ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xa4]
push eax
call fcn.0047a570
mov dword [ebp - 4], 0x10
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47a306
test al, 0x10
jne 0x47a306
push 1
push 0x3f5
mov ecx, edi
call fcn.0047a6d0
push 0xfde9
push dword [ebp - 0xa4]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.00409120
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
xor eax, eax
test edi, edi
push 0x3f5
cmove ebx, eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x98], ebx
lea ecx, [ebx + 0x28]
call dword [eax + 0x50]
mov ebx, eax
test ebx, ebx
jne 0x47a297
mov ecx, dword [ebp - 0x98]
add ecx, 0x14c
push 0x3f5
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ebx, eax
test ebx, ebx
jne 0x47a297
mov ecx, dword [ebp - 0x98]
add ecx, 0x270
push 0x3f5
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ebx, eax
test ebx, ebx
je 0x47a2e5
mov ecx, dword [ebp - 0x98]
push 1
push ebx
call fcn.00439e50
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push dword [ebp - 0x9c]
call fcn.0040dd20
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x12
push str.filepath
call fcn.0040dd20
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 0x11
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x98]
push 1
push ebx
call fcn.00439e50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x47a302
push eax
call fcn.005a8164
add esp, 4
push 0
jmp 0x47a308
push 1
push 0x3f7
mov ecx, edi
call fcn.0047a6d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47a336
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
int3