Function at 0x469fa3
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e32f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [esp + 0x70], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 8], ebx
je 0x46a848
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a848
push 0x206
lea eax, [esp + 0xae]
push ebx
push eax
mov word [esp + 0xb4], bx
call fcn.004ef000
add esp, 0xc
push dword [ebp + 8]
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0xa8]
push 0x5c
push eax
call fcn.004efbb1
cmp eax, ebx
pop ecx
pop ecx
je 0x46a049
mov word [eax], bx
add eax, 2
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa8]
mov dword [ebp + 8], eax
push ebx
lea eax, [esp + 0x78]
push eax
push 0x150a
push str.shell32.dll
mov dword [esp + 0x84], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
je 0x46a83e
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
je 0x46a83e
lea esi, [esp + 0x88]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
call fcn.004076f0
mov dword [esp + 0x2bc], ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x542af8
push 0x17
push ebx
push 0x538a0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x46a0fd
mov dword [edi], 0xe
mov byte [esp + 0x2bc], bl
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x46a0e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea esi, [esp + 0x90]
call fcn.0040747b
jmp 0x46a844
push 3
pop esi
mov word [esp + 0x48], si
mov dword [esp + 0x50], ebx
mov word [esp + 0x58], si
mov dword [esp + 0x60], ebx
mov dword [esp + 0xc], ebx
lea edx, [esp + 0xc]
push edx
push 1
lea edx, [esp + 0xac]
push edx
push 8
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x2d0], 4
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0xbc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x46a199
xor esi, esi
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0xc]
inc esi
cmp eax, ebx
mov dword [edi], esi
je 0x46a169
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x58]
push eax
call edi
lea eax, [esp + 0x48]
push eax
call edi
mov byte [esp + 0x2bc], bl
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x46a192
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push esi
jmp 0x46a0ec
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x2c0], 5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x538a1c
push eax
call dword [ecx]
cmp eax, ebx
jge 0x46a207
mov dword [edi], 2
mov byte [esp + 0x2bc], 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46a1d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46a1ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x58]
push eax
call edi
lea eax, [esp + 0x48]
push eax
call edi
jmp 0x46a0d4
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x2c0], 6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x538a2c
push eax
call dword [ecx]
cmp eax, ebx
jge 0x46a247
mov dword [edi], esi
mov byte [esp + 0x2bc], 5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46a1c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a1c2
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x1c]
push edx
push 0x5389ac
mov byte [esp + 0x2c4], 7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0x53898c
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x46a28e
mov dword [edi], 4
mov byte [esp + 0x2bc], 6
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x46a22c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a22c
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2bc], 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x46a2cb
mov dword [edi], 5
mov byte [esp + 0x2bc], 7
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x46a276
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a276
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46a2dd
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x538a3c
push ebx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x46a2fe
mov dword [edi], 6
jmp 0x46a2b3
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2c0], 9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x538a5c
push eax
call dword [ecx]
cmp eax, ebx
jge 0x46a346
mov dword [edi], 7
mov byte [esp + 0x2bc], 8
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x46a2b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a2b3
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46a358
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x46a373
mov dword [edi], 8
jmp 0x46a327
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2c0], 0xa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x538a4c
push eax
call dword [ecx]
cmp eax, ebx
jge 0x46a3bb
mov byte [esp + 0x2bc], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [edi], 9
je 0x46a327
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a327
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x78]
mov byte [esp + 0x2bc], 0xb
push eax
mov word [esp + 0x7c], bx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp + 8]
mov word [esp + 0x7c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x80], eax
jne 0x46a410
cmp dword [ebp + 8], ebx
je 0x46a410
mov eax, 0x8007000e
mov word [esp + 0x78], 0xa
mov dword [esp + 0x80], eax
push eax
call fcn.00405a6c
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x2c0], 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jge 0x46a51e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xa
mov byte [esp + 0x2bc], 0xa
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x46a46b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x46a481
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 8
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x46a497
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 7
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x46a4ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 6
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x46a4c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46a4d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46a4ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46a505
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x58]
push eax
call esi
lea eax, [esp + 0x48]
push eax
call esi
jmp 0x46a0d4
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x6c], ebx
mov byte [esp + 0x2bc], 0xd
mov esi, dword [esp + 0x30]
jne 0x46a5be
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x2c0], 0xe
push dword [esp + 0x2c]
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
push dword [esp + 0x28]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
mov eax, dword [esp + 0x40]
jl 0x46a81a
cmp eax, ebx
je 0x46a81a
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2c0], 0xf
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
cmp eax, ebx
jge 0x46a5de
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xc
mov byte [esp + 0x2bc], 0xd
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x46a5ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 0xb
mov eax, dword [esp + 0x40]
jmp 0x46a82b
push dword [esp + 0x6c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x46a53c
push 0x8007000e
jmp 0x46a40b
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x46a5fc
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xd
jmp 0x46a597
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x28], ebx
jle 0x46a700
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
mov word [esp + 0x78], 3
mov dword [esp + 0x80], eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2c0], 0x11
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [esp + 0x78]
push eax
setl byte [esp + 0x3f]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [esp + 0x3b], bl
jne 0x46a69d
mov dword [esp + 0x44], ebx
mov byte [esp + 0x2bc], 0x12
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
push dword [esp + 0x44]
jl 0x46a697
lea esi, [esp + 0x8c]
call fcn.00409b70
test al, al
pop ecx
jne 0x46a6c7
push dword [esp + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x2bc], 0xf
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46a6b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x70]
jl 0x46a60a
jmp 0x46a6f1
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [esp + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x2bc], 0xf
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46a6f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x28], eax
jge 0x46a700
xor edi, edi
inc edi
jmp 0x46a702
xor edi, edi
mov byte [esp + 0x2bc], 0xd
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x46a718
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 0xb
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x46a72e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 0xa
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x46a744
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x46a75a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 8
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x46a770
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 7
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x46a786
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 6
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x46a79c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46a7b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46a7c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46a7de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x58]
push eax
call esi
lea eax, [esp + 0x48]
push eax
call esi
mov byte [esp + 0x2bc], bl
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x46a807
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea esi, [esp + 0x90]
call fcn.0040747b
mov eax, edi
jmp 0x46a84b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xb
mov byte [esp + 0x2bc], 0xb
cmp eax, ebx
je 0x46a455
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a455
mov dword [edi], 0xf
xor eax, eax
jmp 0x46a84b
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret