Function at 0x4194c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa55b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
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 ebx, ecx
push 0xf
xor eax, eax
mov dword [ebp - 0xbc], 7
push str.EasyPDFHost.exe
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00407a30
cmp dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0
jne 0x419536
xor esi, esi
jmp 0x419dce
mov ecx, ebx
call fcn.0041a0a0
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x4c94e4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407a30
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x4c94e4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407a30
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x4c94e4
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00407a30
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x4c94e4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407a30
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x4c94e4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00407a30
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x4c94e4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00407a30
cmp dword [0x4d6a60], 0
mov byte [ebp - 4], 6
jne 0x419641
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.00439ff8
mov edx, eax
cmp word [edx], 0
jne 0x419658
xor ecx, ecx
jmp 0x41966f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419660
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x419701
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b40
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4196df
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4196c2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409f30
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x419701
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.00407b30
mov dword [ebp - 0x1bc], 0x5c
mov edi, 2
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409d80
cmp eax, 0xffffffff
je 0x419797
push eax
push 0
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b40
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x419775
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x419758
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409f30
mov eax, dword [ebp - 0x164]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x419797
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.00407b30
sub edi, 1
jne 0x419710
push 1
push 0x4c94c4
lea ecx, [ebp - 0x28]
call fcn.00409fa0
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a0d0
push 1
push 0x4c94c4
lea ecx, [ebp - 0x28]
call fcn.00409fa0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407c50
push 0xf
push str.EasyPDFHost.exe
lea ecx, [ebp - 0x40]
call fcn.00409fa0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00407c50
push 0xe
push str.EasyPDFCat.dll
lea ecx, [ebp - 0xa0]
call fcn.00409fa0
cmp dword [0x4d6a60], edi
jne 0x419819
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a004
mov edx, eax
cmp word [edx], 0
jne 0x419830
xor ecx, ecx
jmp 0x419844
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419835
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00407a30
push 0xf
push str.EasyPDFHost.exe
lea ecx, [ebp - 0x58]
call fcn.00409fa0
cmp dword [0x4d6a60], 0
jne 0x41986b
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a004
mov edx, eax
cmp word [edx], 0
jne 0x419882
xor ecx, ecx
jmp 0x419896
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419887
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00407a30
push 0xe
push str.EasyPDFCat.dll
lea ecx, [ebp - 0x88]
call fcn.00409fa0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4198d2
xor esi, esi
jmp 0x419cbd
push 0x4c94e4
lea ecx, [ebp - 0xb8]
call fcn.004078d0
cmp dword [ebx + 0x88], 0
lea edi, [ebx + 0x78]
mov byte [ebp - 4], 9
jbe 0x419903
lea eax, [ebp - 0xb8]
cmp eax, edi
je 0x419920
push 0xffffffffffffffff
push 0
push edi
jmp 0x419915
lea eax, [ebx + 0x60]
lea ecx, [ebp - 0xb8]
cmp ecx, eax
je 0x419920
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00407c50
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00448931
add esp, 4
lea ecx, [ebp - 0x1b8]
call fcn.00413190
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004078d0
lea ecx, [ebp - 0x1b8]
call fcn.004131d0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00447e89
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00447e89
add esp, 0x10
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
push str.bc92
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
call fcn.004078d0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418c40
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x419a1a
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00407b30
lea esi, [ebx + 0x18]
push esi
lea ecx, [ebp - 0x1b4]
call fcn.00418cf0
push str.534f
lea ecx, [ebp - 0x100]
call fcn.004078d0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418c40
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x419a71
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.00407b30
lea eax, [ebx + 0x30]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418cf0
push str.d9b3
lea ecx, [ebp - 0x118]
call fcn.004078d0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418c40
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x419ac8
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.00407b30
lea eax, [ebx + 0x48]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418cf0
push str.8cb0
lea ecx, [ebp - 0x130]
call fcn.004078d0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418c40
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x419b1f
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00407b30
lea eax, [ebx + 0x60]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418cf0
push str.3f21
lea ecx, [ebp - 0x190]
call fcn.004078d0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00418c40
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xb
call fcn.00407890
push edi
lea ecx, [ebp - 0x1b4]
call fcn.00418cf0
push 0x4b1798
lea ecx, [ebp - 0x1a8]
call fcn.004078d0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0043f4fb
add esp, 0xc
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x13
call fcn.00407890
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419bcc
xor esi, esi
jmp 0x419c91
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.00407c50
push str.eysvrconfig.ini
lea ecx, [ebp - 0x70]
call fcn.00409b80
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0xb8]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0xa4], 8
push ecx
cmovae eax, dword [ebp - 0xb8]
push eax
push str.34dc9
push str.ESVpSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push str.54058
call fcn.0041a000
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, ebx
cmovae eax, dword [ebp - 0x40]
push eax
push str.957e1
call fcn.0041a000
cmp dword [esi + 0x14], 8
jb 0x419c52
mov esi, dword [esi]
push esi
push str.d6a99
mov ecx, ebx
call fcn.0041a000
cmp dword [ebp - 0x134], 8
lea ecx, [ebp - 0x148]
push 0
cmovae ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.0043c5ae
add esp, 0x10
mov esi, 1
lea ecx, [ebp - 0x148]
call fcn.00407890
lea ecx, [ebp - 0x1b4]
call fcn.00410850
lea ecx, [ebp - 0x1b8]
call fcn.004131a0
lea ecx, [ebp - 0xb8]
call fcn.00407890
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x419cd2
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x419d01
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x419d2d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x419d5f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x419d91
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 - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x419dba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xbc]
cmp ecx, 8
jb 0x419dec
inc ecx
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call fcn.00407b30
mov eax, esi
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