Function at 0x42d7dc
Capabilities:
Check if file exists

Disassembly:
push 0x298
mov eax, 0x5d921d
call fcn.00447fd9
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
je 0x42ddcc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ddcc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a2e40
add esp, 0xc
test ebx, ebx
jne 0x42d852
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.004a5de6
pop ecx
pop ecx
test eax, eax
je 0x42d852
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 0x42ddc8
cmp dword [ebp - 0x248], 0
je 0x42ddc8
push eax
push dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.0042d419
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x270]
push eax
push 0x5e4838
push 0x17
push ecx
push 0x5e7728
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42d8ce
xor bl, bl
jmp 0x42dda1
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 0x42dd75
test eax, eax
je 0x42dd75
and dword [ebp - 0x26c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x26c]
push edx
push 0x5e76e8
push eax
mov byte [ebp - 4], 5
call dword [ecx]
test eax, eax
jns 0x42d966
xor bl, bl
jmp 0x42dd59
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
push edx
push 0x5e76d8
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
test eax, eax
jns 0x42d993
xor bl, bl
jmp 0x42dd45
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
push edx
push 0x5e7688
push 0x5e76b8
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
test eax, eax
jns 0x42d9c6
xor bl, bl
jmp 0x42dd31
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 0x42dd1b
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x42da03
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 0x5e76c8
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x42dd1b
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x25c]
push edx
push 0x5e7738
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx]
test eax, eax
js 0x42dd03
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x42da66
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 0x42dd03
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x258]
push edx
push 0x5e7748
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xa
call dword [ecx]
test eax, eax
jns 0x42daae
xor bl, bl
jmp 0x42dced
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.0042d4bf
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 0x42db0e
xor bl, bl
jmp 0x42dcd9
and dword [ebp - 0x250], 0
mov esi, dword [ebp - 0x254]
lea ecx, [ebp - 0x23c]
push ebx
mov byte [ebp - 4], 0xd
call fcn.0042d441
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 0x42db57
xor bl, bl
jmp 0x42dcc5
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 0x42dcaf
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 0x42dcaf
xor eax, eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x24c], eax
jle 0x42dcaf
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 0x42dc42
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 0x42dc3c
lea ecx, [ebp - 0x230]
call fcn.00421654
test eax, eax
je 0x42dc71
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 0x42dc56
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 0x42dbac
jmp 0x42dca3
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 0x42dc9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x24c]
jge 0x42dcaf
mov bl, 1
jmp 0x42dcb1
xor bl, bl
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x42dcc5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x42dcd9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x42dced
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 9
test eax, eax
je 0x42dd05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42dd05
xor bl, bl
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 8
test eax, eax
je 0x42dd1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42dd1d
xor bl, bl
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 7
test eax, eax
je 0x42dd31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 6
test eax, eax
je 0x42dd45
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 5
test eax, eax
je 0x42dd59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 4
test eax, eax
je 0x42dd6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
jmp 0x42dd77
xor bl, bl
push 3
pop ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x42dd87
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 0x42ddb5
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401de0
mov al, bl
jmp 0x42ddce
xor al, al
jmp 0x42ddce
mov al, 1
call fcn.00447f83
ret