Function at 0x41dd10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6371e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040dbb0
mov ecx, eax
call fcn.004c5dd7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a3b0
mov byte [ebp - 4], 3
push 0x6ce8d0
lea edx, [ebp + 0xc]
push edx
call fcn.004204b0
add esp, 8
movzx eax, al
test eax, eax
je 0x41de2d
push 0x6ce8b4
push 0x6ce95c
push 0x6ce950
lea ecx, [ebp - 0x58]
call fcn.00403fb0
push eax
push 0x6ce938
lea ecx, [ebp - 0x70]
push ecx
call fcn.004bfa7f
add esp, 0x18
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040a2b0
lea ecx, [ebp - 0x70]
call fcn.00404000
lea ecx, [ebp - 0x40]
call fcn.00403fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41de06
push 0x6ce91c
lea ecx, [ebp - 0x28]
call fcn.0040a220
jmp 0x41de28
push 0x6ce9cc
lea ecx, [ebp - 0x28]
call fcn.0040a220
lea ecx, [ebp + 0xc]
call fcn.00403fb0
push eax
call fcn.0041fbf0
mov ecx, eax
call fcn.00410b50
jmp 0x41e033
push 0x6ce9b0
lea eax, [ebp + 0xc]
push eax
call fcn.004204b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41dede
push 0x6ce98c
push 0x6ce970
push 0x6cea08
lea ecx, [ebp - 0x58]
call fcn.00403fb0
push eax
push 0x6ce9f0
lea edx, [ebp - 0x88]
push edx
call fcn.004bfa7f
add esp, 0x18
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a2b0
lea ecx, [ebp - 0x88]
call fcn.00404000
lea ecx, [ebp - 0x40]
call fcn.00403fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41deb7
push 0x6ce9d4
lea ecx, [ebp - 0x28]
call fcn.0040a220
jmp 0x41ded9
push 0x6ce9d0
lea ecx, [ebp - 0x28]
call fcn.0040a220
lea ecx, [ebp + 0xc]
call fcn.00403fb0
push eax
call fcn.0041fbf0
mov ecx, eax
call fcn.00410b50
jmp 0x41e033
push 0
push 0x6cea48
lea ecx, [ebp + 0xc]
call fcn.0040a150
cmp eax, 0xffffffff
je 0x41df8b
push 0x6cea30
push 0x6cea20
push 0x6cea14
lea ecx, [ebp - 0x58]
call fcn.00403fb0
push eax
push 0x6cea94
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004bfa7f
add esp, 0x18
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040a2b0
lea ecx, [ebp - 0xa0]
call fcn.00404000
lea ecx, [ebp - 0x40]
call fcn.00403fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41df64
push 0x6cea74
lea ecx, [ebp - 0x28]
call fcn.0040a220
jmp 0x41df86
push 0x6cea70
lea ecx, [ebp - 0x28]
call fcn.0040a220
lea ecx, [ebp + 0xc]
call fcn.00403fb0
push eax
call fcn.0041fbf0
mov ecx, eax
call fcn.00410b50
jmp 0x41e033
push 0
push 0x6cea58
lea ecx, [ebp + 0xc]
call fcn.0040a150
cmp eax, 0xffffffff
je 0x41e033
push 0x6ceae8
push 0x6cead0
push 0x6ceac4
lea ecx, [ebp - 0x58]
call fcn.00403fb0
push eax
push 0x6ceaac
lea eax, [ebp - 0xb8]
push eax
call fcn.004bfa7f
add esp, 0x18
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040a2b0
lea ecx, [ebp - 0xb8]
call fcn.00404000
lea ecx, [ebp - 0x40]
call fcn.00403fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e011
push str.WIN_PDF
lea ecx, [ebp - 0x28]
call fcn.0040a220
jmp 0x41e033
push 0x6ceb28
lea ecx, [ebp - 0x28]
call fcn.0040a220
lea ecx, [ebp + 0xc]
call fcn.00403fb0
push eax
call fcn.0041fbf0
mov ecx, eax
call fcn.00410b50
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ddf0
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004239b8
mov esp, ebp
pop ebp
ret 0x1c