Function at 0x418ce0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fab01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0xc]
xor edi, edi
test esi, esi
je 0x4193aa
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4193aa
push 0x208
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.004d43f0
add esp, 0xc
lea eax, [ebp - 0x220]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x220]
push 0x5c
push eax
call fcn.004d55b1
add esp, 8
test eax, eax
je 0x418d83
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea esi, [ebp - 0x220]
push 0
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0
push eax
push dword [ebx + 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 0x4193a6
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x4193a6
push eax
xor edx, edx
mov dword [ebp - 0x228], 0
push ecx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], dx
call fcn.00405110
mov dword [ebp - 4], 0
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0x274]
push eax
push 0x51b094
push 0x17
push 0
push 0x513140
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x418e27
mov byte [ebp - 0x239], 0
jmp 0x41937f
mov eax, 3
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b0], ax
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x240], 0
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x274]
push edx
push 1
lea edx, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0
mov ecx, dword [eax]
push edx
push 8
lea edx, [ebp - 0x2a0]
push edx
lea edx, [ebp - 0x2b0]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
mov eax, dword [ebp - 0x240]
js 0x419352
test eax, eax
je 0x419352
mov dword [ebp - 0x270], 0
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 5
mov ecx, dword [eax]
push edx
push 0x513130
push eax
call dword [ecx]
test eax, eax
jns 0x418ed7
mov byte [ebp - 0x239], 0
jmp 0x419336
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
push edx
push 0x513120
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x418f0c
mov byte [ebp - 0x239], 0
jmp 0x419322
mov dword [ebp - 0x268], 0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x268]
mov eax, dword [ebp - 0x26c]
push edx
push 0x5057d0
push 0x505800
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x418f47
mov byte [ebp - 0x239], 0
jmp 0x41930e
mov dword [ebp - 0x264], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 0x268]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x4192f3
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x418f8a
mov dword [ebp - 0x240], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x240]
push edx
push 0x513110
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x4192f3
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x260]
mov eax, dword [ebp - 0x240]
push edx
push 0x505840
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4192d6
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x418ff3
mov dword [ebp - 0x240], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x240]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x4192d6
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x25c]
mov eax, dword [ebp - 0x240]
push edx
push 0x505850
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x419043
mov byte [ebp - 0x239], 0
jmp 0x4192c0
mov dword [ebp - 0x258], 0
xor eax, eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0x288], ax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x4193cc
mov eax, 8
push esi
mov word [ebp - 0x288], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x280], eax
test eax, eax
jne 0x419094
test esi, esi
jne 0x4193d2
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
movups xmm0, xmmword [ebp - 0x288]
push ecx
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x24]
mov esi, eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x4190d9
mov byte [ebp - 0x239], 0
jmp 0x4192ac
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x248]
mov esi, dword [ebp - 0x258]
push edi
call fcn.00418c50
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 0xe
mov ecx, dword [esi]
push edx
push dword [eax]
push esi
call dword [ecx + 0x30]
push dword [ebp - 0x248]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x41912a
mov byte [ebp - 0x239], 0
jmp 0x419298
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 0x254]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
js 0x41927d
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x250]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x41927d
xor edi, edi
cmp dword [ebp - 0x250], edi
jle 0x41927d
nop dword [eax]
mov dword [ebp - 0x244], 0
mov eax, 3
mov dword [ebp - 0x280], edi
mov word [ebp - 0x288], ax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x24c]
movups xmm0, xmmword [ebp - 0x288]
push ecx
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x28]
mov esi, eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x41921f
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x244]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x419202
push dword [ebp - 0x248]
jmp 0x419219
mov esi, dword [ebp - 0x248]
lea ecx, [ebp - 0x238]
push esi
call fcn.004083c0
test al, al
jne 0x419242
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x419233
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp - 0x250]
jl 0x419180
jmp 0x41927d
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x248]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x41926e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x239], 1
cmp edi, dword [ebp - 0x250]
jl 0x419284
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x419298
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4192ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x4192c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4192dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4192dd
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4192fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4192fa
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x41930e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x419322
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x419336
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x41934a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x240]
jmp 0x419359
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 3
test eax, eax
je 0x419367
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2a0]
push eax
call esi
lea eax, [ebp - 0x2b0]
push eax
call esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x274]
test ecx, ecx
je 0x419393
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea ecx, [ebp - 0x238]
call fcn.00405080
mov al, byte [ebp - 0x239]
jmp 0x4193ac
xor al, al
jmp 0x4193ac
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push eax
call fcn.0040a530
mov eax, 0xa
mov dword [ebp - 0x280], 0x8007000e
push 0x8007000e
mov word [ebp - 0x288], ax
call fcn.0040a530
int3