Function at 0x410a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9520
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c4], ecx
test ebx, ebx
je 0x41137e
test eax, eax
je 0x41137e
lea eax, [ebp - 0x130]
push eax
call fcn.0043c736
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x410a74
mov eax, dword [eax]
push 0x4c94e4
push str.5166d
push str.OISet
push eax
lea eax, [ebp - 0x100]
push 0x4b04e0
push eax
call fcn.0043ec38
add esp, 0x18
mov eax, dword [ebp - 0x11c]
cmp eax, 8
jb 0x410ab6
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 3
test esi, esi
je 0x410ae7
push esi
lea ecx, [ebp - 0xb8]
call fcn.004079e0
cmp dword [0x4d6a60], 0
jne 0x410af5
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a004
push eax
lea ecx, [ebp - 0x118]
call fcn.004078d0
cmp dword [0x4d6a60], 0
mov byte [ebp - 4], 4
jne 0x410b1e
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.00439ff8
push eax
lea ecx, [ebp - 0x40]
call fcn.004078d0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x410b75
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409b40
push eax
lea ecx, [ebp - 0x40]
call fcn.00409bd0
lea ecx, [ebp - 0x1a8]
call fcn.00407890
mov dword [ebp - 0x1bc], 0x5c
mov edi, 2
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409d80
cmp eax, 0xffffffff
je 0x410c0b
push eax
push 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409b40
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x410be9
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x410bcc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00409f30
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x410c0b
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.00407b30
sub edi, 1
jne 0x410b84
push 1
push 0x4c94c4
lea ecx, [ebp - 0x40]
call fcn.00409fa0
xor eax, eax
mov dword [ebp - 0x5c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x60], edi
push eax
call fcn.00407c50
mov byte [ebp - 4], 7
cmp word [ebx], di
jne 0x410c4f
xor ecx, ecx
jmp 0x410c63
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c54
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.00409fa0
lea eax, [ebp - 0x70]
push eax
call fcn.0043fe46
add esp, 4
test eax, eax
jne 0x410c8c
push 1
push 0x4c94c4
lea ecx, [ebp - 0x70]
call fcn.00409fa0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00448931
add esp, 4
cmp dword [ebp - 0xf0], 0
je 0x41104a
xor eax, eax
mov dword [ebp - 0x8c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa0], ax
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x90], 0
push eax
call fcn.00407c50
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
push eax
call fcn.0044056e
cmp dword [ebp - 0xec], 8
lea eax, [ebp - 0x100]
cmovae eax, dword [ebp - 0x100]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00448757
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.0044056e
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
cmp esi, 8
mov edi, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
cmovae eax, edi
push eax
call fcn.0040a3e0
add esp, 0x20
test eax, eax
je 0x410d6d
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, edi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004078d0
call fcn.00449539
add esp, 0x18
mov dword [ebp - 0x1ac], 0x5c
mov edi, 2
nop dword [eax]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409d80
cmp eax, 0xffffffff
je 0x410e07
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 0x410de5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x410dc8
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], 9
cmp eax, 8
jb 0x410e07
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.00407b30
sub edi, 1
jne 0x410d80
cmp dword [ebp - 0x18], edi
je 0x410e34
lea eax, [ebp - 0x70]
push eax
call fcn.0043fe46
add esp, 4
test eax, eax
jne 0x410e34
push 1
push 0x4c94c4
lea ecx, [ebp - 0x28]
call fcn.00409fa0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x1b8]
push 1
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x28]
push str.EhPDFCfg.ini
push eax
call fcn.004491fa
mov esi, dword [ebp - 0x1b8]
add esp, 0x10
cmp esi, dword [ebp - 0x1b4]
je 0x410ff4
nop word [eax + eax]
cmp dword [esi + 0x14], 8
jb 0x410e9a
mov edx, dword [esi]
jmp 0x410e9c
mov edx, esi
xor eax, eax
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
cmp word [edx], ax
je 0x410ed2
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410ec3
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xe8]
call fcn.00407a30
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00448757
add esp, 8
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x410f42
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x410f25
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
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], 0xc
cmp eax, 8
jb 0x410f64
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.00407b30
lea eax, [ebp - 0x28]
push eax
call fcn.0044056e
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 8
mov ebx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
cmovae eax, ebx
push eax
call fcn.0040a3e0
add esp, 0x14
test eax, eax
je 0x410fc3
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004078d0
call fcn.00449539
add esp, 0x18
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x410fe5
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00407b30
add esi, 0x18
cmp esi, dword [ebp - 0x1b4]
jne 0x410e90
lea ecx, [ebp - 0x1b8]
call fcn.00410850
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x411014
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x41104a
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407b30
cmp dword [0x4d6a60], 0
jne 0x411058
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a0c2
push eax
lea ecx, [ebp - 0xd0]
call fcn.004078d0
push 0xf
push str.EasyPDFHost.exe
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
call fcn.00409fa0
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004106b0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0xbc], 8
push ecx
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00447e89
add esp, 0x14
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41122b
xor eax, eax
mov dword [ebp - 0x44], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], 0
push eax
call fcn.00407c50
push 0xc
push str.EhPDFCfg.ini
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.00409fa0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmovae eax, dword [ebp - 0x58]
push eax
push dword [ebp - 0x1c4]
push str.34dc9
push str.ESVpSetting
call esi
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
push str.5166d
push str.OISet
call esi
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0xb8]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0xa4], 8
push ecx
cmovae eax, dword [ebp - 0xb8]
push eax
push str.f20b0
push str.OISet
call esi
lea eax, [ebp - 0x190]
push eax
call fcn.0043c736
add esp, 4
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
cmovae ecx, dword [ebp - 0x88]
cmp dword [eax + 0x14], 8
jb 0x4111cb
mov eax, dword [eax]
push ecx
push str.5166d
push str.OISet
push eax
push 0x4b04e0
call fcn.0043f141
mov eax, dword [ebp - 0x17c]
add esp, 0x14
cmp eax, 8
jb 0x411202
inc eax
lea ecx, [ebp - 0x190]
push eax
push dword [ebp - 0x190]
call fcn.00407b30
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x411217
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x411246
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 - 0xbc]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x41127b
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x4112ad
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 - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x4112d6
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 - 0x104]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x411308
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x108], 0
cmp eax, 8
jb 0x411343
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x41137e
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
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 0x10