Function at 0x409470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x478]
sub esp, 0x478
push 0xffffffffffffffff
push 0x428ef8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp + 0x474], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0040aa20
lea esi, [ebx + 0xc]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4094ca
mov eax, dword [esi]
test eax, eax
je 0x4094ca
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [ebx]
test edi, edi
jne 0x4097f6
lea eax, [ebp]
push eax
call fcn.00409ec0
mov byte [ebp - 4], 1
lea edi, [ebp]
cmp dword [ebp + 0x14], 8
jb 0x4094fc
mov edi, dword [ebp]
test edi, edi
je 0x4095cd
cmp word [edi], 0
je 0x4095cd
push 0x412
lea eax, [ebp + 0x60]
push 0
push eax
call fcn.00418060
lea ecx, [ebp + 0x60]
add esp, 0xc
sub ecx, edi
nop
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x409520
lea eax, [ebp + 0x60]
push 0x5c
push eax
call fcn.00417e4a
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x409558
lea eax, [ebp + 0x60]
push 0x2f
push eax
call fcn.00417e4a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40955e
xor eax, eax
mov word [ebx + 2], ax
lea edi, [ebp + 0x60]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x409564
mov ecx, 8
lea eax, [ebp + 0x60]
mov esi, str.vcruntime140.dll
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x409598
xor eax, eax
mov word [ebx + 2], ax
lea edi, [ebp + 0x60]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4095a0
mov ecx, 6
lea eax, [ebp + 0x60]
mov esi, str.msvcp140.dll
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x30]
push eax
call fcn.00409fb0
mov byte [ebp - 4], 2
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x44], 8
push ecx
cmovae eax, dword [ebp + 0x30]
push eax
push dword [ebp + 0x480]
call fcn.00408b50
test al, al
jne 0x4095fd
xor edi, edi
jmp 0x409757
push 0xe
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
lea ecx, [ebp + 0x48]
push str.2345PdfApp.dll
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.004027a0
mov byte [ebp - 4], 3
lea eax, [ebp + 0x48]
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x18]
call fcn.004076d0
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp + 0x5c]
cmp edx, 8
jb 0x409682
mov ecx, dword [ebp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409678
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40983c
push edx
push ecx
call fcn.00416b30
add esp, 8
xor eax, eax
mov dword [ebp + 0x58], 0
cmp dword [ebp + 0x2c], 8
lea edi, [ebp + 0x18]
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
jb 0x4096a6
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x409703
cmp dword [ebx], eax
jne 0x409703
call fcn.00408710
cmp dword [eax], 0
jne 0x4096c1
push dword [ebp + 0x480]
mov ecx, eax
call fcn.004087c0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4096ea
test al, 0x10
jne 0x4096ea
call fcn.0040bbc0
push 0
push edi
mov ecx, eax
call fcn.0040bcc0
test al, al
jne 0x4096ee
push edi
call fcn.00408870
xor edi, edi
jmp 0x409705
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4096ea
mov dword [ebx], edi
jmp 0x409705
mov edi, dword [ebx]
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x409743
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409841
push edx
push ecx
call fcn.00416b30
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x409795
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40978b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409846
push edx
push ecx
call fcn.00416b30
add esp, 8
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], al
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x4097e2
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4097d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40984b
push edx
push ecx
call fcn.00416b30
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x409815
mov eax, dword [esi]
test eax, eax
je 0x40980e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x474]
xor ecx, ebp
call fcn.004168a4
lea esp, [ebp + 0x478]
pop ebp
ret 8
call fcn.0041a4ff
call fcn.0041a4ff
call fcn.0041a4ff
call fcn.0041a4ff
int3