Function at 0x42ceb8
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, 0x4c4b10
call fcn.0043e6b2
mov edi, dword [ebp + 0x234]
mov esi, dword [ebp + 0x238]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], esi
je 0x42d418
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d418
push 0x206
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0043db40
add esp, 0xc
cmp esi, ebx
jne 0x42cf46
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.0043eac6
cmp eax, ebx
pop ecx
pop ecx
je 0x42cf46
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 0x42cfb7
cmp dword [ebp - 0x70], ebx
je 0x42cfb7
push eax
push dword [ebp - 0x70]
lea ecx, [ebp]
call fcn.0042ce61
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4cf5f4
push 0x17
push ebx
push 0x4d02d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42cfbe
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42cfac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a0
xor al, al
jmp 0x42d41a
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 0x42d029
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42d012
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 0x42cf9c
cmp eax, ebx
je 0x42d012
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4d0310
push eax
mov byte [ebp - 4], 5
call dword [ecx]
cmp eax, ebx
jge 0x42d05c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42d057
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x42d004
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4d02c0
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp eax, ebx
jge 0x42d08b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42d046
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d046
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4d0210
push 0x4d01e0
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x42d0c0
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42d078
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d078
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 0x42d0eb
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42d0ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d0ad
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42d0fb
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 0x4d0290
push ebx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jl 0x42d0d8
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4d0280
push eax
mov byte [ebp - 4], 9
call dword [ecx]
cmp eax, ebx
jge 0x42d141
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42d0d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d0d8
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42d151
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 0x42d12e
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x4d0270
push eax
mov byte [ebp - 4], 0xa
call dword [ecx]
cmp eax, ebx
jge 0x42d191
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42d12e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d12e
mov dword [ebp - 0x3c], ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
mov word [ebp - 0x80], bx
call fcn.0042cd75
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 0x42d1e5
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42d17e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d17e
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.0042cd47
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 0x42d22d
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d1d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d1d2
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 0x42d258
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d21a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d21a
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x42d26b
mov eax, dword [ebp - 0x40]
jmp 0x42d248
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x30], ebx
jle 0x42d339
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 0x42d2e8
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 0x42d2e2
lea ecx, [ebp]
call fcn.0040d330
test eax, eax
je 0x42d30a
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 0x42d2f9
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 0x42d277
jmp 0x42d32d
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 0x42d32d
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 0x42d33c
mov byte [ebp - 0x11], bl
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d34d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d35e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42d36f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42d380
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42d391
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42d3a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42d3b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42d3c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42d3d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42d3e6
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 0x42d408
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a0
mov al, byte [ebp - 0x11]
jmp 0x42d41a
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.0043db25
add ebp, 0x228
leave
ret