Function at 0x420fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aafe7
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4d5210]
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 dword [ebp - 0xcc], ecx
xor edi, edi
mov dword [ebp - 0xbc], edi
cmp dword [0x4d6a60], edi
jne 0x421029
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a0c2
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x42104f
xor ecx, ecx
jmp 0x421063
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421054
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407a30
push 0xe
push str.EasyPDFLws.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00409fa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x4210c8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0x4b2234
push eax
call fcn.0043c5ae
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xbc], edi
test edi, edi
jne 0x421452
push 0x30
push str.615682294767235728634917472765481661062128295943
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.0040c340
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043c14c
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0xc8]
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x70]
push 0x4b059c
push eax
call fcn.004400f0
mov esi, dword [ebp - 0xc8]
add esp, 0x14
cmp esi, dword [ebp - 0xc4]
je 0x4212ec
cmp dword [esi + 0x14], 0x10
jb 0x42116c
mov edx, dword [esi]
jmp 0x42116e
mov edx, esi
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x421189
xor ecx, ecx
jmp 0x421199
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421190
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0040c340
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00440454
add esp, 8
cmp dword [0x4d6a60], 0
mov byte [ebp - 4], 5
jne 0x4211c9
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a0c2
mov edx, eax
cmp word [edx], 0
jne 0x4211e0
xor ecx, ecx
jmp 0x4211f4
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4211e5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407a30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a0d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x42124f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0x4b2234
push eax
call fcn.0043c5ae
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0xbc], ebx
test ebx, ebx
jne 0x4212a2
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x421264
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x421291
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040c0b0
add esi, 0x18
cmp esi, dword [ebp - 0xc4]
jne 0x421162
jmp 0x4212e0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4212b7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4212e0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040c0b0
mov esi, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xbc]
mov byte [ebp - 4], 2
test esi, esi
je 0x4213a1
push dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0xc4]
push esi
call fcn.0040c1a0
mov ecx, dword [ebp - 0xc0]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0xc8]
add esp, 0x10
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x42133f
call fcn.0045cc11
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x42137a
test bl, 0x1f
je 0x421356
call fcn.0045cc11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x421362
call fcn.0045cc11
sub ebx, eax
cmp ebx, 4
jae 0x42136e
call fcn.0045cc11
cmp ebx, 0x23
jbe 0x421378
call fcn.0045cc11
mov ebx, eax
push ebx
call fcn.0043483b
add esp, 4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x4213ef
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x1000
jb 0x4213e6
test cl, 0x1f
je 0x4213c2
call fcn.0045cc11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4213ce
call fcn.0045cc11
sub ecx, eax
cmp ecx, 4
jae 0x4213da
call fcn.0045cc11
cmp ecx, 0x23
jbe 0x4213e4
call fcn.0045cc11
mov ecx, eax
push ecx
call fcn.0043483b
add esp, 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x421452
mov ecx, dword [ebp - 0x88]
inc eax
cmp eax, 0x1000
jb 0x421449
test cl, 0x1f
je 0x421425
call fcn.0045cc11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x421431
call fcn.0045cc11
sub ecx, eax
cmp ecx, 4
jae 0x42143d
call fcn.0045cc11
cmp ecx, 0x23
jbe 0x421447
call fcn.0045cc11
mov ecx, eax
push ecx
call fcn.0043483b
add esp, 4
mov eax, dword [ebp - 0xcc]
add eax, 0x94
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00440737
add esp, 8
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.0044c14c
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd4]
call fcn.0044fd5a
xor ebx, ebx
mov byte [ebp - 4], 8
test edi, edi
lea esi, [ebp - 0xa0]
lea edi, [ebp - 0xb8]
setne bl
cmp dword [ebp - 0x8c], 0x10
cmovae esi, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], 0x10
cmovae edi, dword [ebp - 0xb8]
cmp dword [0x4d6a88], 0
jne 0x4214d3
call fcn.00414ea0
mov ecx, dword [0x4d6a88]
push esi
push ebx
push edi
push 1
call fcn.0040f7b0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x421533
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x1000
jb 0x42152a
test cl, 0x1f
je 0x421506
call fcn.0045cc11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x421512
call fcn.0045cc11
sub ecx, eax
cmp ecx, 4
jae 0x42151e
call fcn.0045cc11
cmp ecx, 0x23
jbe 0x421528
call fcn.0045cc11
mov ecx, eax
push ecx
call fcn.0043483b
add esp, 4
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0044c160
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x421577
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.0040c0b0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 8
jb 0x4215a7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
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.00434840
mov esp, ebp
pop ebp
ret 4