Function at 0x42cd6f
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x78
mov eax, 0x4c4b77
call fcn.0043e6f2
mov edi, dword [ebp + 0x234]
mov esi, dword [ebp + 0x238]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], esi
je 0x42d2cf
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d2cf
push 0x206
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0043db80
add esp, 0xc
cmp esi, ebx
jne 0x42cdfd
push edi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0x1c]
push 0x5c
push eax
call fcn.0043eb06
cmp eax, ebx
pop ecx
pop ecx
je 0x42cdfd
mov word [eax], bx
add eax, 2
mov dword [ebp - 0x30], eax
lea edi, [ebp + 0x1c]
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x230]
mov dword [ebp - 0x70], ebx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
je 0x42ce6e
cmp dword [ebp - 0x70], ebx
je 0x42ce6e
push eax
push dword [ebp - 0x70]
lea ecx, [ebp]
call fcn.0042cd18
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4cf62c
push 0x17
push ebx
push 0x4d0308
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42ce75
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42ce63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.00401770
xor al, al
jmp 0x42d2d1
mov word [ebp - 0x68], 3
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x58], 3
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 1
lea edx, [ebp - 0x84]
push edx
push 8
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x84], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x3c]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jge 0x42cee0
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42cec9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
jmp 0x42ce53
cmp eax, ebx
je 0x42cec9
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4d0348
push eax
mov byte [ebp - 4], 5
call dword [ecx]
cmp eax, ebx
jge 0x42cf13
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42cf0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x42cebb
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4d02f8
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp eax, ebx
jge 0x42cf42
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42cefd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cefd
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4d0248
push 0x4d0218
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x42cf77
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42cf2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cf2f
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x42cfa2
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42cf64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cf64
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42cfb2
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x4d02c8
push ebx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jl 0x42cf8f
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4d02b8
push eax
mov byte [ebp - 4], 9
call dword [ecx]
cmp eax, ebx
jge 0x42cff8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42cf8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cf8f
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42d008
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x42cfe5
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x4d02a8
push eax
mov byte [ebp - 4], 0xa
call dword [ecx]
cmp eax, ebx
jge 0x42d048
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42cfe5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cfe5
mov dword [ebp - 0x3c], ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
mov word [ebp - 0x80], bx
call fcn.0042cc2c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0xc
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jge 0x42d09c
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42d035
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d035
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0042cbfe
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x44]
push edx
push eax
push esi
mov byte [ebp - 4], 0xe
call dword [ecx + 0x30]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x42d0e4
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d089
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d089
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x58]
cmp eax, ebx
mov eax, dword [ebp - 0x40]
jge 0x42d10f
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d0d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d0d1
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x42d122
mov eax, dword [ebp - 0x40]
jmp 0x42d0ff
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x30], ebx
jle 0x42d1f0
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x30]
mov word [ebp - 0x80], 3
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x11
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [ebp - 0x80]
push eax
setl byte [ebp - 0x11]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 0x11], bl
jne 0x42d19f
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
mov byte [ebp - 4], 0x12
call dword [ecx + 0x24]
test eax, eax
push dword [ebp - 0x48]
jl 0x42d199
lea ecx, [ebp]
call fcn.0040d2f7
test eax, eax
je 0x42d1c1
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x42d1b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x6c]
jl 0x42d12e
jmp 0x42d1e4
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x42d1e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x30], eax
mov byte [ebp - 0x11], 1
jl 0x42d1f3
mov byte [ebp - 0x11], bl
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d204
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d215
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42d226
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42d237
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42d248
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42d259
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42d26a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42d27b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42d28c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42d29d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42d2bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.00401770
mov al, byte [ebp - 0x11]
jmp 0x42d2d1
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 + 0x224]
xor ecx, ebp
call fcn.0043db65
add ebp, 0x228
leave
ret