Function at 0x421c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6384f0
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x6e606c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
call fcn.00411040
mov ecx, eax
call fcn.004c9e1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404dd0
mov byte [ebp - 4], 3
push 0x6d17ec
lea edx, [ebp + 0xc]
push edx
call fcn.004246b0
add esp, 8
movzx eax, al
test eax, eax
je 0x421d4d
push 0x6d17d0
push 0x6d17bc
push 0x6d1844
lea ecx, [ebp - 0x58]
call fcn.004095f0
push eax
push 0x6d182c
lea ecx, [ebp - 0x70]
push ecx
call fcn.004c2ff5
add esp, 0x18
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040e070
lea ecx, [ebp - 0x70]
call fcn.00404d80
lea ecx, [ebp - 0x40]
call fcn.004095f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421d26
push 0x6d1810
lea ecx, [ebp - 0x28]
call fcn.0040e050
jmp 0x421d48
push 0x6d180c
lea ecx, [ebp - 0x28]
call fcn.0040e050
lea ecx, [ebp + 0xc]
call fcn.004095f0
push eax
call fcn.00423df0
mov ecx, eax
call fcn.004147a0
jmp 0x422000
push 0x6d189c
lea eax, [ebp + 0xc]
push eax
call fcn.004246b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x421dfe
push 0x6d1878
push 0x6d185c
push 0x6d1850
lea ecx, [ebp - 0x58]
call fcn.004095f0
push eax
push 0x6d18e8
lea edx, [ebp - 0x88]
push edx
call fcn.004c2ff5
add esp, 0x18
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e070
lea ecx, [ebp - 0x88]
call fcn.00404d80
lea ecx, [ebp - 0x40]
call fcn.004095f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421dd7
push 0x6d18cc
lea ecx, [ebp - 0x28]
call fcn.0040e050
jmp 0x421df9
push 0x6d18c8
lea ecx, [ebp - 0x28]
call fcn.0040e050
lea ecx, [ebp + 0xc]
call fcn.004095f0
push eax
call fcn.00423df0
mov ecx, eax
call fcn.004147a0
jmp 0x422000
push 0
push 0x6d18b8
lea ecx, [ebp + 0xc]
call fcn.0040df80
cmp eax, 0xffffffff
je 0x421eab
push str.GDefmng.exe
push 0x6d1924
push 0x6d1918
lea ecx, [ebp - 0x58]
call fcn.004095f0
push eax
push 0x6d1900
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004c2ff5
add esp, 0x18
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040e070
lea ecx, [ebp - 0xa0]
call fcn.00404d80
lea ecx, [ebp - 0x40]
call fcn.004095f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421e84
push 0x6d197c
lea ecx, [ebp - 0x28]
call fcn.0040e050
jmp 0x421ea6
push 0x6d1978
lea ecx, [ebp - 0x28]
call fcn.0040e050
lea ecx, [ebp + 0xc]
call fcn.004095f0
push eax
call fcn.00423df0
mov ecx, eax
call fcn.004147a0
jmp 0x422000
push 0
push 0x6d1960
lea ecx, [ebp + 0xc]
call fcn.0040df80
cmp eax, 0xffffffff
je 0x421f58
push str.BKPdf.exe
push str.BKPDFReader
push 0x6d19d0
lea ecx, [ebp - 0x58]
call fcn.004095f0
push eax
push 0x6d19b8
lea eax, [ebp - 0xb8]
push eax
call fcn.004c2ff5
add esp, 0x18
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040e070
lea ecx, [ebp - 0xb8]
call fcn.00404d80
lea ecx, [ebp - 0x40]
call fcn.004095f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421f31
push 0x6d199c
lea ecx, [ebp - 0x28]
call fcn.0040e050
jmp 0x421f53
push 0x6d1a44
lea ecx, [ebp - 0x28]
call fcn.0040e050
lea ecx, [ebp + 0xc]
call fcn.004095f0
push eax
call fcn.00423df0
mov ecx, eax
call fcn.004147a0
jmp 0x422000
push 0
push 0x6d1a2c
lea ecx, [ebp + 0xc]
call fcn.0040df80
cmp eax, 0xffffffff
je 0x422000
push 0x6d1a0c
push 0x6d19f4
push 0x6d1a80
lea ecx, [ebp - 0x58]
call fcn.004095f0
push eax
push 0x6d1a68
lea edx, [ebp - 0xd0]
push edx
call fcn.004c2ff5
add esp, 0x18
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e070
lea ecx, [ebp - 0xd0]
call fcn.00404d80
lea ecx, [ebp - 0x40]
call fcn.004095f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421fde
push str.WIN_PDF
lea ecx, [ebp - 0x28]
call fcn.0040e050
jmp 0x422000
push 0x6d1a48
lea ecx, [ebp - 0x28]
call fcn.0040e050
lea ecx, [ebp + 0xc]
call fcn.004095f0
push eax
call fcn.00423df0
mov ecx, eax
call fcn.004147a0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00411300
mov edx, dword [ebp - 0xd4]
or edx, 1
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404d80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404d80
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.004278da
mov esp, ebp
pop ebp
ret 0x1c