Function at 0x42af20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x657114]
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 esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x42b581
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b581
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e37a0
add esp, 0xc
test edi, edi
jne 0x42afb6
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.004e2ab4
add esp, 8
test eax, eax
je 0x42afb6
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea esi, [ebp - 0x218]
push 0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 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 0x42b57d
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x42b57d
push eax
xor edx, edx
mov dword [ebp - 0x21c], 7
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], dx
call fcn.00402650
mov dword [ebp - 4], 0
mov dword [ebp - 0x268], 0
lea eax, [ebp - 0x268]
push eax
push 0x588b40
push 0x17
push 0
push 0x5dbe90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42b055
xor bl, bl
jmp 0x42b55a
mov ebx, 3
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a0], bx
mov word [ebp - 0x290], bx
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x234]
push edx
push 1
lea edx, [ebp - 0x270]
mov dword [ebp - 0x270], 0
mov ecx, dword [eax]
push edx
push 8
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 5
push edx
lea edx, [ebp - 0x2a0]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
mov eax, dword [ebp - 0x234]
js 0x42b532
test eax, eax
je 0x42b532
mov dword [ebp - 0x264], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x264]
push edx
push 0x5dbe50
push eax
mov byte [ebp - 4], 0xa
call dword [ecx]
test eax, eax
jns 0x42b100
xor bl, bl
jmp 0x42b516
mov dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
push edx
push 0x5dbe40
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xe
call dword [ecx]
test eax, eax
jns 0x42b130
xor bl, bl
jmp 0x42b502
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x25c]
push edx
push 0x5dbde0
push 0x5dbe10
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x13
call dword [ecx + 0xc]
test eax, eax
jns 0x42b166
xor bl, bl
jmp 0x42b4ee
mov dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
push edx
push eax
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x42b4d8
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x42b1a9
mov dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x234]
push edx
push 0x5dbe30
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x42b4d8
mov dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x254]
push edx
push 0x5dbea0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x26
call dword [ecx]
test eax, eax
js 0x42b4c0
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x42b212
mov dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x234]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x42b4c0
mov dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x250]
push edx
push 0x5dbeb0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x35
call dword [ecx]
test eax, eax
jns 0x42b25d
xor bl, bl
jmp 0x42b46f
mov dword [ebp - 0x24c], 0
xor eax, eax
mov byte [ebp - 4], 0x3e
push esi
lea ecx, [ebp - 0x280]
mov word [ebp - 0x280], ax
call fcn.0042aa80
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
movups xmm0, xmmword [ebp - 0x280]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0x3f
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x24]
mov esi, eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x42b2c0
xor bl, bl
jmp 0x42b45b
mov dword [ebp - 0x248], 0
mov esi, dword [ebp - 0x24c]
lea ecx, [ebp - 0x23c]
push edi
mov byte [ebp - 4], 0x49
call fcn.0042a980
mov ecx, dword [esi]
lea edx, [ebp - 0x248]
push edx
push dword [eax]
mov byte [ebp - 4], 0x4a
push esi
call dword [ecx + 0x30]
push dword [ebp - 0x23c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call edi
test esi, esi
jns 0x42b30e
xor bl, bl
jmp 0x42b447
mov dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x240]
push edx
push eax
mov byte [ebp - 4], 0x55
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
js 0x42b431
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x244]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x42b431
xor esi, esi
cmp dword [ebp - 0x244], esi
jle 0x42b431
mov dword [ebp - 0x238], 0
mov word [ebp - 0x280], bx
mov dword [ebp - 0x278], esi
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
movups xmm0, xmmword [ebp - 0x280]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0x6d
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x28]
test eax, eax
lea eax, [ebp - 0x280]
push eax
sets bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
je 0x42b3b9
mov byte [ebp - 4], 0x6e
jmp 0x42b40f
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x23c]
push edx
push eax
mov byte [ebp - 4], 0x6f
mov ecx, dword [eax]
call dword [ecx + 0x24]
push dword [ebp - 0x23c]
test eax, eax
jns 0x42b3ec
call edi
mov byte [ebp - 4], 0x70
jmp 0x42b40f
lea eax, [ebp - 0x230]
push eax
call fcn.00416a30
add esp, 8
test al, al
jne 0x42b485
push dword [ebp - 0x23c]
call edi
mov byte [ebp - 4], 0x72
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x42b41f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov ebx, 3
cmp esi, dword [ebp - 0x244]
jl 0x42b360
xor bl, bl
mov eax, dword [ebp - 0x240]
mov byte [ebp - 4], 0x73
test eax, eax
je 0x42b447
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0x74
test eax, eax
je 0x42b45b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x75
test eax, eax
je 0x42b46f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0x76
test eax, eax
je 0x42b4c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42b4c2
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x23c]
call edi
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 0x71
test eax, eax
je 0x42b4ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, dword [ebp - 0x244]
jge 0x42b431
mov bl, 1
jmp 0x42b433
xor bl, bl
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0x77
test eax, eax
je 0x42b4da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42b4da
xor bl, bl
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 0x78
test eax, eax
je 0x42b4ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 0x79
test eax, eax
je 0x42b502
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 0x7a
test eax, eax
je 0x42b516
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 0x7b
test eax, eax
je 0x42b52a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
jmp 0x42b534
xor bl, bl
mov byte [ebp - 4], 0x7c
test eax, eax
je 0x42b542
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x290]
push eax
call esi
lea eax, [ebp - 0x2a0]
push eax
call esi
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 0x7d
test ecx, ecx
je 0x42b56e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea ecx, [ebp - 0x230]
call fcn.004024b0
mov al, bl
jmp 0x42b583
xor al, al
jmp 0x42b583
mov al, 1
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.004682d0
mov esp, ebp
pop ebp
ret