Function at 0x45420f
Capabilities:
Check if file exists

Disassembly:
push 0x298
mov eax, 0x5c287e
call fcn.004b8fda
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
je 0x4547ff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4547ff
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005991a0
add esp, 0xc
test ebx, ebx
jne 0x454285
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.005993a8
pop ecx
pop ecx
test eax, eax
je 0x454285
xor ecx, ecx
lea ebx, [eax + 2]
mov word [eax], cx
lea esi, [ebp - 0x218]
and dword [ebp - 0x248], 0
lea eax, [ebp - 0x248]
push 0
push eax
push dword [ebp + 8]
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4547fb
cmp dword [ebp - 0x248], 0
je 0x4547fb
push eax
push dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.00453e45
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x270]
push eax
push 0x5caf58
push 0x17
push ecx
push 0x5cdc84
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x454301
xor bl, bl
jmp 0x4547d4
push 3
pop ecx
xor eax, eax
mov word [ebp - 0x2a4], cx
mov dword [ebp - 0x29c], eax
mov word [ebp - 0x294], cx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x234], eax
lea edx, [ebp - 0x234]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x270]
push edx
push 1
lea edx, [ebp - 0x274]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push edx
push 8
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x2a4]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
mov eax, dword [ebp - 0x234]
js 0x4547a8
test eax, eax
je 0x4547a8
and dword [ebp - 0x26c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x26c]
push edx
push 0x5cdc44
push eax
mov byte [ebp - 4], 5
call dword [ecx]
test eax, eax
jns 0x454399
xor bl, bl
jmp 0x45478c
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
push edx
push 0x5cdc34
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
test eax, eax
jns 0x4543c6
xor bl, bl
jmp 0x454778
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
push edx
push 0x5cdb94
push 0x5cdbc4
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
test eax, eax
jns 0x4543f9
xor bl, bl
jmp 0x454764
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
push edx
push eax
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x45474e
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x454436
and dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x234]
push edx
push 0x5cdc24
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x45474e
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x25c]
push edx
push 0x5cdc04
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx]
test eax, eax
js 0x454736
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x454499
and dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x234]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x454736
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x258]
push edx
push 0x5cdc14
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xa
call dword [ecx]
test eax, eax
jns 0x4544e1
xor bl, bl
jmp 0x454720
and dword [ebp - 0x254], 0
xor eax, eax
mov byte [ebp - 4], 0xb
push esi
lea ecx, [ebp - 0x284]
mov word [ebp - 0x284], ax
call fcn.00453f0a
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
lea esi, [ebp - 0x284]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x454541
xor bl, bl
jmp 0x45470c
and dword [ebp - 0x250], 0
mov esi, dword [ebp - 0x254]
lea ecx, [ebp - 0x23c]
push ebx
mov byte [ebp - 4], 0xd
call fcn.00453e6d
mov ecx, dword [esi]
lea edx, [ebp - 0x250]
push edx
push dword [eax]
mov byte [ebp - 4], 0xe
push esi
call dword [ecx + 0x30]
push dword [ebp - 0x23c]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x45458a
xor bl, bl
jmp 0x4546f8
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x244]
push edx
push eax
mov byte [ebp - 4], 0xf
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
js 0x4546e2
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x24c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x4546e2
xor eax, eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x24c], eax
jle 0x4546e2
and dword [ebp - 0x238], 0
push 3
pop ecx
mov word [ebp - 0x284], cx
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x238]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0x11
mov edi, esp
lea esi, [ebp - 0x284]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [ebp - 0x284]
push eax
sets bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
jne 0x454675
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x240]
push edx
push eax
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
call dword [ecx + 0x24]
push dword [ebp - 0x240]
test eax, eax
js 0x45466f
lea ecx, [ebp - 0x230]
call fcn.0043ec1f
test eax, eax
je 0x4546a4
push dword [ebp - 0x240]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x454689
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x24c]
jl 0x4545df
jmp 0x4546d6
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x240]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4546d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x24c]
jge 0x4546e2
mov bl, 1
jmp 0x4546e4
xor bl, bl
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4546f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x45470c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x454720
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 9
test eax, eax
je 0x454738
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x454738
xor bl, bl
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 8
test eax, eax
je 0x454750
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x454750
xor bl, bl
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 7
test eax, eax
je 0x454764
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 6
test eax, eax
je 0x454778
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 5
test eax, eax
je 0x45478c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 4
test eax, eax
je 0x4547a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
jmp 0x4547aa
xor bl, bl
push 3
pop ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x4547ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4547e8
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004208a0
mov al, bl
jmp 0x454801
xor al, al
jmp 0x454801
mov al, 1
call fcn.004b8f84
ret